Skip to content

net: Add support to configure SR-IOV VF queues.

Michael Chan netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Changes in v1 from the cover letter

- Changed the meaning of the min parameters to be strictly the minimum guaranteed value, suggested by Jakub Kicinsky.
- More complete implementation in the bnxt_en driver.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: Add support to configure SR-IOV VF minimum and maximum queues.include/linux/if_link.h include/linux/netdevice.h include/uapi/linux/if_link.h +1 more+48 -33 replies
2/3bnxt_en: Store min/max tx/rx rings for individual VFs.drivers/net/ethernet/broadcom/bnxt/bnxt.h drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c+32 -40 replies
3/3bnxt_en: Implement .ndo_set_vf_queues().drivers/net/ethernet/broadcom/bnxt/bnxt.c drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h+133 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: Add support to configure SR-IOV VF queues.

VF Queue resources are always limited and there is currently no infrastructure to allow the admin. on the host to add or reduce queue resources for any particular VF. This series adds the infrastructure to do that and adds the functionality to the bnxt_en driver.

The "ip link set" command will subsequently be patched to support the new operation.

v1:
- Changed the meaning of the min parameters to be strictly the minimum guaranteed value, suggested by Jakub Kicinsky.
- More complete implementation in the bnxt_en driver.

Michael Chan (3):
net: Add support to configure SR-IOV VF minimum and maximum queues.
bnxt_en: Store min/max tx/rx rings for individual VFs.
bnxt_en: Implement .ndo_set_vf_queues().

 drivers/net/ethernet/broadcom/bnxt/bnxt.c       |   1 +
 drivers/net/ethernet/broadcom/bnxt/bnxt.h       |   9 ++
 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c | 157 +++++++++++++++++++++++-
 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h |   2 +
 include/linux/if_link.h                         |   4 +
 include/linux/netdevice.h                       |   6 +
 include/uapi/linux/if_link.h                    |   9 ++
 net/core/rtnetlink.c                            |  32 ++++-
 8 files changed, 213 insertions(+), 7 deletions(-)
Signature · 1 line
1.8.3.1