summaryrefslogtreecommitdiffstats
path: root/src/dpdk22/lib/librte_ether/rte_ethdev.h
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-02-21 18:35:44 +0200
committerIdo Barnea <ibarnea@cisco.com>2016-02-21 18:35:44 +0200
commitd126c3bc9ab8d5e2008fbf7dfc7740b51bdd1640 (patch)
treeb2c3cdfe587bb57a340d062fc23e42a2da0f373d /src/dpdk22/lib/librte_ether/rte_ethdev.h
parent2f75f197b0f948aa53e88e479d85cf83a64057c4 (diff)
return 10G instead of 40G on x710 cards
Diffstat (limited to 'src/dpdk22/lib/librte_ether/rte_ethdev.h')
-rw-r--r--src/dpdk22/lib/librte_ether/rte_ethdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dpdk22/lib/librte_ether/rte_ethdev.h b/src/dpdk22/lib/librte_ether/rte_ethdev.h
index f8c7c86d..e4bc9742 100644
--- a/src/dpdk22/lib/librte_ether/rte_ethdev.h
+++ b/src/dpdk22/lib/librte_ether/rte_ethdev.h
@@ -2150,6 +2150,8 @@ extern void rte_eth_link_get(uint8_t port_id, struct rte_eth_link *link);
extern void rte_eth_link_get_nowait(uint8_t port_id,
struct rte_eth_link *link);
+extern int rte_eth_get_speed(uint8_t port_id, int *speed);
+
/**
* Retrieve the general I/O statistics of an Ethernet device.
*