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)
commit24654f095ed68eafcdfdbfccbe6324ad1475c1bb
tree8010f47bde35d6db4fc2a8a5ade3aac5492401da
parente37fed790335631c57477e7bee952a039ccb7a50
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