linux/drivers/net/ethernet/intel
Catherine Sullivan e827845c7d i40e/i40evf: Use advertised speed settings in ethtool and refactor get_settings
Add a requested speed variable to the link_status struct to store the
last speeds we requested from the firmware (the speeds the FW will be
advertising with if autoneg is enabled).

Use the advertised speed settings in get_settings in ethtool now that
we have it.  Also set the requested speed settings in set_settings in
ethtool as they are requested and initialize them in probe based on what
the firmware remembers as the last requested speeds.

To accommodate some longer lines in this new code, and improve
readability I have added two functions i40e_get_settings_link_up
and i40e_get_settings_link_down which get_settings now calls first.
It then does all of the settings that happen regardless of link
state. Some PHY types that supported the same settings were also combined.

Also update the copyright year.

Change-ID: Ica0c5ac81b6069ea6a7406fce7482f7816d4455c
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-02-24 20:29:54 -08:00
..
e1000 net: e1000: support txtd update delay via xmit_more 2015-01-22 18:10:23 -08:00
e1000e e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
fm10k fm10k: Resolve compile warnings with W=1 2015-02-05 19:41:51 -08:00
i40e i40e/i40evf: Use advertised speed settings in ethtool and refactor get_settings 2015-02-24 20:29:54 -08:00
i40evf i40e/i40evf: Use advertised speed settings in ethtool and refactor get_settings 2015-02-24 20:29:54 -08:00
igb igb: Indicate failure on vf reset for empty mac address 2015-01-22 18:10:23 -08:00
igbvf igbvf: cleanup msleep() and min/max() usage 2015-02-23 17:11:54 -08:00
ixgb net: rename vlan_tx_* helpers since "tx" is misleading there 2015-01-13 17:51:08 -05:00
ixgbe ixgbe: add Tx anti spoofing support 2015-02-05 19:58:46 -08:00
ixgbevf ixgbevf: combine all of the tasks into a single service task 2015-02-05 19:58:45 -08:00
e100.c e100: fix typo in MDI/MDI-X eeprom check in e100_phy_init 2014-12-31 11:55:40 -08:00
Kconfig ixgbe: add VXLAN offload support for X550 devices 2015-02-05 19:57:49 -08:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00