netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Or Gerlitz <gerlitz.or@gmail.com>
To: Alexander Duyck <alexander.duyck@gmail.com>
Cc: David Miller <davem@davemloft.net>,
	Anjali Singhai Jain <anjali.singhai@intel.com>,
	Andy Gospodarek <gospo@broadcom.com>,
	Michael Chan <michael.chan@broadcom.com>,
	Simon Horman <simon.horman@netronome.com>,
	Jakub Kicinski <jakub.kicinski@netronome.com>,
	John Fastabend <john.fastabend@gmail.com>,
	Saeed Mahameed <saeedm@mellanox.com>,
	Jiri Pirko <jiri@mellanox.com>, Rony Efraim <ronye@mellanox.com>,
	Linux Netdev List <netdev@vger.kernel.org>
Subject: Re: SRIOV switchdev mode BoF minutes
Date: Thu, 16 Nov 2017 19:41:22 +0200	[thread overview]
Message-ID: <CAJ3xEMi_Dz57H8ekuxFKzCSE9OnYmHULUndOwAKaM_42Nh_Qhw@mail.gmail.com> (raw)
In-Reply-To: <CAKgT0UdbXSsMSD_pLLgPSU5xOGk6Dc-0cAQNQ70LZxkcc6w4Mw@mail.gmail.com>

On Wed, Nov 15, 2017 at 1:05 AM, Alexander Duyck
<alexander.duyck@gmail.com> wrote:
> On Tue, Nov 14, 2017 at 1:50 PM, Or Gerlitz <gerlitz.or@gmail.com> wrote:

>> all dealing with the sriov e-switch as a HW switch which should
>> be programmed
>> by the host stack according to well known industry models that apply
>> on physical switches, e.g
>>
>> 1. L2 FDB (Linux Bridge)
>> 2. L3 FIB (Linux Routers)
>> 3. ACLS (Linux TC)
>>
>> [3] is what implemented by the upstream sriov switchdev drivers, [1] and [2] we
>> discussed on netdev, maybe you want to play with [1] for i40e? I had a slide on
>> that in the BoF

> So for i40e we will probably explore option 1, and possibly option 3
> though as I said we still have to figure out what we can get the
> firmware to actually do for us. That ends up being the ultimate
> limitation.

I think Intel/Linux/sriov wise, it would be good if you put now the
focus on that small
corner of the universe and show support for the new community lead
mode by having
one of your current drivers support that.

FDB support would be great and it will help transition existing legacy
mode users to the switchdev
mode, b/c essentially FDBs is what each driver now configures their HW
from within, where's if
we manage to get a bridge to be offloaded, all what left is systemd
script that creates the VF,
puts the driver into switchdev mode, creates a bridge with the reps,
and that is it!!

I have presented a slide in our BoF re what does it take to support
FDB, here it is:

1. create linux bridge (e.g.1q), assign VF and uplink rep netdevices
to the bridge
2. support the switchdev FDB notifications in the HW driver

learning: respond to SWITCHDEV_FDB_ADD_TO_DEVICE events

aging: respond to SWITCHDEV_FDB_DEL_TO_DEVICE events (del FDB from HW)
enhance the driver/bridge API to allows drivers provide last-use
indications on FDB entries

STP:

fwd      - offload FDBs as explained above
learning - make sure HW flow miss (slow path) goes to CPU
discard  - add drop HW rule

flooding:

use SW based flooding

  parent reply	other threads:[~2017-11-16 17:41 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-12 19:49 SRIOV switchdev mode BoF minutes Or Gerlitz
2017-11-12 20:38 ` Alexander Duyck
2017-11-13  6:16   ` Or Gerlitz
2017-11-13 17:10     ` Alexander Duyck
2017-11-14 16:44       ` Or Gerlitz
2017-11-14 20:00         ` Alexander Duyck
2017-11-14 21:50           ` Or Gerlitz
2017-11-14 23:05             ` Alexander Duyck
2017-11-14 23:36               ` Jakub Kicinski
2017-11-15  3:04                 ` Alexander Duyck
2017-11-15  4:02                   ` Jakub Kicinski
2017-11-15 18:25                     ` Alexander Duyck
2017-11-16 17:41               ` Or Gerlitz [this message]
2017-11-16 18:20                 ` Alexander Duyck
2017-11-14 23:32           ` Jakub Kicinski
2018-04-12 17:05 ` Samudrala, Sridhar
2018-04-12 20:20   ` Or Gerlitz
2018-04-12 20:33     ` Samudrala, Sridhar
2018-04-13  8:56       ` Or Gerlitz
2018-04-13  8:57         ` Or Gerlitz
2018-04-13 16:49           ` Samudrala, Sridhar
2018-04-13 20:16             ` Or Gerlitz
2018-04-13 23:03               ` Samudrala, Sridhar
2018-04-15  6:01                 ` Or Gerlitz
2018-04-16 12:39                   ` Andy Gospodarek
2018-04-17  2:08                     ` Samudrala, Sridhar
2018-04-17 13:30                       ` Andy Gospodarek
2018-04-17 13:58                         ` Or Gerlitz
2018-04-17 14:47                           ` Andy Gospodarek
2018-04-17 16:46                             ` Samudrala, Sridhar
2018-04-17 16:53                               ` Andy Gospodarek
2018-04-17 23:19                             ` Jakub Kicinski
2018-04-18 15:15                               ` Andy Gospodarek
2018-04-18 16:26                                 ` Jakub Kicinski
2018-04-18 17:25                                   ` Andy Gospodarek
2018-04-18 17:07                                 ` Parikh, Neerav

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ3xEMi_Dz57H8ekuxFKzCSE9OnYmHULUndOwAKaM_42Nh_Qhw@mail.gmail.com \
    --to=gerlitz.or@gmail.com \
    --cc=alexander.duyck@gmail.com \
    --cc=anjali.singhai@intel.com \
    --cc=davem@davemloft.net \
    --cc=gospo@broadcom.com \
    --cc=jakub.kicinski@netronome.com \
    --cc=jiri@mellanox.com \
    --cc=john.fastabend@gmail.com \
    --cc=michael.chan@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=ronye@mellanox.com \
    --cc=saeedm@mellanox.com \
    --cc=simon.horman@netronome.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).