linux/drivers/net/ethernet/intel
David Ertman ea6acb7ef7 i40e: Fix configure TCs after initial DCB disable
in commit a036244c06 a fix
was put into place to avoid a kernel panic when a non-
supported traffic class configuration was put into place
and then lldp was enabled/disabled on the link partner
switch.  This fix caused it to be necessary to
unload/reload the driver to reenable DCB once a supported
TC config was in place.

The root cause of the original panic was that the function
i40e_pf_get_default_tc was allowing for a default TC other
than TC 0, and only TC 0 is supported as a default.

This patch removes the get_default_tc function and replaces
it with a #define since there is only one TC supported as
a default.

Change-Id: I448371974e946386d0a7718d73668b450b7c72ef
Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Ronald Bynoe <ronald.j.bynoe@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-10-27 14:08:56 -07:00
..
e1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-04-09 17:41:41 -04:00
e1000e ptp_clock: future-proofing drivers against PTP subsystem becoming optional 2016-09-22 02:18:33 -04:00
fm10k fm10k: wrap long line for alloc_workqueue 2016-10-02 23:17:38 -07:00
i40e i40e: Fix configure TCs after initial DCB disable 2016-10-27 14:08:56 -07:00
i40evf i40evf: support queue-specific settings for interrupt moderation 2016-09-24 22:50:23 -07:00
igb igb: restore PPS signal on igb_ptp_reset 2016-09-27 19:00:52 -07:00
igbvf igbvf: bump version to igbvf-2.4.0 2016-09-27 19:00:52 -07:00
ixgb drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
ixgbe ixgbe: fix panic when using macvlan with l2-fwd-offload enabled 2016-10-27 14:07:21 -07:00
ixgbevf ixgbevf: add spinlocks for MTU change calls 2016-09-23 00:16:34 -07:00
e100.c e100: Release skb when DMA mapping is failed in e100_xmit_prepare 2015-08-18 14:06:05 -07:00
Kconfig ixgbe: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port 2016-06-17 20:23:30 -07:00
Makefile