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: Mon, 13 Nov 2017 08:16:44 +0200 [thread overview]
Message-ID: <CAJ3xEMjn+HOW7b_Kb1OwrYwOSaj5ABGrWvs3NLxRMZYoUNoTbA@mail.gmail.com> (raw)
In-Reply-To: <CAKgT0Ue9neK_p704JJcQPJhCK+GrHpBjmgQsSwA5HzNuVjuT9w@mail.gmail.com>
On Sun, Nov 12, 2017 at 10:38 PM, Alexander Duyck
<alexander.duyck@gmail.com> wrote:
> On Sun, Nov 12, 2017 at 11:49 AM, Or Gerlitz <gerlitz.or@gmail.com> 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.
> You may not recall but we tried to transition the i40e driver over to
> SwitchDev, the parts supported by i40e have a much more robust l2
> forwarding framework than the 82599, and the result was we were told
> that while we might look at doing port representors some other way,
> there was no way we could use switchdev since the hardware couldn't
> support the requirements of switchdev in terms of default routes and
> forwarding behavior. I am planning to resolve the port representor
> issue by looking at coming up with something like a "source mode"
> macvlan based port representor. I figure that is probably the closest
> match for what the Intel hardware does since really the VFs are
> nothing more than a physical macvlan interface in and of themselves as
> the hardware doesn't have a full switch.
Hi Alex,
The what we call slow path requirements are the following:
1. xmit on VF rep always turns to a receive on the VF, regardless of
the offloaded
SW steering rules ("send-to-vport")
2. xmit on VF which doesn't meet any offloaded SW steering rules must
be recieved
into the host OS from the VF rep
1,2 above must hold also for the uplink and the PF reps
When the i40e limitation was described to @ netdev, it seems you have a problem
with VF xmit that should be turned to be a recv on the VF rep but also
goes to the wire.
It smells as if a FW patch can solve that, isn't that?
> I would have to disagree with this. For devices such as 82599 that
> doesn't have a true switch this may limit future functionality since
> we can't move it over to switchdev mode. For example one thing I may
> need to add is the ability to disable multicast and broadcast receive
> on a per-VF basis at some point in the future.
We are on the same boat with ConnectX3/mlx4, so us lucky that misery loves
company (my google search also yielded "many narrow-half consolation" is that
completely unrelated?) - the legacy mode for ixgbe/mlx4 is there for ~8-10 years
- and since then both companies had 2-3 newer HW generations. I don't see why
you can't come to your customers and tell that newish functionality needs newer
HW - it will also help sell more from the new stuff.. If you keep
extending the legacy
mode, more ppl/drivers will do that as well and it will not let us go
in the right direction.
Or.
next prev parent reply other threads:[~2017-11-13 6:16 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 [this message]
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
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=CAJ3xEMjn+HOW7b_Kb1OwrYwOSaj5ABGrWvs3NLxRMZYoUNoTbA@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).