aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorChristian Trautman <ctrautma@redhat.com>2017-09-25 17:22:38 -0400
committerChristian Trautman <ctrautma@redhat.com>2017-09-25 17:22:38 -0400
commit5d08ffdf317d31361a528bf1b6d33cd4d0007600 (patch)
tree49bb5ca1e3de78dc198d5192107f32649eacbd8a /conf
parent0549aa1f1a694899fec3b16b44230b5c60d2fa29 (diff)
trex_prom: Add promiscuous option for trex for SRIOV tests
Adds option to enable promiscuous mode for Trex traffic generator to allow for SR-IOV tests to work correctly. Trex by default only accepts packets based on destination MAC address matching what is configured on server in /etc/trex-cfg.yaml. This removes that limitation since SR-IOV tests require mac addresses to be modified in the generated packets to correctly route packets to the relevant VFs. JIRA: VSPERF-531 Change-Id: I19b64f364c8a1b656994c82c96f47a68b92486d8 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/03_traffic.conf2
-rw-r--r--conf/10_custom.conf2
2 files changed, 4 insertions, 0 deletions
diff --git a/conf/03_traffic.conf b/conf/03_traffic.conf
index 5f6d791c..419ca704 100644
--- a/conf/03_traffic.conf
+++ b/conf/03_traffic.conf
@@ -441,6 +441,8 @@ 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'
+# FOR SR-IOV tests to work with T-Rex enable Promiscuous mode
+TRAFFICGEN_TREX_PROMISCUOUS=False
PATHS['trafficgen'] = {
'trex': {
'type' : 'src',
diff --git a/conf/10_custom.conf b/conf/10_custom.conf
index 6011e6a8..9dc605e0 100644
--- a/conf/10_custom.conf
+++ b/conf/10_custom.conf
@@ -136,6 +136,8 @@ 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'
+# FOR SR-IOV tests to work with T-Rex enable Promiscuous mode
+TRAFFICGEN_TREX_PROMISCUOUS=False
# TREX Configuration and Connection Info-- END
####################################################