> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of Paul > Greenwalt > Sent: Friday, April 19, 2024 9:05 PM > To: intel-wired-...@lists.osuosl.org > Cc: Michal Swiatkowski <michal.swiatkow...@linux.intel.com>; Greenwalt, Paul > <paul.greenw...@intel.com> > Subject: [Intel-wired-lan] [PATCH iwl-net v1] ice: fix 200G PHY types to link > speed mapping > > Commit 24407a01e57c ("ice: Add 200G speed/phy type use") added support for > 200G PHY speeds, but did not include the mapping of 200G PHY types to link > speed. As a result the driver is returning UNKNOWN link speed when setting > 200G ethtool advertised link modes. > > To fix this add 200G PHY types to link speed mapping to > ice_get_link_speed_based_on_phy_type(). > > Fixes: 24407a01e57c ("ice: Add 200G speed/phy type use") > Reviewed-by: Michal Swiatkowski <michal.swiatkow...@linux.intel.com> > Signed-off-by: Paul Greenwalt <paul.greenw...@intel.com> > --- > drivers/net/ethernet/intel/ice/ice_common.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) >
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pu...@intel.com> (A Contingent worker at Intel)