linux-hardened/drivers/net/ethernet/intel
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
..
e1000 intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
e1000e intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
igb intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
igbvf intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
ixgb intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
ixgbe ixgbe: driver fix for link flap 2012-04-03 15:24:57 -07:00
ixgbevf intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
e100.c e100: Show short v/s long rx length errors in ethtool stats. 2012-03-02 18:09:27 -08:00
Kconfig i825xx:xscale:8390:freescale: Fix Kconfig dependancies 2011-11-04 17:41:20 -04:00
Makefile