From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: SRIOV switchdev mode BoF minutes Date: Wed, 18 Apr 2018 09:26:34 -0700 Message-ID: <20180418092634.13488a33@cakuba.netronome.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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: Andy Gospodarek Return-path: Received: from mail-qt0-f180.google.com ([209.85.216.180]:39996 "EHLO mail-qt0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335AbeDRQ0j (ORCPT ); Wed, 18 Apr 2018 12:26:39 -0400 Received: by mail-qt0-f180.google.com with SMTP id f20-v6so2407663qtp.7 for ; Wed, 18 Apr 2018 09:26:39 -0700 (PDT) In-Reply-To: <20180418151529.GL33938@C02RW35GFVH8.dhcp.broadcom.net> Sender: netdev-owner@vger.kernel.org List-ID: 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?