summaryrefslogtreecommitdiffstats
path: root/src/dpdk
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-08-01 19:07:22 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-08-01 19:07:22 +0300
commit692f5b963cfb53927e13411274b20f9db8cd4a99 (patch)
treee2861fa0bee7dd28a39a0c8935704c1dfea0079d /src/dpdk
parent511854b7a8fe289603cb4475a39d713244846ebf (diff)
DPDK ports order change to be compliant with our /etc/trex_cfg.yaml
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;