aboutsummaryrefslogtreecommitdiffstats
path: root/docs/testing/user
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 /docs/testing/user
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 'docs/testing/user')
-rw-r--r--docs/testing/user/configguide/trafficgen.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/testing/user/configguide/trafficgen.rst b/docs/testing/user/configguide/trafficgen.rst
index 7c14c55d..2d2b9a9e 100644
--- a/docs/testing/user/configguide/trafficgen.rst
+++ b/docs/testing/user/configguide/trafficgen.rst
@@ -821,3 +821,15 @@ Default value of this parameter is defined in conf/03_traffic.conf as follows:
.. code-block:: console
TRAFFICGEN_TREX_RFC2544_TPUT_THRESHOLD = ''
+
+SR-IOV
+~~~~~~
+T-Rex by default only accepts packets on the receive side if the destination mac matches the
+MAC address specificed in the /etc/trex-cfg.yaml on the server side. For SR-IOV this creates
+challenges with modifying the MAC address in the traffic profile to correctly flow packets
+through specified VFs. To remove this limitation enable promiscuous mode on T-Rex to allow
+all packets regardless of the destination mac to be accepted.
+
+.. code-block:: console
+
+ TRAFFICGEN_TREX_PROMISCUOUS=True