Skip to content

devlink: expose port function commands to assign VFs to multiple devlink

Simon Horman netdev oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2devlink: expose port function commands to assign VFs to multiple netdevsDocumentation/networking/devlink/devlink-port.rst include/net/devlink.h include/uapi/linux/devlink.h +1 more+111 -021 replies
2/2nfp: add support for assigning VFs to different physical portsdrivers/net/ethernet/netronome/nfp/nfp_devlink.c drivers/net/ethernet/netronome/nfp/nfp_main.c drivers/net/ethernet/netronome/nfp/nfp_main.h +2 more+225 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.30.2