From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Gospodarek Subject: Re: SRIOV switchdev mode BoF minutes Date: Wed, 18 Apr 2018 13:25:38 -0400 Message-ID: <20180418172538.GM33938@C02RW35GFVH8.dhcp.broadcom.net> References: <20180416123936.GH33938@C02RW35GFVH8.dhcp.broadcom.net> <20180417133028.GI33938@C02RW35GFVH8.dhcp.broadcom.net> <20180417144700.GJ33938@C02RW35GFVH8.dhcp.broadcom.net> <20180417161915.193c3651@cakuba.netronome.com> <20180418151529.GL33938@C02RW35GFVH8.dhcp.broadcom.net> <20180418092634.13488a33@cakuba.netronome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andy Gospodarek , Or Gerlitz , "Samudrala, Sridhar" , David Miller , Anjali Singhai Jain , Michael Chan , Simon Horman , John Fastabend , Saeed Mahameed , Jiri Pirko , Rony Efraim , Linux Netdev List To: Jakub Kicinski Return-path: Received: from mail-qk0-f182.google.com ([209.85.220.182]:38156 "EHLO mail-qk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752093AbeDRRYz (ORCPT ); Wed, 18 Apr 2018 13:24:55 -0400 Received: by mail-qk0-f182.google.com with SMTP id b39so2569341qkb.5 for ; Wed, 18 Apr 2018 10:24:55 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20180418092634.13488a33@cakuba.netronome.com> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, Apr 18, 2018 at 09:26:34AM -0700, Jakub Kicinski wrote: > On Wed, 18 Apr 2018 11:15:29 -0400, Andy Gospodarek wrote: > > > A similar issue exists on multi-host for PFs, right? If one of the > > > hosts is down do we still show their PF repr? IMHO yes. > > > > I would agree with that as well. With today's model the VF reps are > > created once a PF is put into switchdev mode, but I'm still working out > > how we want to consider whether or not a PF rep for the other domains is > > created locally or not and also how one can determine which domain is in > > control. > > > > Permanent config options (like NVRAM settings) could easily handle which > > domain is in control, but that still does not mean that PF reps must be > > created automatically, does it? > > The control domain is tricky. I'm not sure I understand how you could > not have a PF rep for remote domains, though. How do you configure > switching to the PF netdev if there is no rep? Yes, for complete control of all traffic using standard Linux APIs a PF rep is a requirement.