From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Samudrala, Sridhar" Subject: Re: SRIOV switchdev mode BoF minutes Date: Mon, 16 Apr 2018 19:08:39 -0700 Message-ID: References: <64cca3cd-5592-8210-54c4-ed28c284ae5d@intel.com> <20180416123936.GH33938@C02RW35GFVH8.dhcp.broadcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: David Miller , Anjali Singhai Jain , Michael Chan , Simon Horman , Jakub Kicinski , John Fastabend , Saeed Mahameed , Jiri Pirko , Rony Efraim , Linux Netdev List To: Andy Gospodarek , Or Gerlitz Return-path: Received: from mga02.intel.com ([134.134.136.20]:30997 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752725AbeDQCIl (ORCPT ); Mon, 16 Apr 2018 22:08:41 -0400 In-Reply-To: <20180416123936.GH33938@C02RW35GFVH8.dhcp.broadcom.net> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 4/16/2018 5:39 AM, Andy Gospodarek wrote: > On Sun, Apr 15, 2018 at 09:01:16AM +0300, Or Gerlitz wrote: >> On Sat, Apr 14, 2018 at 2:03 AM, Samudrala, Sridhar >> wrote: >> >>> I meant between PFs on 2 compute nodes. >> If the PF serves as uplink rep, it functions as a switch port -- applications >> don't run on switch ports. One way to get apps to run on the host in switchdev >> mode is probe one of the VFs there. >> >> >> So once a pci device is configured in 'switchdev' mode,  only port representor netdevs are seen on the host, no more PF netdev. Are you going to expose another way to change sriov_num_vfs when the device is in 'switchdev' mode OR do we need to switch to 'legacy' mode to increase/decrease the number of VFs? Even in switchdev mode, i guess it will be possible for host apps to use the IP configured on the uplink rep to talk externally. In case of multiple uplinks, are you exposing one uplink-rep netdev per uplink?