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:
ee5b56e
)
net/i40e: fix speed capabilities
author
Ido Barnea
<ibarnea@cisco.com>
Thu, 21 Jul 2016 23:25:31 +0000
(
01:25
+0200)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 21 Jul 2016 23:25:31 +0000
(
01:25
+0200)
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/i40e/i40e_ethdev.c
b/drivers/net/i40e/i40e_ethdev.c
index
3f9f05e
..
84c86aa
100644
(file)
--- a/
drivers/net/i40e/i40e_ethdev.c
+++ b/
drivers/net/i40e/i40e_ethdev.c
@@
-2628,10
+2628,10
@@
i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
if (i40e_is_40G_device(hw->device_id))
/* For XL710 */
- dev_info->speed_capa = ETH_LINK_SPEED_
1G | ETH_LINK_SPEED_1
0G;
+ dev_info->speed_capa = ETH_LINK_SPEED_
4
0G;
else
/* For X710 */
- dev_info->speed_capa = ETH_LINK_SPEED_1
0G | ETH_LINK_SPEED_4
0G;
+ dev_info->speed_capa = ETH_LINK_SPEED_1
G | ETH_LINK_SPEED_1
0G;
}
static int