linux/drivers/net/ethernet/chelsio
Hariprasad Shenai 218d48e701 cxgb4: Reset dcb state machine and tx queue prio only if dcb is enabled
When cxgb4 is enabled with CONFIG_CHELSIO_T4_DCB set, VI enable command
gets called with DCB enabled. But when we have a back to back setup with
DCB enabled on one side and non-DCB on the Peer side. Firmware doesn't
send any DCB_L2_CFG, and DCB priority is never set for Tx queue.
But driver resets the queue priority and state machine whenever there
is a link down, this patch fixes it by adding a check to reset only if
cxgb4_dcb_enabled() returns true.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-07 15:12:54 -04:00
..
cxgb drivers: net: remove NETDEV_TX_LOCKED 2016-04-26 15:53:05 -04:00
cxgb3 cxgb3: fix out of bounds read 2016-05-01 20:59:43 -04:00
cxgb4 cxgb4: Reset dcb state machine and tx queue prio only if dcb is enabled 2016-05-07 15:12:54 -04:00
cxgb4vf treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
Kconfig cxgb4: update Kconfig and Makefile 2016-03-22 00:25:06 -07:00
Makefile