ice: fix 200G link speed message log
Subsystems (2)
PATCH 1/1 ice: fix 200G link speed message log
Commit 24407a01e57c ("ice: Add 200G speed/phy type use") added support for 200G PHY speeds, but did not include 200G link speed message support. As a result the driver incorrectly reports Unknown for 200G link speed.
Fix this by adding 200G support to ice_print_link_msg().
--- drivers/net/ethernet/intel/ice/ice_main.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/net/ethernet/intel/ice/ice_main.c +3 -0
@@ -805,6 +805,9 @@ void ice_print_link_msg(struct ice_vsi *vsi, bool isup) }switch (vsi->port_info->phy.link_info.link_speed) { +case ICE_AQ_LINK_SPEED_200GB : + speed ="200 G" ; +break ;case ICE_AQ_LINK_SPEED_100GB : speed ="100 G" ;break ;
Signature · 1 line
2.41.0
Quoted 10 lines · Paul Greenwalt
Commit
24407a01e57c("ice: Add 200G speed/phy type use") added support for 200G PHY speeds, but did not include 200G link speed message support. As a result the driver incorrectly reports Unknown for 200G link speed.Fix this by adding 200G support to
ice_print_link_msg().Fixes 24407a01e57c ("ice: Add 200G speed/phy type use")Reviewed-by Michal Swiatkowski <[email protected]>Signed-off-by Paul Greenwalt <[email protected]>
Quoted 9 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Paul Greenwalt
Sent: Thursday, May 30, 2024 10:36 PM
To: [email protected]
Cc: Michal Swiatkowski <[email protected]>; Greenwalt, Paul <[email protected]>
Subject: [Intel-wired-lan] [PATCH iwl-net v1] ice: fix 200G link speed message logCommit
24407a01e57c("ice: Add 200G speed/phy type use") added support for 200G PHY speeds, but did not include 200G link speed message support. As a result the driver incorrectly reports Unknown for 200G link speed.
Quoted 9 lines
Fix this by adding 200G support to
ice_print_link_msg().Fixes 24407a01e57c ("ice: Add 200G speed/phy type use")Reviewed-by Michal Swiatkowski <[email protected]>Signed-off-by Paul Greenwalt <[email protected]>--- drivers/net/ethernet/intel/ice/ice_main.c | 3 +++ 1 file changed, 3 insertions(+)