bnxt_en: Assign more RSS context resources to the VFs.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 24 Nov 2019 03:30:45 +0000 (22:30 -0500)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sun, 24 Nov 2019 22:48:02 +0000 (14:48 -0800)
commit1acefc9aedb3179fc9add0a21fa62c0aca08efc4
tree122d695a5bb59ece370569126fd021b330d17561
parent3be8136ce14ea12c7b40f7ad20a5ff8aec339289
bnxt_en: Assign more RSS context resources to the VFs.

The driver currently only assignes 1 RSS context to each VF.  This works
for the Linux VF driver.  But other drivers, such as DPDK, can make use
of additional RSS contexts.  Modify the code to divide up and assign
RSS contexts to VFs just like other resources.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c