mirror_ubuntu-kernels/drivers/net/ethernet/intel
Jacob Keller ee98b577e7 ixgbe: fix ixgbe_setup_mac_link_82599 autoc variables
This patch fixes flow control autonegotiation for KR/KX/K4 interfaces.
When setting up MAC link, the cached autoc value and current autoc value
were being incorrectly used to determine whether link reset is required.
This resulted in the driver ignoring and discarding flow control
negotiation changes that occur since the caching happened, as well as
when the mac was being setup.

This patch also splits the assignments for the 3 autoc variables into
their own block, and adds a comment explaining what each one means, in
order to help keep logic more straightforward while reading the code.

CC: Arun Sharma <asharma@fb.com>
Reported-by: Sourav Chatterjee <sourav.chatterjee@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-03-20 00:04:40 -07:00
..
e1000 drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
e1000e e1000e: Fix Explicitly set Transmit Control Register 2014-03-19 17:17:23 -07:00
i40e i40e/i40evf: Bump build versions 2014-03-19 17:17:22 -07:00
i40evf i40e/i40evf: Bump build versions 2014-03-19 17:17:22 -07:00
igb igb: Convert uses of __constant_<foo> to <foo> 2014-03-19 22:18:48 -07:00
igbvf igbvf: Convert uses of __constant_<foo> to <foo> 2014-03-19 22:25:38 -07:00
ixgb ixgb: Call dev_kfree_skby_any instead of dev_kfree_skb. 2014-03-12 16:22:13 -04:00
ixgbe ixgbe: fix ixgbe_setup_mac_link_82599 autoc variables 2014-03-20 00:04:40 -07:00
ixgbevf ixgbevf: Convert uses of __constant_<foo> to <foo> 2014-03-19 22:54:22 -07:00
e100.c e100: Convert uses of __constant_<foo> to <foo> 2014-03-19 21:46:36 -07:00
Kconfig i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00
Makefile i40evf: add driver to kernel build system 2013-12-31 16:27:49 -08:00