aboutsummaryrefslogtreecommitdiffstats
path: root/stacks/vpp/adapt/dmm_vcl_adpt.c
diff options
context:
space:
mode:
authoryalei wang <wylandrea@gmail.com>2018-09-17 03:32:52 +0000
committerGerrit Code Review <gerrit@fd.io>2018-09-17 03:32:52 +0000
commitfb84b14f79f186a624fcbb93c89d20df2978b41a (patch)
tree02ae03aa0e40b0602b15401cd134daf5c8291845 /stacks/vpp/adapt/dmm_vcl_adpt.c
parent7d6f7e3a58ea0dda82d1f61cb9cf9b5076b4975a (diff)
parentdcf754b73574b5716ada5eb6064ab374e7b2b964 (diff)
Merge "Fix: fix epoll problem"
Diffstat (limited to 'stacks/vpp/adapt/dmm_vcl_adpt.c')
-rw-r--r--stacks/vpp/adapt/dmm_vcl_adpt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stacks/vpp/adapt/dmm_vcl_adpt.c b/stacks/vpp/adapt/dmm_vcl_adpt.c
index 1b2b9a9..d4974e2 100644
--- a/stacks/vpp/adapt/dmm_vcl_adpt.c
+++ b/stacks/vpp/adapt/dmm_vcl_adpt.c
@@ -35,6 +35,7 @@ vpphs_ep_ctl_ops (int epFD, int proFD, int ctl_ops,
tmpEvt.data.ptr = pdata;
tmpEvt.events = events->events;
+ tmpEvt.events |= (EPOLLIN | EPOLLOUT);
if (DMM_VCL_ADPT_DEBUG > 0)
clib_warning ("DMM VCL ADPT<%d>: epfd=%d,fd=%d,ops=%d, events=%u",