Mon, Apr 20, 2015 at 01:47:43PM CEST, jprochaz(a)redhat.com wrote:
Due to problems with UDP netperf, we decided to set MTU on all devices
in all tests
to 8000. This patch updates only baremetal tests, as there are some unresolved
issues in virtual tests, which need to be resolved first.
Signed-off-by: Jiri Prochazka <jprochaz(a)redhat.com>
---
recipes/regression_tests/phase1/3_vlans.py | 6 ++++++
recipes/regression_tests/phase1/3_vlans_over_bond.py | 7 +++++++
recipes/regression_tests/phase1/bonding_test.py | 6 ++++++
recipes/regression_tests/phase1/simple_ping.py | 6 ++++++
recipes/regression_tests/phase2/3_vlans_over_team.py | 6 ++++++
recipes/regression_tests/phase2/team_test.py | 6 ++++++
6 files changed, 37 insertions(+)
diff --git a/recipes/regression_tests/phase1/3_vlans.py
b/recipes/regression_tests/phase1/3_vlans.py
index 0f1749d..3e9d96d 100644
--- a/recipes/regression_tests/phase1/3_vlans.py
+++ b/recipes/regression_tests/phase1/3_vlans.py
@@ -19,6 +19,12 @@ offloads = ["gso", "gro", "tso"]
ipv = ctl.get_alias('ipv')
+# ------
+# MTU set
+# ------
+m1.run("ip link set dev %s mtu 8000" % m1.get_devname("eth1"))
+m2.run("ip link set dev %s mtu 8000" % m2.get_devname("eth1"))
how about to rather do:
"m1.set_mtu(8000)" ?