summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
diff options
context:
space:
mode:
authorMichael Chan2018-03-10 05:46:07 +0100
committerDavid S. Miller2018-03-12 15:57:51 +0100
commit832aed16ce7af2a43dafe9d4bc9080322e042cde (patch)
treed092b78c87fafb62066bcd8fe2971412c95baa0c /drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
parentbnxt_en: Pass complete VLAN TCI to the stack. (diff)
downloadkernel-qcow2-linux-832aed16ce7af2a43dafe9d4bc9080322e042cde.tar.gz
kernel-qcow2-linux-832aed16ce7af2a43dafe9d4bc9080322e042cde.tar.xz
kernel-qcow2-linux-832aed16ce7af2a43dafe9d4bc9080322e042cde.zip
bnxt_en: Fix regressions when setting up MQPRIO TX rings.
Recent changes added the bnxt_init_int_mode() call in the driver's open path whenever ring reservations are changed. This call was previously only called in the probe path. In the open path, if MQPRIO TC has been setup, the bnxt_init_int_mode() call would reset and mess up the MQPRIO per TC rings. Fix it by not re-initilizing bp->tx_nr_rings_per_tc in bnxt_init_int_mode(). Instead, initialize it in the probe path only after the bnxt_init_int_mode() call. Fixes: 674f50a5b026 ("bnxt_en: Implement new method to reserve rings.") 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