Skip to content

Commit aeccadb

Browse files
pgreenwaanguy11
authored andcommitted
ice: fix 200G link speed message log
Commit 24407a0 ("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: 24407a0 ("ice: Add 200G speed/phy type use") Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com> Reviewed-by: Jesse Brandeburg <jesse.brandeburg@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>
1 parent bc69ad7 commit aeccadb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/net/ethernet/intel/ice/ice_main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,9 @@ void ice_print_link_msg(struct ice_vsi *vsi, bool isup)
805805
}
806806

807807
switch (vsi->port_info->phy.link_info.link_speed) {
808+
case ICE_AQ_LINK_SPEED_200GB:
809+
speed = "200 G";
810+
break;
808811
case ICE_AQ_LINK_SPEED_100GB:
809812
speed = "100 G";
810813
break;

0 commit comments

Comments
 (0)