]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Fix ring arithmetic in bnxt_setup_tc().
authorMichael Chan <michael.chan@broadcom.com>
Fri, 11 Nov 2016 05:11:42 +0000 (00:11 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Nov 2016 17:37:31 +0000 (12:37 -0500)
commit17b044276681b0650b5085177ba2e0cb2bb9f76e
tree147563c3fa4c932bcf83445534458f7a37fb962a
parent0a13dfccfcbded7ba413def860a1e496f19067a7
bnxt_en: Fix ring arithmetic in bnxt_setup_tc().

The logic is missing the check on whether the tx and rx rings are sharing
completion rings or not.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c