]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a759b74dd2f04b2ce6c918d00019aee903904ca
tree122d695a5bb59ece370569126fd021b330d17561
parentb7bc480e5c606343d2efa1b8f2b2a186243df105
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