Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vcl: nest vcl_mq_epfd to support epoll_wait without high CPU usage
[vpp.git]
/
src
/
vcl
/
vcl_locked.c
diff --git
a/src/vcl/vcl_locked.c
b/src/vcl/vcl_locked.c
index
ae9c976
..
19522c0
100644
(file)
--- a/
src/vcl/vcl_locked.c
+++ b/
src/vcl/vcl_locked.c
@@
-1381,6
+1381,12
@@
vls_app_create (char *app_name)
return VPPCOM_OK;
}
+unsigned char
+vls_use_eventfd (void)
+{
+ return vcm->cfg.use_mq_eventfd;
+}
+
/*
* fd.io coding-style-patch-verification: ON
*