]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Don't set ETS on unused TCs.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 16 Dec 2018 23:46:27 +0000 (18:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2018 07:08:53 +0000 (23:08 -0800)
commitda076ea957b077a53a1a82e8d7be37fcdf9e3d20
tree8010f47bde35d6db4fc2a8a5ade3aac5492401da
parent9c1b0ca9dde24b053eef1bcc635a46aeb07e2bea
bnxt_en: Don't set ETS on unused TCs.

Currently, the code allows ETS bandwidth weight 0 to be set on unused TCs.
We should not set any DCB parameters on unused TCs at all.

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