linux_dsm_epyc7002/drivers/net/ethernet/intel
Paul M Stillwell Jr c2b352262a ice: add 1G SGMII PHY type
There isn't a case for 1G SGMII in ice_get_media_type() so add
the handling for it.

Also handle the special case where some direct attach
cables may report that they support 1G SGMII, but
that is erroneous since SGMII is supposed to be a
backplane media type (between a MAC and a PHY). If
the driver doesn't handle this special case then a
user could see the 'Port' in ethtool change from
'Direct attach Copper' to 'Backplane' when they have
forced the speed to 1G, but the cable hasn't changed.

Lastly, change ice_aq_get_phy_caps() to save the
module_type info if the function was called with
ICE_AQC_REPORT_TOPO_CAP. This call uses the media
information to populate the module_type. If no
media is present then the values in module_type
will be 0.

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2020-07-23 15:36:14 -07:00
..
e1000 ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
e1000e ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
fm10k fm10k: convert to new udp_tunnel_nic infra 2020-07-14 17:04:27 -07:00
i40e i40e: introduce new dump desc XDP command 2020-07-01 14:44:17 -07:00
iavf iavf: Fix updating statistics 2020-07-01 14:45:59 -07:00
ice ice: add 1G SGMII PHY type 2020-07-23 15:36:14 -07:00
igb ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
igbvf ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
igc ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
ixgb net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
ixgbe ixgbe: convert to new udp_tunnel_nic infra 2020-07-10 13:54:00 -07:00
ixgbevf ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
e100.c net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
Kconfig docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00