Commit d51bf96d authored by Johannes Thumshirn's avatar Johannes Thumshirn Committed by Martin K. Petersen

fcoe: use defines from ethtool for 20Gbit and 40Gbit speeds

Use defines from ethtool for 20Gbit and 40Gbit speeds instead of magic
Signed-off-by: default avatarJohannes Thumshirn <>
Reviewed-by: default avatarLaurence Oberman <>
Signed-off-by: default avatarMartin K. Petersen <>
parent a87dccc7
......@@ -133,10 +133,10 @@ int fcoe_link_speed_update(struct fc_lport *lport)
case SPEED_10000:
lport->link_speed = FC_PORTSPEED_10GBIT;
case 20000:
case SPEED_20000:
lport->link_speed = FC_PORTSPEED_20GBIT;
case 40000:
case SPEED_40000:
lport->link_speed = FC_PORTSPEED_40GBIT;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment