netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Samudrala, Sridhar" <sridhar.samudrala@intel.com>
To: Andy Gospodarek <andrew.gospodarek@broadcom.com>,
	Or Gerlitz <gerlitz.or@gmail.com>
Cc: David Miller <davem@davemloft.net>,
	Anjali Singhai Jain <anjali.singhai@intel.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: Tue, 17 Apr 2018 09:46:38 -0700	[thread overview]
Message-ID: <a922a288-f81e-290c-0f44-c7405e664dfe@intel.com> (raw)
In-Reply-To: <20180417144700.GJ33938@C02RW35GFVH8.dhcp.broadcom.net>

On 4/17/2018 7:47 AM, Andy Gospodarek wrote:
> On Tue, Apr 17, 2018 at 04:58:05PM +0300, Or Gerlitz wrote:
>> On Tue, Apr 17, 2018 at 4:30 PM, Andy Gospodarek
>> <andrew.gospodarek@broadcom.com> wrote:
>>> On Mon, Apr 16, 2018 at 07:08:39PM -0700, Samudrala, Sridhar wrote:
>>>> 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
>>>>>> <sridhar.samudrala@intel.com> 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.
>>> That is not the functionality I would propose.  The PF netdev will still be there.
>> Andy,
>>
>> Basically LGTM, so even in smartnic configs, the PF @ the host is
>> still privileged to
>> create/destroy VFs or provision MACs for them even if it is not the
>> e-switch manager
>> anymore?
> Yes, in a SmartNIC world one config we aim to have is that a host can create
> and destroy VFs as needed.  One of the challenges is how the VF reps are
> managed by applications in the SmartNIC when the host could make them
> disappear.

OK. So are we saying that in 'switchdev' mode with 2 VFs and 1 uplink, the host will
see PF netdev, 2 vf-rep netdev's corresponding to 2 VFs and 1 uplink-rep netdev.

Is PF netdev used only for the control/configure of the VFs? If it used as a datapath,
i think we need a pf-rep netdev too.

  reply	other threads:[~2018-04-17 16:46 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
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 [this message]
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=a922a288-f81e-290c-0f44-c7405e664dfe@intel.com \
    --to=sridhar.samudrala@intel.com \
    --cc=andrew.gospodarek@broadcom.com \
    --cc=anjali.singhai@intel.com \
    --cc=davem@davemloft.net \
    --cc=gerlitz.or@gmail.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).