linux/drivers/net/ethernet/intel/i40e
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
..
i40e_adminq_cmd.h i40e/i40evf: Add new link status defines 2015-10-13 23:15:35 -07:00
i40e_adminq.c i40e/i40evf: Add info to nvm info struct for OEM version data 2015-10-13 23:25:12 -07:00
i40e_adminq.h i40e/i40evf: fix a potential type compare issue 2015-10-07 13:38:11 -07:00
i40e_alloc.h
i40e_common.c i40e/i40evf: Add module_types and update_link_info 2015-10-13 23:39:38 -07:00
i40e_dcb_nl.c i40e/i40evf: clean up some code 2015-10-08 16:19:55 -07:00
i40e_dcb.c i40e: Convert CEE App TLV selector to IEEE selector 2015-10-13 23:27:37 -07:00
i40e_dcb.h i40e: Add parsing for CEE DCBX TLVs 2015-10-08 15:11:38 -07:00
i40e_debugfs.c i40e/i40evf: clean up some code 2015-10-08 16:19:55 -07:00
i40e_devids.h i40e/i40evf: split device ids into a separate file 2015-10-13 23:37:13 -07:00
i40e_diag.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_diag.h
i40e_ethtool.c i40e/i40evf: Add module_types and update_link_info 2015-10-13 23:39:38 -07:00
i40e_fcoe.c i40e/i40evf: clean up some code 2015-10-08 16:19:55 -07:00
i40e_fcoe.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_hmc.c i40e: clean up unneeded gotos 2015-07-23 05:15:26 -07:00
i40e_hmc.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_lan_hmc.c i40e/i40evf: clean up some code 2015-10-08 16:19:55 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_main.c i40e/i40evf: Add module_types and update_link_info 2015-10-13 23:39:38 -07:00
i40e_nvm.c i40e: add little endian conversion for checksum 2015-10-07 14:18:53 -07:00
i40e_osdep.h i40e: adds FCoE configure option 2015-01-14 16:48:39 -05:00
i40e_prototype.h i40e/i40evf: Add module_types and update_link_info 2015-10-13 23:39:38 -07:00
i40e_ptp.c i40e/i40evf: clean up some code 2015-10-08 16:19:55 -07:00
i40e_register.h i40e/i40evf: add VIRTCHNL_VF_OFFLOAD flag 2015-08-26 15:09:54 -07:00
i40e_status.h
i40e_txrx.c i40e/i40evf: clean up some code 2015-10-08 16:19:55 -07:00
i40e_txrx.h i40e/i40evf: clean up some code 2015-10-08 16:19:55 -07:00
i40e_type.h i40e/i40evf: Add module_types and update_link_info 2015-10-13 23:39:38 -07:00
i40e_virtchnl_pf.c i40e: don't panic on VSI allocation failure 2015-10-13 23:32:25 -07:00
i40e_virtchnl_pf.h i40e: support virtual channel API 1.1 2015-07-23 05:22:26 -07:00
i40e_virtchnl.h i40e/i40evf: remove unused opcode 2015-10-07 14:57:26 -07:00
i40e.h i40e: update fw version text string per previous product formats 2015-10-13 23:34:50 -07:00
Makefile i40e: Strip configfs code 2015-03-07 07:01:06 -08:00