aboutsummaryrefslogtreecommitdiffstats
path: root/examples/l4fwd/README
diff options
context:
space:
mode:
authorRemy Horton <remy.horton@intel.com>2017-05-30 10:53:25 +0100
committerRemy Horton <remy.horton@intel.com>2017-06-30 11:09:47 +0100
commite151ee29d02d7802fab9e32b50ced54fd8d64160 (patch)
treea8488696519a8900ab23eb7dd1f02fc3b3b9fb0f /examples/l4fwd/README
parent6e95f5eca55672bdd90aab6cdbb3b479985782f3 (diff)
Add l4fwd RXTX mode
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>
Diffstat (limited to 'examples/l4fwd/README')
-rw-r--r--examples/l4fwd/README9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/l4fwd/README b/examples/l4fwd/README
index a232537..a7ae56a 100644
--- a/examples/l4fwd/README
+++ b/examples/l4fwd/README
@@ -55,10 +55,10 @@
FE configuration record format:
- lcore=<uint>,op=<"rx|tx|echo|fwd">,\
+ lcore=<uint>,op=<"rx|tx|echo|fwd|rxtx">,\
laddr=<ip>,lport=<uint16>,raddr=<ip>,rport=<uint16>,\
[txlen=<uint>,fwladdr=<ip>,fwlport=<uint16>,fwraddr=<ip>,fwrport=<uint16>,\
- belcore=<uint>]
+ belcore=<uint>,rxlen=<uint>]
lcore - EAL lcore to manage that stream(s) in the FE. It is an mandatory
option.
@@ -70,12 +70,15 @@
"echo" - mimic recvfrom(..., &addr);sendto(..., &addr);
on that stream.
"fwd" - forward packets between streams.
+ "rxtx" - Receive/reply transactions on stream.
It is an mandatory option.
laddr - local address for the stream to open. It is an mandatory option.
lport - local port for the stream to open. It is an mandatory option.
raddr - remote address for the stream to open. It is an mandatory option.
rport - remote port for the stream to open. It is an mandatory option.
- txlen - data length sending in each packet (mandatory for "tx" mode only).
+ txlen - data length sending in each packet.
+ (mandatory for "tx" & "rxtx" modes only).
+ rxlen - Expected response length (mandatory for "rxtx" mode only).
fwladdr - local address for the forwarding stream(s) to open
(mandatory for "fwd" mode only).
fwlport - local port for the forwarding stream(s) to open