summaryrefslogtreecommitdiffstats
path: root/conf/03_traffic.conf
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 /conf/03_traffic.conf
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 'conf/03_traffic.conf')
-rw-r--r--conf/03_traffic.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/03_traffic.conf b/conf/03_traffic.conf
index a88e4bcc..3833a040 100644
--- a/conf/03_traffic.conf
+++ b/conf/03_traffic.conf
@@ -454,8 +454,11 @@ TRAFFICGEN_TREX_LATENCY_PPS = 1000
# Example 10 Gbps: TRAFFICGEN_TREXINE_SPEED_GBPS = '10'
# Today only 10 Gbps is supported
TRAFFICGEN_TREX_LINE_SPEED_GBPS = '10'
+# Enable of learning packets before sending test traffic
+TRAFFICGEN_TREX_LEARNING_MODE = True
+TRAFFICGEN_TREX_LEARNING_DURATION = 5
# FOR SR-IOV or multistream layer 2 tests to work with T-Rex enable Promiscuous mode
-TRAFFICGEN_TREX_PROMISCUOUS=False
+TRAFFICGEN_TREX_PROMISCUOUS = False
PATHS['trafficgen'] = {
'Trex': {
'type' : 'src',