summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_interface.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-07-19 15:23:51 -0700
committerFlorin Coras <florin.coras@gmail.com>2021-07-19 22:22:12 +0000
commitbbc8faebf13f2db7299c948c441b526419fefe09 (patch)
tree6807dd45deea24b475d47b7f9d3ad1850c3be21a /src/vnet/session/application_interface.h
parent05b5a5b3b4b04823776feed6403b5a99b2e06d76 (diff)
session: option to use memfd segs for builtin apps
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Iecb171c9451c0fa9a7c6ae4b3e9ab7774a4fe585
Diffstat (limited to 'src/vnet/session/application_interface.h')
-rw-r--r--src/vnet/session/application_interface.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/vnet/session/application_interface.h b/src/vnet/session/application_interface.h
index 46029f0307a..7d8b8ce4e1c 100644
--- a/src/vnet/session/application_interface.h
+++ b/src/vnet/session/application_interface.h
@@ -223,15 +223,16 @@ typedef enum
APP_OPTIONS_N_OPTIONS
} app_attach_options_index_t;
-#define foreach_app_options_flags \
- _(ACCEPT_REDIRECT, "Use FIFO with redirects") \
- _(ADD_SEGMENT, "Add segment and signal app if needed") \
- _(IS_BUILTIN, "Application is builtin") \
- _(IS_TRANSPORT_APP, "Application is a transport proto") \
- _(IS_PROXY, "Application is proxying") \
- _(USE_GLOBAL_SCOPE, "App can use global session scope") \
- _(USE_LOCAL_SCOPE, "App can use local session scope") \
- _(EVT_MQ_USE_EVENTFD, "Use eventfds for signaling") \
+#define foreach_app_options_flags \
+ _ (ACCEPT_REDIRECT, "Use FIFO with redirects") \
+ _ (ADD_SEGMENT, "Add segment and signal app if needed") \
+ _ (IS_BUILTIN, "Application is builtin") \
+ _ (IS_TRANSPORT_APP, "Application is a transport proto") \
+ _ (IS_PROXY, "Application is proxying") \
+ _ (USE_GLOBAL_SCOPE, "App can use global session scope") \
+ _ (USE_LOCAL_SCOPE, "App can use local session scope") \
+ _ (EVT_MQ_USE_EVENTFD, "Use eventfds for signaling") \
+ _ (MEMFD_FOR_BUILTIN, "Use memfd for builtin app segs")
typedef enum _app_options
{