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
This commit is contained in:
Florin Coras
2020-11-08 14:36:19 -08:00
committed by Damjan Marion
parent 9a3973e3a3
commit 45ab3ecb18
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}