summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
diff options
context:
space:
mode:
authorEddie Wai2018-03-10 05:46:04 +0100
committerDavid S. Miller2018-03-12 15:57:32 +0100
commit6fc2ffdf1001ae4fb485b3ba95ff757ae54565c9 (patch)
treebc9925147fbdde9de6d06ae879b9937237166f77 /drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
parentbnxt_en: Refactor the functions to reserve hardware rings. (diff)
downloadkernel-qcow2-linux-6fc2ffdf1001ae4fb485b3ba95ff757ae54565c9.tar.gz
kernel-qcow2-linux-6fc2ffdf1001ae4fb485b3ba95ff757ae54565c9.tar.xz
kernel-qcow2-linux-6fc2ffdf1001ae4fb485b3ba95ff757ae54565c9.zip
bnxt_en: Fix vnic accounting in the bnxt_check_rings() path.
The number of vnics to check must be determined ahead of time because only standard RX rings require vnics to support RFS. The logic is similar to the ring reservation logic and we can now use the refactored common functions to do most of the work in setting up the firmware message. Fixes: 8f23d638b36b ("bnxt_en: Expand bnxt_check_rings() to check all resources.") Signed-off-by: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c')
0 files changed, 0 insertions, 0 deletions