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 RFC 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. 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 | 5 ++ drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c | 90 +++++++++++++++++++++++-- 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 | 28 +++++++- 8 files changed, 138 insertions(+), 7 deletions(-) -- 1.8.3.1