summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-11-08 14:36:19 -0800
committerDamjan Marion <dmarion@me.com>2020-11-09 12:41:44 +0000
commit45ab3ecb1897f5be4b2f9267bd64b15c06d0d022 (patch)
tree0a0949b3210fbb1e08853a2d544b0774e1de29ee /src/vnet
parent9a3973e3a36bfd4dd8dbffe130a92649fc1b73d3 (diff)
session: default to using memfd mq segments
First step towards deprecating the use of binary api's segment for mq allocation. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I9d3d17e4d406575d64e0426bb65465130a84980a
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/session/session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 18850cc1ba2..0b489882766 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -1818,6 +1818,7 @@ session_main_init (vlib_main_t * vm)
#endif
smm->last_transport_proto_type = TRANSPORT_PROTO_QUIC;
+ smm->evt_qs_use_memfd_seg = 1;
return 0;
}