linux/drivers/net/ethernet/intel/ixgbe
Multanen, Eric W aacc1bea19 ixgbe: driver fix for link flap
Fix up code so that changes in DCB settings
are detected only when ixgbe_dcbnl_set_all is called.
Previously, a series of 'change' commands followed by
a call to ixgbe_dcbnl_set_all() would always be handled
as a HW change - even if the net change was zero.
This patch checks for this case of no actual change and
skips going through the HW set process.

Without this fix, the link could reset and result in
a link flap.

The core change in this patch is to check for changes
in the ixgbe_copy_dcb_cfg() routine - and return
a bitmask of detected changes.  The other
places where changes were detected previously can be removed.

Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-04-03 15:24:57 -07:00
..
ixgbe_82598.c ixgbe: Do not disable read relaxed ordering when DCA is enabled 2012-03-14 00:30:17 -07:00
ixgbe_82599.c ixgbe: Fix race condition where RX buffer could become corrupted. 2012-03-14 00:47:42 -07:00
ixgbe_common.c ixgbe: Fix issues with SR-IOV loopback when flow control is disabled 2012-03-19 17:37:21 -04:00
ixgbe_common.h ixgbe: Fix race condition where RX buffer could become corrupted. 2012-03-14 00:47:42 -07:00
ixgbe_dcb_82598.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82598.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82599.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82599.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_nl.c ixgbe: driver fix for link flap 2012-04-03 15:24:57 -07:00
ixgbe_dcb.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_ethtool.c ixgbe: Correct flag values set by ixgbe_fix_features 2012-03-19 13:43:34 -07:00
ixgbe_fcoe.c ixgbe: Store Tx flags and protocol information to tx_buffer sooner 2012-03-19 01:38:42 -07:00
ixgbe_fcoe.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_lib.c ixgbe: fix namespace issues when FCoE/DCB is not enabled 2012-03-19 13:59:11 -07:00
ixgbe_main.c ixgbe: update version number 2012-03-27 23:46:28 -07:00
ixgbe_mbx.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_mbx.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_phy.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-04 16:39:32 -05:00
ixgbe_phy.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_sriov.c drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
ixgbe_sriov.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_type.h ixgbe: Fix race condition where RX buffer could become corrupted. 2012-03-14 00:47:42 -07:00
ixgbe_x540.c ixgbe: Fix race condition where RX buffer could become corrupted. 2012-03-14 00:47:42 -07:00
ixgbe.h ixgbe: fix typo in enumeration name 2012-03-27 23:34:54 -07:00
Makefile ixgbe: fix namespace issues when FCoE/DCB is not enabled 2012-03-19 13:59:11 -07:00