aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorPaul Greenwalt <paul.greenwalt@intel.com>2023-04-26 11:50:46 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2023-05-17 08:42:10 -0700
commit9136e1f1e5c3f3409b09764556f33fd6353cad60 (patch)
treea11fd23b1de87934eba8e7ad794ff6cb867c05a4 /drivers/net/ethernet/intel/ice/ice_lib.c
parent578fb0926c127d1b11b01b0102605efde9be9f41 (diff)
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@intel.com> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions