summaryrefslogtreecommitdiffstats
path: root/include/linux/soc
diff options
context:
space:
mode:
authorHariprasad Shenai2016-05-05 07:35:39 +0200
committerDavid S. Miller2016-05-07 21:12:54 +0200
commit218d48e701f08a71df57c410e596e30b3285bd25 (patch)
tree1ba722feabd11873d7dc63e4a41a3647b73345af /include/linux/soc
parentmlxsw: spectrum: Fix ordering in mlxsw_sp_fini (diff)
downloadkernel-qcow2-linux-218d48e701f08a71df57c410e596e30b3285bd25.tar.gz
kernel-qcow2-linux-218d48e701f08a71df57c410e596e30b3285bd25.tar.xz
kernel-qcow2-linux-218d48e701f08a71df57c410e596e30b3285bd25.zip
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>
Diffstat (limited to 'include/linux/soc')
0 files changed, 0 insertions, 0 deletions