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
Imported Upstream version 16.07-rc1
[deb_dpdk.git]
/
examples
/
netmap_compat
/
lib
/
compat_netmap.c
diff --git
a/examples/netmap_compat/lib/compat_netmap.c
b/examples/netmap_compat/lib/compat_netmap.c
index
bf1b418
..
112c551
100644
(file)
--- a/
examples/netmap_compat/lib/compat_netmap.c
+++ b/
examples/netmap_compat/lib/compat_netmap.c
@@
-865,6
+865,9
@@
rte_netmap_poll(struct pollfd *fds, nfds_t nfds, int timeout)
uint32_t i, idx, port;
uint32_t want_rx, want_tx;
+ if (timeout > 0)
+ return -1;
+
ret = 0;
do {
for (i = 0; i < nfds; i++) {