From: "Samudrala, Sridhar" <sridhar.samudrala@intel.com>
To: Or Gerlitz <gerlitz.or@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, 12 Apr 2018 13:33:41 -0700 [thread overview]
Message-ID: <d1e4cfb4-513e-14d4-9007-25d1b02e8dcd@intel.com> (raw)
In-Reply-To: <CAJ3xEMiP2my8gP+VsvGAFv9Zj=qk2iTr+BYbd=VEtRFwrG_2JA@mail.gmail.com>
On 4/12/2018 1:20 PM, Or Gerlitz wrote:
> On Thu, Apr 12, 2018 at 8:05 PM, Samudrala, Sridhar
> <sridhar.samudrala@intel.com> wrote:
>> On 11/12/2017 11:49 AM, Or Gerlitz wrote:
>>> Hi Dave and all,
>>>
>>> During and after the BoF on SRIOV switchdev mode, we came into a
>>> consensus among the developers from four different HW vendors (CC
>>> audience) that a correct thing to do would be to disallow any new
>>> extensions to the legacy mode.
>>>
>>> The idea is to put focus on the new mode and not add new UAPIs and
>>> kernel code which was turned to be a wrong design which does not allow
>>> for properly offloading a kernel switching SW model to e-switch HW.
>>>
>>> We also had a good session the day after regarding alignment for the
>>> representation model of the uplink (physical port) and PF/s.
>>>
>>> The VF representor netdevs exist for all drivers that support the new
>>> mode but the representation for the uplink and PF wasn't the same for
>>> all. The decision was to represent the uplink and PFs vports in the
>>> same manner done for VFs, using rep netdevs. This alignment would
>>> provide a more strict and clear view of the kernel model for e-switch
>>> to users and upper layer control plane SW.
>>>
>> I don't see any changes in the Mellanox/other drivers to move to this new
>> model to enable the uplink and PF port representors, any updates?
> Yeah, I am worked on that but didn't get to finalize the upstreaming
> so far. I have resumed
> the work and plan uplink rep in mlx5 to replace the PF being uplink rep for 4.18
>
>> It would be really nice to highlight the pros and cons of the old versus the
>> new model.
>>
>> We are looking into adding switchdev support for our new 100Gb ice driver
>> and could use some feedback on the direction we should be taking.
> good news.
>
> The uplink rep is clear cut that needs to be a rep device representing
> the uplink just like vf
> rep represents the vport toward the vf - please just do it correct
> from the begining
>
Having an uplink rep will definitely help implement the slow path with flat/vlan network
scenarios by not having to add PF to the bridge.
But how do they help with a vxlan overlay scenario? In case of overlays, the slow path
has to go via vxlan -> ip stack -> pf?
What about pf-rep?
next prev parent reply other threads:[~2018-04-12 20:33 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
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 [this message]
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=d1e4cfb4-513e-14d4-9007-25d1b02e8dcd@intel.com \
--to=sridhar.samudrala@intel.com \
--cc=anjali.singhai@intel.com \
--cc=davem@davemloft.net \
--cc=gerlitz.or@gmail.com \
--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).