diff options
| author | Paul Greenwalt <[email protected]> | 2021-05-05 21:17:58 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-06-04 14:37:48 +0000 |
| commit | 5cd349c349d6ec52862e550d3576893d35ab8ac2 (patch) | |
| tree | f90ec5e1445bb8215569d3ba5a691ac9eec26a63 /lib/netdev-notifier-error-inject.c | |
| parent | ice: handle the VF VSI rebuild failure (diff) | |
| download | kernel-5cd349c349d6ec52862e550d3576893d35ab8ac2.tar.gz kernel-5cd349c349d6ec52862e550d3576893d35ab8ac2.zip | |
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: 48cb27f2fd18 ("ice: Implement handlers for ethtool PHY/link operations")
Signed-off-by: Paul Greenwalt <[email protected]>
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
