path: root/doc
diff options
authorStephen Hemminger <>2019-04-10 10:41:30 -0700
committerThomas Monjalon <>2019-04-22 13:20:33 +0200
commitbf5b2126bf44b2afa8ac579c03036acf9dacdcff (patch)
treec56dc86715be9dd4a4ae0d9ec5a8a28486c4d183 /doc
parent80bdf91dc8ee53c37e3f1f2264a882695cb626e6 (diff)
app/testpmd: add ability to set Tx IP and UDP parameters
This patch changes what testpmd uses as IP addresses when run in transmit only mode. The old code was using -> but these addresses are reserved for private Internet by RFC 1918. The new code uses and which are on the subnet reserved for performance testing by RFC 2544. New command line option allows the user to pick any other src/dst address desired. Notice: this changes the default IP address for transmit only. It may cause some user who has hardcoded network addresses to report a regression. Signed-off-by: Stephen Hemminger <> Acked-by: Bernard Iremonger <>
Diffstat (limited to 'doc')
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst
index 89a097d..fdf6ec7 100644
--- a/doc/guides/testpmd_app_ug/run_app.rst
+++ b/doc/guides/testpmd_app_ug/run_app.rst
@@ -121,12 +121,24 @@ The command line options are:
* ``--eth-peer=N,XX:XX:XX:XX:XX:XX``
Set the MAC address ``XX:XX:XX:XX:XX:XX`` of the peer port N,
where 0 <= N < ``CONFIG_RTE_MAX_ETHPORTS`` from the configuration file.
+* ``--tx-ip=SRC,DST``
+ Set the source and destination IP address used when doing transmit only test.
+ The defaults address values are source and
+ destination These are special purpose addresses
+ reserved for benchmarking (RFC 2544).
+* ``--tx-udp=SRC[,DST]``
+ Set the source and destination UDP port number for transmit test only test.
+ The default port is the port 9 which is defined for the discard protocol
+ (RFC 863).
* ``--pkt-filter-mode=mode``
Set Flow Director mode where mode is either ``none`` (the default), ``signature`` or ``perfect``.