[dts] [PATCH V1] tests/vf_offload: port 1 set mtu to 9000

xiewei weix.xie at intel.com
Sat Feb 20 15:59:01 CET 2021


port 1 also set mtu to 9000.

Signed-off-by: xiewei <weix.xie at intel.com>
---
 tests/TestSuite_vf_offload.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_vf_offload.py b/tests/TestSuite_vf_offload.py
index 8e8a7b22..b819c6c5 100644
--- a/tests/TestSuite_vf_offload.py
+++ b/tests/TestSuite_vf_offload.py
@@ -393,6 +393,7 @@ class TestVfOffload(TestCase):
         self.tester.send_expect("ethtool -K %s rx off tx off tso off gso off gro off lro off" % tx_interface, "# ")
         self.tester.send_expect("ip l set %s up" % tx_interface, "# ")
         self.dut.send_expect("ifconfig %s mtu %s" % (self.dut.ports_info[0]['intf'], TSO_MTU), "# ")
+        self.dut.send_expect("ifconfig %s mtu %s" % (self.dut.ports_info[1]['intf'], TSO_MTU), "# ")
 
         self.portMask = utils.create_mask([self.vm0_dut_ports[0]])
         self.vm0_testpmd.start_testpmd(VM_CORES_MASK, "--portmask=0x3 "  + "--enable-rx-cksum " + "--max-pkt-len=%s" % TSO_MTU)
-- 
2.17.1



More information about the dts mailing list