summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000e/e1000.h
diff options
context:
space:
mode:
authorMultanen, Eric W <eric.w.multanen@intel.com>2012-03-28 07:49:09 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-04-03 15:24:57 -0700
commitaacc1bea190d731755a65cb8ec31dd756f4e263e (patch)
treed33b3e8e8d813ed429e63557ecee7b8485c386b1 /drivers/net/ethernet/intel/e1000e/e1000.h
parent01627d968c8b5e2810fe8c417b406b968297c236 (diff)
downloadop-kernel-dev-aacc1bea190d731755a65cb8ec31dd756f4e263e.zip
op-kernel-dev-aacc1bea190d731755a65cb8ec31dd756f4e263e.tar.gz
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>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/e1000.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud