summaryrefslogtreecommitdiffstats
path: root/src/dpdk
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-08-02 09:47:26 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-08-02 09:47:26 +0300
commitbb774f3a5d580a4824d33ad157fa4f9ebcb48dc2 (patch)
treeb48bd937dde43b9a79eab79215dcfc7fe15a7701 /src/dpdk
parentac53e9537c7b7828c8f8cd51a0fd709da87da88e (diff)
parent692f5b963cfb53927e13411274b20f9db8cd4a99 (diff)
Merge branch 'dpdk_ports_reorder'
Diffstat (limited to 'src/dpdk')
-rw-r--r--src/dpdk/lib/librte_ether/rte_ethdev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dpdk/lib/librte_ether/rte_ethdev.c b/src/dpdk/lib/librte_ether/rte_ethdev.c
index 9e30438c..a12ce3d3 100644
--- a/src/dpdk/lib/librte_ether/rte_ethdev.c
+++ b/src/dpdk/lib/librte_ether/rte_ethdev.c
@@ -450,7 +450,8 @@ rte_eth_dev_get_port_by_name(const char *name, uint8_t *port_id)
return -ENODEV;
}
-static int
+/* TREX_PATCH removed "static" */
+int
rte_eth_dev_get_port_by_addr(const struct rte_pci_addr *addr, uint8_t *port_id)
{
int i;