aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest/test_tle_tcp_stream.h
diff options
context:
space:
mode:
authorJianfeng Tan <henry.tjf@antfin.com>2019-11-18 06:59:50 +0000
committerJianfeng Tan <henry.tjf@antfin.com>2020-03-05 01:31:33 +0800
commit78c896b3b3127515478090c19447e27dc406427e (patch)
treed6d67d4683e9ca0409f9984a834547a572fb5310 /test/gtest/test_tle_tcp_stream.h
parente4380f4866091fd92a7a57667dd938a99144f9cd (diff)
Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com> Signed-off-by: Jielong Zhou <jielong.zjl@antfin.com> Signed-off-by: Jian Zhang <wuzai.zj@antfin.com> Signed-off-by: Chen Zhao <winters.zc@antfin.com> Change-Id: I55c39de4c6cd30f991f35631eb507f770230f08e
Diffstat (limited to 'test/gtest/test_tle_tcp_stream.h')
-rw-r--r--test/gtest/test_tle_tcp_stream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/gtest/test_tle_tcp_stream.h b/test/gtest/test_tle_tcp_stream.h
index 2caf2b5..80f0bea 100644
--- a/test/gtest/test_tle_tcp_stream.h
+++ b/test/gtest/test_tle_tcp_stream.h
@@ -32,6 +32,8 @@
#include "test_common.h"
#define MAX_STREAMS 0x100
+#define MIN_STREAMS 0x10
+#define DELTA_STREAMS 0x20
#define MAX_STREAM_RBUFS 0x100
#define MAX_STREAM_SBUFS 0x100
#define RX_NO_OFFLOAD 0x0
@@ -41,6 +43,8 @@ static struct tle_ctx_param ctx_prm_tmpl = {
.socket_id = SOCKET_ID_ANY,
.proto = TLE_PROTO_TCP,
.max_streams = MAX_STREAMS,
+ .min_streams = MIN_STREAMS,
+ .delta_streams = DELTA_STREAMS,
.max_stream_rbufs = MAX_STREAM_RBUFS,
.max_stream_sbufs = MAX_STREAM_SBUFS,
};