summaryrefslogtreecommitdiffstats
path: root/src/dpdk/lib/librte_ether/rte_ethdev.c
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-12-16 10:37:22 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-12-16 10:37:22 +0200
commit00c9ca3b9acd5cb50c7fe06521fdba04041c4b57 (patch)
treecbe081edff2cd7b67e03e3c8d1486baca30b2d34 /src/dpdk/lib/librte_ether/rte_ethdev.c
parent2ef9113c0bafcae120d836f71e1e4ddc211ef216 (diff)
revert of 1602ab2067f1752b0c72c2cd1335d210260b3b04
need to find another solution Change-Id: Ia2b90ac58af4fc8417b1e2a7ba6815a68d614dfa Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'src/dpdk/lib/librte_ether/rte_ethdev.c')
-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 06d35656..e7bc9d6d 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;