summaryrefslogtreecommitdiffstats
path: root/include/linux/soc
diff options
context:
space:
mode:
authorHariprasad Shenai <hariprasad@chelsio.com>2016-05-05 11:05:39 +0530
committerDavid S. Miller <davem@davemloft.net>2016-05-07 15:12:54 -0400
commit218d48e701f08a71df57c410e596e30b3285bd25 (patch)
tree1ba722feabd11873d7dc63e4a41a3647b73345af /include/linux/soc
parent5113bfdbc63845402eec7f419204d22283c9cd4c (diff)
downloadblackbird-op-linux-218d48e701f08a71df57c410e596e30b3285bd25.tar.gz
blackbird-op-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
OpenPOWER on IntegriCloud