From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: SRIOV switchdev mode BoF minutes Date: Tue, 17 Apr 2018 16:19:15 -0700 Message-ID: <20180417161915.193c3651@cakuba.netronome.com> References: <20180416123936.GH33938@C02RW35GFVH8.dhcp.broadcom.net> <20180417133028.GI33938@C02RW35GFVH8.dhcp.broadcom.net> <20180417144700.GJ33938@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-qk0-f171.google.com ([209.85.220.171]:43800 "EHLO mail-qk0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751164AbeDQXTU (ORCPT ); Tue, 17 Apr 2018 19:19:20 -0400 Received: by mail-qk0-f171.google.com with SMTP id v2so21852061qkh.10 for ; Tue, 17 Apr 2018 16:19:20 -0700 (PDT) In-Reply-To: <20180417144700.GJ33938@C02RW35GFVH8.dhcp.broadcom.net> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 17 Apr 2018 10:47:00 -0400, Andy Gospodarek wrote: > There is also a school of thought that the VF reps could be > pre-allocated on the SmartNIC so that any application processing that > traffic would sit idle when no traffic arrives on the rep, but could > process frames that do arrive when the VFs were created on the host. > This implementation will depend on how resources are allocated on a > given bit of hardware, but can really work well. +1 if there is no FW resource allocation issues IMHO it's okay to just show all reprs for "remote PCIes (PFs and VFs)" on the SmartNIC/ controller. The reprs should just show link down as if PCIe cable was unpluged until host actually enables them. 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. That makes the thing looks more like a switch with cables being plugged in and out.