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:
e5d85d3
)
net/i40e: add missing 25G link speed
author
Qi Zhang
<qi.z.zhang@intel.com>
Sun, 9 Apr 2017 18:05:06 +0000
(14:05 -0400)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000
(15:37 +0200)
Add missing 25G link speed decode in i40evf_dev_link_update.
Fixes:
75d133dd3296
("net/i40e: enable 25G device")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c
patch
|
blob
|
history
diff --git
a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index
fa4d90e
..
ca35268
100644
(file)
--- a/
drivers/net/i40e/i40e_ethdev_vf.c
+++ b/
drivers/net/i40e/i40e_ethdev_vf.c
@@
-2175,6
+2175,9
@@
i40evf_dev_link_update(struct rte_eth_dev *dev,
case I40E_LINK_SPEED_20GB:
new_link.link_speed = ETH_SPEED_NUM_20G;
break;
+ case I40E_LINK_SPEED_25GB:
+ new_link.link_speed = ETH_SPEED_NUM_25G;
+ break;
case I40E_LINK_SPEED_40GB:
new_link.link_speed = ETH_SPEED_NUM_40G;
break;