aboutsummaryrefslogtreecommitdiffstats
path: root/docs/testing/user
diff options
context:
space:
mode:
authorChristian Trautman <ctrautma@redhat.com>2017-11-28 15:22:30 -0500
committerMartin Klozik <martinx.klozik@intel.com>2017-12-13 10:38:49 +0000
commitbdc5346c3d2170d857274262e1ecf6872d00249e (patch)
tree625e3f2ce3cd6b6f1eed811854f29e455317e9de /docs/testing/user
parentaa533b8a33eb0888b1f09ae8e773cfbeb1d3dda1 (diff)
trex_learning: Add learning packet option to T-Rex testing
Adds packet learning option which is available on other Traffic generators as a feature. This adds this feature to the Trex implementation inside of VSPerf. JIRA: VSPERF-547 Change-Id: Iaf4d0721b22eb780c25e29295c112d4fcb47b22c Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Diffstat (limited to 'docs/testing/user')
-rw-r--r--docs/testing/user/configguide/trafficgen.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/testing/user/configguide/trafficgen.rst b/docs/testing/user/configguide/trafficgen.rst
index 4b9eec6e..535f7995 100644
--- a/docs/testing/user/configguide/trafficgen.rst
+++ b/docs/testing/user/configguide/trafficgen.rst
@@ -826,6 +826,15 @@ Default value of this parameter is defined in conf/03_traffic.conf as follows:
TRAFFICGEN_TREX_RFC2544_TPUT_THRESHOLD = ''
+T-Rex can have learning packets enabled. For certain tests it may be beneficial
+to send some packets before starting test traffic to allow switch learning to take
+place. This can be adjusted with the following configurations:
+
+.. code-block:: console
+
+ TRAFFICGEN_TREX_LEARNING_MODE=True
+ TRAFFICGEN_TREX_LEARNING_DURATION=5
+
SR-IOV and Multistream layer 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T-Rex by default only accepts packets on the receive side if the destination mac matches the