- Introduce tle_tcp_stream_readv() and tle_tcp_stream_writev(). 13/7813/2
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Thu, 27 Jul 2017 11:00:57 +0000 (12:00 +0100)
committerKonstantin Ananyev <konstantin.ananyev@intel.com>
Thu, 27 Jul 2017 19:24:53 +0000 (20:24 +0100)
commit7e18fa1bf263822c46d7431a911b41d6377d5f69
treeddf5ce05545419d6d77bb9d8b3c48fc90d221a7a
parente151ee29d02d7802fab9e32b50ced54fd8d64160
- 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 <konstantin.ananyev@intel.com>
Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
22 files changed:
examples/l4fwd/main.c
examples/l4fwd/parse.c
lib/libtle_dring/tle_dring.h
lib/libtle_l4p/ctx.c
lib/libtle_l4p/ctx.h
lib/libtle_l4p/misc.h
lib/libtle_l4p/stream.h
lib/libtle_l4p/stream_table.h
lib/libtle_l4p/syncookie.h
lib/libtle_l4p/tcp_ctl.h
lib/libtle_l4p/tcp_misc.h
lib/libtle_l4p/tcp_rxq.h
lib/libtle_l4p/tcp_rxtx.c
lib/libtle_l4p/tcp_stream.c
lib/libtle_l4p/tcp_stream.h
lib/libtle_l4p/tcp_tx_seg.h
lib/libtle_l4p/tle_ctx.h
lib/libtle_l4p/tle_tcp.h
lib/libtle_misc/tle_dpdk_wrapper.h
test/dring/test_dring.c
test/gtest/test_tle_dring.cpp
test/gtest/test_tle_dring.h