cxgb4: when disabling dcb set txq dcb priority to 0
authorGanesh Goudar <ganeshgr@chelsio.com>
Sat, 23 Jun 2018 14:58:26 +0000 (20:28 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Jun 2018 02:43:16 +0000 (11:43 +0900)
commit5ce36338a30f9814fc4824f9fe6c20cd83d872c7
tree0c9792b83be9abe4d045f3f1f73b922621d274fb
parent35b42da69e35536da603a50e40aa6c41b2f7b0f8
cxgb4: when disabling dcb set txq dcb priority to 0

When we are disabling DCB, store "0" in txq->dcb_prio
since that's used for future TX Work Request "OVLAN_IDX"
values. Setting non zero priority upon disabling DCB
would halt the traffic.

Reported-by: AMG Zollner Robert <robert@cloudmedia.eu>
CC: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c