Age | Commit message (Collapse) | Author | Files | Lines |
|
In some cases default value of MPOOL_NB_BUF is too large. Because of
that new cmd-line parameter is added (--mbuf-num/-M), so user can define
that value directly before running an application. Introduced parameter
is optional. Default value of MPOOL_NB_BUF (0x20000) is preserved.
Signed-off-by: Mariusz Drost <mariuszx.drost@intel.com>
Change-Id: I9517955f313b6e97da1bb20c50b25e761430e0a8
|
|
Addition of tests for packets that are out of order or lost that are
executed on a single machine (with use of tap interface).
Added tests are merged into existing test suite which runs on
local/remote machine. Choice of mode is done with ETH_DEV variable.
Signed-off-by: Mariusz Drost <mariuszx.drost@intel.com>
Change-Id: I766ebda215310342d9dc1edf71bc3667648fdeff
|
|
Tap interface does not provide any offload capabilities. To use that
interface with l4fwd app, default offload capabilities should be
set to 0.
Signed-off-by: Mariusz Drost <mariuszx.drost@intel.com>
Change-Id: If30f44bb986b87e079be3ec1dfe0ad5341862030
|
|
Introduce two extra parameters for TCP context creation:
struct {
uint32_t min;
/**< min number of free streams (grow threshold). */
uint32_t max;
/**< max number of free streams (shrink threshold). */
} free_streams;
By default these params are equal to max_streams value
(avoid dynamic allocation and preserve current beahviour).
grow() is invoked from accept() FE call to refill streams tank for BE.
shrink() is invoked from close() FE call.
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Change-Id: I7af6a76d64813ee4a535323e27ffbfd75037fc92
|
|
Between test cases l4fwd application is closed with kill command.
Default kill signal is SIGTERM which is not supported in l4fwd.
To close l4fwd cleanly, signal has been changed to SIGINT.
Signed-off-by: Mariusz Drost <mariuszx.drost@intel.com>
Change-Id: If083f18cab22766154cc80afa26d45d953277294
|
|
Tests for packets that are out of order and lost. They validate data
send over netcat (TCP) to TLDK/l4fwd app in echo mode. Data is set to
be reordered or loss some percentage of packets.
Signed-off-by: Mariusz Drost <mariuszx.drost@intel.com>
Change-Id: I68f80d1fb75d5e9e5ed6d052ddcdc60588284f78
|
|
DPDK v18.11 is the latest LTS verison.
As of the API/ABI changes introduced in ether at v18.08, we cannot
compile l4fwd and nginx with old DPDK versions.
Change-Id: I225302d9a257e9bce4aa22ff84d76a57170e7eb7
Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
|
|
Change-Id: Idf7c65a8499f41d2cd53342f91f2b87e902faf58
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
|
|
Change-Id: I460b88661656b64558b442c7800b4edc20ad4b56
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
|
|
Introduce a new command-line option that specifies the file
with response payload.
Change-Id: I1a208eeebe1d87970da23956fb08949abf601422
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
|
|
- 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>
|
|
This mode allows for transactions where the request and response
are of different payload sizes
Change-Id: I0744159f0618c9241e576a4af1c02765bbf1dd9f
Signed-off-by: Remy Horton <remy.horton@intel.com>
|
|
Change-Id: I5cfcff8be275ab2a2fb4ad6a62777a8cb88f425b
Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
|
|
size for rx_synack
Change-Id: I47b7775445bc4ba647f9da9edafc4b255082e926
Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
|
|
* l4fwd app changed to include new command line parameters
hash and secret key for hash calculation.
* Changed l4fwd library to integrate siphash support for
calculating the sequence number.
Change-Id: I29c60836c8b17a118d76b619fd79398fac200f67
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
|
|
Change-Id: Ibe3ac4b401ea9c7680ab5d3e8c73557d95402ff2
Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
|
|
Changes in public API:
- removes tle_tcp_stream_synreqs() and tle_tcp_reject()
- adds tle_tcp_stream_update_cfg
Allocates and fills new stream when final ACK for 3-way handshake
is received.
Changes in l4fwd sample application:
prevents l4fwd to call close() on error event immediately:
first try to recv/send remaining data.
Change-Id: I8c5b9d365353084083731a4ce582197a8268688f
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
|
|
Supported functionality:
- open/close
- listen/accept/connect
- send/recv
In order to achieve that libtle_udp library was
reworked into libtle_l4p library that supports
both TCP and UDP protocols.
New libtle_timer library was introduced
(thanks to Cisco guys and Dave Barach <dbarach@cisco.com>
for sharing their timer code with us).
Sample application was also reworked significantly
to support both TCP and UDP traffic handling.
New UT were introduced.
Change-Id: I806b05011f521e89b58db403cfdd484a37beb775
Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
Signed-off-by: Karol Latecki <karolx.latecki@intel.com>
Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
|