summaryrefslogtreecommitdiffstats
path: root/src/dpdk
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-12-15 23:39:32 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-12-15 23:39:32 +0200
commit1602ab2067f1752b0c72c2cd1335d210260b3b04 (patch)
treeaeb6b906d0e414755e75872b85309871f09e5563 /src/dpdk
parent7ec52cf574a3abce0699b07eacdfc70539f47905 (diff)
issue: trex-295
attach the interfaces one by one in our order instead of init all and reorder. Change-Id: I3bbab970c5e2847b6a6250ec515d8003738c5d97 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'src/dpdk')
-rw-r--r--src/dpdk/lib/librte_ether/rte_ethdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dpdk/lib/librte_ether/rte_ethdev.c b/src/dpdk/lib/librte_ether/rte_ethdev.c
index e7bc9d6d..06d35656 100644
--- a/src/dpdk/lib/librte_ether/rte_ethdev.c
+++ b/src/dpdk/lib/librte_ether/rte_ethdev.c
@@ -450,8 +450,7 @@ rte_eth_dev_get_port_by_name(const char *name, uint8_t *port_id)
return -ENODEV;
}
-/* TREX_PATCH removed "static" */
-int
+static int
rte_eth_dev_get_port_by_addr(const struct rte_pci_addr *addr, uint8_t *port_id)
{
int i;