From 7e18fa1bf263822c46d7431a911b41d6377d5f69 Mon Sep 17 00:00:00 2001 From: Konstantin Ananyev Date: Thu, 27 Jul 2017 12:00:57 +0100 Subject: - Introduce tle_tcp_stream_readv() and tle_tcp_stream_writev(). - Introduce flags for tle_ctx_param. - Introduce TLE_CTX_FLAG_ST - indicates that given ctx will be used by single thread only. - Introduce new parameters for tcp context: timewait - allows user to configure max timeout in TCP_TIMEWAIT state. icw - allows user to specify desired initial congestion window for new connections. -Few optimisations: cache tx.ol_flags inside tle destination. calcualte and cache inside ctx cycles_to_ms shift value. reorder restoring SYN opts and filling TCB a bit. Change-Id: Ie05087783b3b7f1e4ce99d3555bc5bd098f83fe0 Signed-off-by: Konstantin Ananyev Signed-off-by: Mohammad Abdul Awal --- test/dring/test_dring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/dring/test_dring.c') diff --git a/test/dring/test_dring.c b/test/dring/test_dring.c index ce3e454..692fd44 100644 --- a/test/dring/test_dring.c +++ b/test/dring/test_dring.c @@ -349,7 +349,7 @@ test_dring_st(void) printf("%s started;\n", __func__); - tle_dring_reset(&dr); + tle_dring_reset(&dr, 0); r = init_drb_ring(OBJ_NUM); if (r == NULL) return -ENOMEM; @@ -397,7 +397,7 @@ test_dring_mt(int32_t master_enq_type, int32_t master_deq_type, struct tle_dring dr; struct dring_arg arg[RTE_MAX_LCORE]; - tle_dring_reset(&dr); + tle_dring_reset(&dr, 0); r = init_drb_ring(OBJ_NUM); if (r == NULL) return -ENOMEM; -- cgit 1.2.3-korg