Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
eedc74b
)
vcl: fix epoll timeout
73/28173/1
author
Florin Coras
<fcoras@cisco.com>
Wed, 5 Aug 2020 05:45:45 +0000
(22:45 -0700)
committer
Florin Coras
<fcoras@cisco.com>
Wed, 5 Aug 2020 05:45:45 +0000
(22:45 -0700)
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I917158a62e5881b97917c3339527d3c34c37565a
src/vcl/vppcom.c
patch
|
blob
|
history
diff --git
a/src/vcl/vppcom.c
b/src/vcl/vppcom.c
index
f391949
..
fd9136a
100644
(file)
--- a/
src/vcl/vppcom.c
+++ b/
src/vcl/vppcom.c
@@
-2967,7
+2967,7
@@
vppcom_epoll_wait_condvar (vcl_worker_t * wrk, struct epoll_event *events,
continue;
now = clib_time_now (&wrk->clib_time);
- wait -=
now - start
;
+ wait -=
(now - start) * 1e3
;
start = now;
}
while (wait > 0);