linux_dsm_epyc7002/drivers/net/ethernet/intel
Catherine Sullivan 0a862b43ac i40e/i40evf: Add module_types and update_link_info
Add a module_types variable to the link_info struct to save the module
information from get_phy_capabilities. This information can be used to
determine which speeds the module supports.

Also add a new function update_link_info which updates the module_types
parameter and then calls get_link_info. This function should be called
in place of get_link_info so that the module_types variable stays
up-to-date with the rest of the link information.

The EAS table does not reflect the values that are actually returned,
so instead, basing these values on the Ethernet compliance codes
specified in table 33 of SFF-8436 as these have been accurate.

Use the new variable in ethtool to differentiate between a 10G/1G dual
speed fiber module and a 10G only module.

Change-ID: Ib7585cce321319c10ce15180054c41a6cbd41389
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-10-13 23:39:38 -07:00
..
e1000 e1000: remove dead e1000_init_eeprom_params calls 2015-09-22 15:58:28 -07:00
e1000e e1000e: Enable TSO for stacked VLAN 2015-09-22 15:58:28 -07:00
fm10k fm10k: add support for extra debug statistics 2015-09-22 15:58:27 -07:00
i40e i40e/i40evf: Add module_types and update_link_info 2015-10-13 23:39:38 -07:00
i40evf i40e/i40evf: Add module_types and update_link_info 2015-10-13 23:39:38 -07:00
igb net: igb: avoid using timespec 2015-10-05 03:16:42 -07:00
igbvf igbvf: Enable TSO for stacked VLAN 2015-09-22 15:58:28 -07:00
ixgb ixgb: call netif_carrier_off early on down 2015-03-20 17:41:52 -07:00
ixgbe ixgbe: Advance version to 4.2.1 2015-09-23 23:09:34 -07:00
ixgbevf ixgbevf: Enables TSO for stacked VLAN 2015-09-22 15:58:29 -07:00
e100.c e100: Release skb when DMA mapping is failed in e100_xmit_prepare 2015-08-18 14:06:05 -07:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00