From 8e43d04ca4f4496aaefc4f5e2b6e1c0951624099 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Fri, 4 May 2018 15:46:57 -0700 Subject: session: cleanup session tx function - rework the function to declutter and avoid building more than one tx frame - add dual loop although benefits in my tests seem to be minimal - improve tcp/udp echo external apps. They have slightly better throughput than internal echo apps. - udp bugfixes Change-Id: Iea4a245b1b1bb407a7f403dedcce2664a49f774b Signed-off-by: Florin Coras --- src/vnet/session-apps/echo_client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vnet/session-apps/echo_client.h') diff --git a/src/vnet/session-apps/echo_client.h b/src/vnet/session-apps/echo_client.h index 344e43865b5..8c07b10fbba 100644 --- a/src/vnet/session-apps/echo_client.h +++ b/src/vnet/session-apps/echo_client.h @@ -64,6 +64,8 @@ typedef struct u32 private_segment_size; /**< size of private fifo segs */ u32 tls_engine; /**< TLS engine mbedtls/openssl */ u8 is_dgram; + u32 no_copy; /**< Don't memcpy data to tx fifo */ + /* * Test state variables */ -- cgit 1.2.3-korg