aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorAloys Augustin <aloaugus@cisco.com>2019-07-12 11:05:35 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-07-12 17:49:40 +0000
commitbec771b879c2eae31ecef61891405c1570aae2b1 (patch)
tree55092a4c8cb38fa41aaa1cdd96e4dbe939c6aed3 /src/vnet
parenta0abbff4849e8b8721b70769ae1f3ef27dd6733c (diff)
tls quic: reduce default segment sizes
This reduces the memory required by tls and quic, allowing to run them (and their tests) in more constrained environments by default. Change-Id: I954081c725fb4f5f173db1f8e76922d957c5b0a2 Signed-off-by: Aloys Augustin <aloaugus@cisco.com> Type: fix
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/tls/tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c
index 8d38be4ef8e..6769fd254b6 100644
--- a/src/vnet/tls/tls.c
+++ b/src/vnet/tls/tls.c
@@ -789,7 +789,7 @@ tls_register_engine (const tls_engine_vft_t * vft, tls_engine_type_t type)
static clib_error_t *
tls_init (vlib_main_t * vm)
{
- u32 add_segment_size = (4096ULL << 20) - 1, first_seg_size = 32 << 20;
+ u32 add_segment_size = 256 << 20, first_seg_size = 32 << 20;
vlib_thread_main_t *vtm = vlib_get_thread_main ();
u32 num_threads, fifo_size = 128 << 10;
vnet_app_attach_args_t _a, *a = &_a;