linux/drivers/net/ethernet/chelsio/cxgb4
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
..
Makefile cxgb4: update Kconfig and Makefile 2016-03-22 00:25:06 -07:00
clip_tbl.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-01-06 22:54:18 -05:00
clip_tbl.h cxgb4: Fix incorrect 'c' suffix to %pI4, use %pISc instead 2015-02-20 17:25:52 -05:00
cxgb4.h cxgb4: Add support to enable logging of firmware mailbox commands 2016-04-29 13:41:46 -04:00
cxgb4_dcb.c cxgb4: DCB message handler needs to use correct portid to netdev mapping 2016-04-26 13:23:57 -04:00
cxgb4_dcb.h cxgb4 : Improve IEEE DCBx support, other minor open-lldp fixes 2015-02-02 18:54:35 -08:00
cxgb4_debugfs.c cxgb4: Add support to enable logging of firmware mailbox commands 2016-04-29 13:41:46 -04:00
cxgb4_debugfs.h VFS: Fix up some ->d_inode accesses in the chelsio driver 2015-04-15 15:06:54 -04:00
cxgb4_ethtool.c cxgb4: Pass correct argument to t4_link_l1cfg() 2015-12-23 22:34:44 -05:00
cxgb4_fcoe.c cxgb4: fix boolreturn.cocci warnings 2015-03-29 12:15:56 -07:00
cxgb4_fcoe.h cxgb4: add cxgb4_fcoe.h and macro definitions for FCoE 2015-03-24 15:24:38 -04:00
cxgb4_main.c cxgb4: Reset dcb state machine and tx queue prio only if dcb is enabled 2016-05-07 15:12:54 -04:00
cxgb4_ppm.c cxgb4: add iSCSI DDP page pod manager 2016-03-22 00:25:05 -07:00
cxgb4_ppm.h cxgb4: add iSCSI DDP page pod manager 2016-03-22 00:25:05 -07:00
cxgb4_uld.h cxgb4: update struct cxgb4_lld_info definition 2016-03-22 00:25:04 -07:00
l2t.c cxgb4: move VLAN_NONE macro definition 2016-03-22 00:25:05 -07:00
l2t.h cxgb4: move VLAN_NONE macro definition 2016-03-22 00:25:05 -07:00
sge.c cxgb4: Avoids race and deadlock while freeing tx descriptor 2016-04-26 13:23:57 -04:00
t4_chip_type.h cxgb4: T6 adapter lld support for iw_cxgb4 driver 2015-10-21 23:16:38 -04:00
t4_hw.c cxgb4: Check for firmware errors in the mailbox command loop 2016-05-04 13:59:27 -04:00
t4_hw.h cxgb4: add new routine to get adapter info 2016-04-26 13:23:56 -04:00
t4_msg.h Merge branch 'for-next-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2016-03-23 15:57:39 -07:00
t4_pci_id_tbl.h cxgb4: Add pci device id for chelsio t520-cr adapter 2016-04-06 14:21:20 -04:00
t4_regs.h cxgb4: Update mps_tcam output to include T6 fields 2015-12-23 22:34:45 -05:00
t4_values.h cxgb4/cxgb4vf: For T6 adapter, set FBMIN to 64 bytes 2016-03-02 14:46:29 -05:00
t4fw_api.h cxgb4: Decode link down reason code obtained from firmware 2016-04-26 13:23:58 -04:00
t4fw_version.h cxgb4: changes for new firmware 1.14.4.0 2015-09-09 21:30:18 -07:00