Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New upstream version 18.05
[deb_dpdk.git]
/
examples
/
quota_watermark
/
qw
/
init.c
diff --git
a/examples/quota_watermark/qw/init.c
b/examples/quota_watermark/qw/init.c
index
d4a6918
..
00725bc
100644
(file)
--- a/
examples/quota_watermark/qw/init.c
+++ b/
examples/quota_watermark/qw/init.c
@@
-112,7
+112,7
@@
void configure_eth_port(uint16_t port_id)
void
init_dpdk(void)
{
- if (rte_eth_dev_count() < 2)
+ if (rte_eth_dev_count
_avail
() < 2)
rte_exit(EXIT_FAILURE, "Not enough ethernet port available\n");
}