netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC net-next 0/2] devlink: expose port function commands to assign VFs to multiple devlink
@ 2023-02-06 15:36 Simon Horman
  2023-02-06 15:36 ` [PATCH/RFC net-next 1/2] devlink: expose port function commands to assign VFs to multiple netdevs Simon Horman
  2023-02-06 15:36 ` [PATCH/RFC net-next 2/2] nfp: add support for assigning VFs to different physical ports Simon Horman
  0 siblings, 2 replies; 24+ messages in thread
From: Simon Horman @ 2023-02-06 15:36 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, Paolo Abeni
  Cc: Michael Chan, Andy Gospodarek, Gal Pressman, Saeed Mahameed,
	Jesse Brandeburg, Tony Nguyen, Edward Cree, Vladimir Oltean,
	Andrew Lunn, Fei Qin, netdev, oss-drivers

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


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2023-02-10  9:45 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-06 15:36 [PATCH/RFC net-next 0/2] devlink: expose port function commands to assign VFs to multiple devlink Simon Horman
2023-02-06 15:36 ` [PATCH/RFC net-next 1/2] devlink: expose port function commands to assign VFs to multiple netdevs Simon Horman
2023-02-07  2:42   ` Jakub Kicinski
2023-02-08 10:38     ` Simon Horman
2023-02-08 11:21     ` Leon Romanovsky
2023-02-08 11:36       ` Simon Horman
2023-02-08 11:41         ` Jiri Pirko
2023-02-08 12:09           ` Simon Horman
2023-02-08 11:53         ` Leon Romanovsky
2023-02-08 12:05           ` Simon Horman
2023-02-08 21:37             ` Saeed Mahameed
2023-02-08 23:35               ` Jakub Kicinski
2023-02-09  0:55                 ` Saeed Mahameed
2023-02-09  2:20                   ` Yinjun Zhang
2023-02-09 15:15                     ` Jiri Pirko
2023-02-10  2:14                       ` Yinjun Zhang
2023-02-10  3:30                         ` Jakub Kicinski
2023-02-10  9:45                         ` Jiri Pirko
2023-02-08 11:40   ` Jiri Pirko
2023-02-08 12:07     ` Simon Horman
2023-02-08 12:34       ` Jiri Pirko
2023-02-08 12:37         ` Simon Horman
2023-02-08 23:41         ` Jakub Kicinski
2023-02-06 15:36 ` [PATCH/RFC net-next 2/2] nfp: add support for assigning VFs to different physical ports Simon Horman

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).