From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F4D0C43331 for ; Fri, 27 Mar 2020 20:59:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E5F782073E for ; Fri, 27 Mar 2020 20:59:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585342773; bh=uEzsS3oNREwJM8i+8B59WhSwRyezZLTRaLoDPECGNzc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=d5hZ25uVD7JuWDeSWlK13drnYLtTDhqxw3YALBqI1Gj3uvF3ao7ZHmy/4rlvqlj6+ VPVrfLkPzUTrylzMMJDpPffL6s93iYIwKAtUGtCtRHdfoRCeNDT8sJQVa3MFHgltCB qzEm35tdsiEJR7t7XqDiIqnYGEO5JgXmizypGnSY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727541AbgC0U7b (ORCPT ); Fri, 27 Mar 2020 16:59:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:51872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727322AbgC0U7b (ORCPT ); Fri, 27 Mar 2020 16:59:31 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DAE3F20658; Fri, 27 Mar 2020 20:59:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585342771; bh=uEzsS3oNREwJM8i+8B59WhSwRyezZLTRaLoDPECGNzc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KgjTzZOYQCC1K3iNlFbGHzIWE9oNO38lN5yruAwH7rxTPdxGMbjAFIABRnq6ErDxR 5D7JNVinoSuHni6UqxttNbhNDssYze9hq1w0cKMs3QUQ+9PYFx2l8VRDQTFy1KwOKE u889YZgd3NFgXkxJfWX/fjqpb1VwgCRqAbE+DmfY= Date: Fri, 27 Mar 2020 13:59:28 -0700 From: Jakub Kicinski To: "Samudrala, Sridhar" Cc: Saeed Mahameed , Aya Levin , "andrew.gospodarek@broadcom.com" , "sburla@marvell.com" , "jiri@resnulli.us" , Tariq Toukan , "davem@davemloft.net" , "netdev@vger.kernel.org" , Vlad Buslov , "lihong.yang@intel.com" , Ido Schimmel , "jgg@ziepe.ca" , "fmanlunas@marvell.com" , "oss-drivers@netronome.com" , "leon@kernel.org" , Parav Pandit , "grygorii.strashko@ti.com" , "michael.chan@broadcom.com" , Alex Vesker , "snelson@pensando.io" , "linyunsheng@huawei.com" , "magnus.karlsson@intel.com" , "dchickles@marvell.com" , "jacob.e.keller@intel.com" , Moshe Shemesh , Mark Zhang , "aelior@marvell.com" , Yuval Avnery , "drivers@pensando.io" , mlxsw , "GR-everest-linux-l2@marvell.com" , Yevgeny Kliteynik , "vikas.gupta@broadcom.com" , Eran Ben Elisha Subject: Re: [RFC] current devlink extension plan for NICs Message-ID: <20200327135928.344e45b6@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <22e86150-925f-0229-3d54-a7d82d504835@intel.com> References: <20200319192719.GD11304@nanopsycho.orion> <20200319203253.73cca739@kicinski-fedora-PC1C0HJN> <20200320073555.GE11304@nanopsycho.orion> <20200320142508.31ff70f3@kicinski-fedora-PC1C0HJN> <20200321093525.GJ11304@nanopsycho.orion> <20200323122123.2a3ff20f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20200326144709.GW11304@nanopsycho.orion> <20200326145146.GX11304@nanopsycho.orion> <20200326133001.1b2694c9@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20200327074736.GJ11304@nanopsycho.orion> <20200327093829.76140a98@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20200327121010.3e987488@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <22e86150-925f-0229-3d54-a7d82d504835@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, 27 Mar 2020 13:47:44 -0700 Samudrala, Sridhar wrote: > >> But the sub-functions are just a subset of slices, PF and VFs also > >> have a slice associated with them.. And all those things have a port, > >> too. > >> > > > > PFs/VFs, might have more than one port sometimes .. > > Yes. When the uplink ports are in a LAG, then a PF/VF/slice should be > able to send or receive from more than 1 port. So that's a little simpler to what I was considering, in mlx4 and older nfps we have 1 PCI PF for multi-port devices. There is only one PF with multiple BAR regions corresponding to different device ports. So you can still address fully independently the pipelines for two ports, but they are "mapped" in the same PCI PF.