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]
/
test
/
test
/
test_kni.c
diff --git
a/test/test/test_kni.c
b/test/test/test_kni.c
index
3d1be56
..
56773c8
100644
(file)
--- a/
test/test/test_kni.c
+++ b/
test/test/test_kni.c
@@
-489,7
+489,7
@@
test_kni(void)
return -1;
}
- nb_ports = rte_eth_dev_count();
+ nb_ports = rte_eth_dev_count
_avail
();
if (nb_ports == 0) {
printf("no supported nic port found\n");
return -1;