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
/
vmdq_dcb
/
main.c
diff --git
a/examples/vmdq_dcb/main.c
b/examples/vmdq_dcb/main.c
index
9c68ab0
..
2626a2f
100644
(file)
--- a/
examples/vmdq_dcb/main.c
+++ b/
examples/vmdq_dcb/main.c
@@
-642,7
+642,7
@@
main(int argc, char *argv[])
" number of cores(1-%d)\n\n", RTE_MAX_LCORE);
}
- nb_ports = rte_eth_dev_count();
+ nb_ports = rte_eth_dev_count
_avail
();
/*
* Update the global var NUM_PORTS and global array PORTS