[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230206153603.2801791-1-simon.horman@corigine.com>
Date: Mon, 6 Feb 2023 16:36:01 +0100
From: Simon Horman <simon.horman@...igine.com>
To: David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Michael Chan <michael.chan@...adcom.com>,
Andy Gospodarek <andy@...yhouse.net>,
Gal Pressman <gal@...dia.com>,
Saeed Mahameed <saeed@...nel.org>,
Jesse Brandeburg <jesse.brandeburg@...el.com>,
Tony Nguyen <anthony.l.nguyen@...el.com>,
Edward Cree <ecree.xilinx@...il.com>,
Vladimir Oltean <vladimir.oltean@....com>,
Andrew Lunn <andrew@...n.ch>, Fei Qin <fei.qin@...igine.com>,
netdev@...r.kernel.org, oss-drivers@...igine.com
Subject: [PATCH/RFC net-next 0/2] devlink: expose port function commands to assign VFs to multiple devlink
Hi,
this series proposed a new devlink port function to allow control over
how many VFs are associated with each physical port of a multi-port NIC.
This is to facilitate such configuration on NICs where this can
be supported.
Patch 1/2: Implements this new devlink feature
Patch 2/2: Uses it in the nfp driver
Fei Qin (2):
devlink: expose port function commands to assign VFs to multiple
netdevs
nfp: add support for assigning VFs to different physical ports
.../networking/devlink/devlink-port.rst | 24 +++
.../net/ethernet/netronome/nfp/nfp_devlink.c | 71 +++++++++
drivers/net/ethernet/netronome/nfp/nfp_main.c | 5 +
drivers/net/ethernet/netronome/nfp/nfp_main.h | 4 +
.../ethernet/netronome/nfp/nfp_net_sriov.c | 147 +++++++++++++++++-
.../ethernet/netronome/nfp/nfp_net_sriov.h | 6 +
include/net/devlink.h | 21 +++
include/uapi/linux/devlink.h | 1 +
net/devlink/leftover.c | 65 ++++++++
9 files changed, 336 insertions(+), 8 deletions(-)
--
2.30.2
Powered by blists - more mailing lists