trex_prom: Add promiscuous option for trex for SRIOV tests 19/43319/1
authorChristian Trautman <ctrautma@redhat.com>
Mon, 25 Sep 2017 21:22:38 +0000 (17:22 -0400)
committerMartin Klozik <martinx.klozik@intel.com>
Wed, 27 Sep 2017 15:26:45 +0000 (15:26 +0000)
commit7397237867a5cd1ccc39c019c42c4048b80fc90e
tree818aa45c668e7ed23f4195bb266d4cb68dd368d0
parenta91c1c1a1c31cd049f3cfeb665ea6d0b7aeec7de
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>
(cherry picked from commit 5d08ffdf317d31361a528bf1b6d33cd4d0007600)
conf/03_traffic.conf
conf/10_custom.conf
docs/testing/user/configguide/trafficgen.rst
tools/pkt_gen/trex/trex.py