aboutsummaryrefslogtreecommitdiffstats
path: root/conf/03_traffic.conf
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2018-02-26 12:25:21 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-26 12:25:21 +0000
commit5f01522a61c0a7d70f721fbbb4a378ab0992d395 (patch)
treee787f6e82e0c0b6b7f8d6f1e98dde326eba035c4 /conf/03_traffic.conf
parent06385651cf8d5db946b800a94f2453c11114f973 (diff)
parent3f0fe318257a7d1c73a17081302946cdc4e69c00 (diff)
Merge "Trex_speed_improvement: Add logic for dealing with high speed cards"
Diffstat (limited to 'conf/03_traffic.conf')
-rw-r--r--conf/03_traffic.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/03_traffic.conf b/conf/03_traffic.conf
index 67318893..8aff2e35 100644
--- a/conf/03_traffic.conf
+++ b/conf/03_traffic.conf
@@ -487,6 +487,11 @@ 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
+# Enable below options to force T-rex api to attempt to use speed specified on server
+# side when pushing traffic. For 40G use 40000. For 25G use 25000.
+TRAFFICGEN_TREX_FORCE_PORT_SPEED = False
+TRAFFICGEN_TREX_PORT_SPEED = 10000 # 10G
+
PATHS['trafficgen'] = {
'Trex': {
'type' : 'src',