git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9768b71
)
net/sfc/base: handle new speeds in link events
author
Andy Moreton
<amoreton@solarflare.com>
Tue, 20 Feb 2018 07:33:53 +0000
(07:33 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:42 +0000
(14:08 +0200)
Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_phy.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/base/ef10_phy.c
b/drivers/net/sfc/base/ef10_phy.c
index
e05fe2b
..
035099f
100644
(file)
--- a/
drivers/net/sfc/base/ef10_phy.c
+++ b/
drivers/net/sfc/base/ef10_phy.c
@@
-149,9
+149,18
@@
ef10_phy_link_ev(
case MCDI_EVENT_LINKCHANGE_SPEED_10G:
speed = 10000;
break;
+ case MCDI_EVENT_LINKCHANGE_SPEED_25G:
+ speed = 25000;
+ break;
case MCDI_EVENT_LINKCHANGE_SPEED_40G:
speed = 40000;
break;
+ case MCDI_EVENT_LINKCHANGE_SPEED_50G:
+ speed = 50000;
+ break;
+ case MCDI_EVENT_LINKCHANGE_SPEED_100G:
+ speed = 100000;
+ break;
default:
speed = 0;
break;