Files
linux/drivers/net/ethernet/intel/ice
Paul Greenwalt 5cd349c349 ice: report supported and advertised autoneg using PHY capabilities
Ethtool incorrectly reported supported and advertised auto-negotiation
settings for a backplane PHY image which did not support auto-negotiation.
This can occur when using media or PHY type for reporting ethtool
supported and advertised auto-negotiation settings.

Remove setting supported and advertised auto-negotiation settings based
on PHY type in ice_phy_type_to_ethtool(), and MAC type in
ice_get_link_ksettings().

Ethtool supported and advertised auto-negotiation settings should be
based on the PHY image using the AQ command get PHY capabilities with
media. Add setting supported and advertised auto-negotiation settings
based get PHY capabilities with media in ice_get_link_ksettings().

Fixes: 48cb27f2fd ("ice: Implement handlers for ethtool PHY/link operations")
Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-06-04 07:37:48 -07:00
..
2021-03-31 14:21:27 -07:00
2020-05-22 22:02:34 -07:00
2021-04-14 17:00:06 -07:00
2020-07-29 08:38:54 -07:00
2019-11-08 12:02:14 -08:00
2021-03-23 11:34:02 -07:00
2021-03-31 14:21:28 -07:00
2020-05-21 22:10:04 -07:00
2020-05-21 22:10:04 -07:00
2021-04-14 17:12:17 -07:00
2021-04-14 17:12:17 -07:00
2018-03-26 09:59:08 -07:00
2021-04-14 17:00:06 -07:00