mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 01:26:05 +07:00
ice: Add missing case in print_link_msg for printing flow control
Currently we aren't checking for the ICE_FC_NONE case for the current flow control mode. This is causing "Unknown" to be printed for the current flow control method if flow control is disabled. Fix this by adding the case for ICE_FC_NONE to print "None". Signed-off-by: Brett Creeley <brett.creeley@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
8244dd2d23
commit
203a068ac9
@ -595,6 +595,9 @@ void ice_print_link_msg(struct ice_vsi *vsi, bool isup)
|
||||
case ICE_FC_RX_PAUSE:
|
||||
fc = "RX";
|
||||
break;
|
||||
case ICE_FC_NONE:
|
||||
fc = "None";
|
||||
break;
|
||||
default:
|
||||
fc = "Unknown";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user