git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethdev: deprecate port count function
[dpdk.git]
/
examples
/
performance-thread
/
l3fwd-thread
/
main.c
diff --git
a/examples/performance-thread/l3fwd-thread/main.c
b/examples/performance-thread/l3fwd-thread/main.c
index
699b99d
..
f51e6b0
100644
(file)
--- a/
examples/performance-thread/l3fwd-thread/main.c
+++ b/
examples/performance-thread/l3fwd-thread/main.c
@@
-3514,7
+3514,7
@@
main(int argc, char **argv)
if (ret < 0)
rte_exit(EXIT_FAILURE, "init_rx_rings failed\n");
- nb_ports = rte_eth_dev_count();
+ nb_ports = rte_eth_dev_count
_avail
();
if (check_port_config() < 0)
rte_exit(EXIT_FAILURE, "check_port_config failed\n");