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
/
kni
/
main.c
diff --git
a/examples/kni/main.c
b/examples/kni/main.c
index
901480a
..
4b162de
100644
(file)
--- a/
examples/kni/main.c
+++ b/
examples/kni/main.c
@@
-926,7
+926,7
@@
main(int argc, char** argv)
}
/* Get number of ports found in scan */
- nb_sys_ports = rte_eth_dev_count();
+ nb_sys_ports = rte_eth_dev_count
_avail
();
if (nb_sys_ports == 0)
rte_exit(EXIT_FAILURE, "No supported Ethernet device found\n");