[Intel-wired-lan] [PATCH net 2/3] ice: refactor PHY type to ethtool link mode

Pucha, HimasekharX Reddy himasekharx.reddy.pucha at intel.com
Mon May 8 15:54:51 UTC 2023


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Greenwalt, Paul
> Sent: Thursday, April 27, 2023 12:21 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH net 2/3] ice: refactor PHY type to ethtool link mode
>
> Refactor ice_phy_type_to_ethtool to use phy_type_[low|high]_lkup table to map PHY type to AQ link speed and ethtool link mode. This removes complexity and simplifies future changes.
>
> Signed-off-by: Paul Greenwalt <paul.greenwalt at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice.h         |   1 +
> drivers/net/ethernet/intel/ice/ice_ethtool.c | 309 +++----------------  drivers/net/ethernet/intel/ice/ice_ethtool.h | 105 +++++++
> 3 files changed, 141 insertions(+), 274 deletions(-)  create mode 100644 drivers/net/ethernet/intel/ice/ice_ethtool.h
>

Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list