diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-12-16 10:37:22 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-12-16 10:37:22 +0200 |
commit | 00c9ca3b9acd5cb50c7fe06521fdba04041c4b57 (patch) | |
tree | cbe081edff2cd7b67e03e3c8d1486baca30b2d34 /src/dpdk/lib/librte_ether/rte_ethdev.c | |
parent | 2ef9113c0bafcae120d836f71e1e4ddc211ef216 (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.c | 3 |
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; |