diff options
author | Florin Coras <fcoras@cisco.com> | 2018-05-04 15:46:57 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-05-09 11:34:06 +0000 |
commit | 8e43d04ca4f4496aaefc4f5e2b6e1c0951624099 (patch) | |
tree | 3addc5766002d5224dde2c7fa4efe018480830e4 /src/vnet/session-apps/echo_client.h | |
parent | ee7f0bd9e7ce4106d3b9511b0efede4326bded51 (diff) |
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 <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session-apps/echo_client.h')
-rw-r--r-- | src/vnet/session-apps/echo_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |