[V1] test/vf_jumboframe:when driver is ixgbe, dpdk does not need change

Message ID 20211217164636.22246-1-yanx.xia@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] test/vf_jumboframe:when driver is ixgbe, dpdk does not need change |

Checks

Context Check Description
ci/Intel-dts-suite-test fail Testing issues
ci/Intel-dts-doc-test success Testing OK

Commit Message

Yan Xia Dec. 17, 2021, 4:46 p.m. UTC
  when driver is ixgbe,dpdk does not need change

Signed-off-by: Yan Xia <yanx.xia@intel.com>
---
 test_plans/vf_jumboframe_test_plan.rst | 4 ----
 tests/TestSuite_vf_jumboframe.py       | 5 -----
 2 files changed, 9 deletions(-)
  

Comments

Tu, Lijuan Jan. 5, 2022, 8:41 a.m. UTC | #1
> -----Original Message-----
> From: Yan Xia <yanx.xia@intel.com>
> Sent: 2021年12月18日 0:47
> To: dts@dpdk.org
> Cc: Xia, YanX <yanx.xia@intel.com>
> Subject: [dts][PATCH V1] test/vf_jumboframe:when driver is ixgbe, dpdk does
> not need change
> 
> when driver is ixgbe,dpdk does not need change
> 
> Signed-off-by: Yan Xia <yanx.xia@intel.com>

Applied with commit message changed.
  

Patch

diff --git a/test_plans/vf_jumboframe_test_plan.rst b/test_plans/vf_jumboframe_test_plan.rst
index 6f8f8b6a..2f4cae3d 100644
--- a/test_plans/vf_jumboframe_test_plan.rst
+++ b/test_plans/vf_jumboframe_test_plan.rst
@@ -107,10 +107,6 @@  Testing the support of Jumbo Frames in Poll Mode Drivers consists in
 configuring the maximum packet length with a value greater than 1518, and in
 sending to the test machine packets with the following lengths (CRC included):
 
-when driver is ixgbe, turn on the jumbo_frame switch::
-
-    sed -i -e 's/.jumbo_frame    = .*$/.jumbo_frame = 1,/g' app/test-pmd/testpmd.c
-
 #. packet length = 1518 - 1
 
 #. packet length = 1518
diff --git a/tests/TestSuite_vf_jumboframe.py b/tests/TestSuite_vf_jumboframe.py
index 9c5db0ae..c8ae7b43 100644
--- a/tests/TestSuite_vf_jumboframe.py
+++ b/tests/TestSuite_vf_jumboframe.py
@@ -147,11 +147,6 @@  class TestVfJumboFrame(TestCase):
             if self.vm_dut is None:
                 raise Exception("Set up VM ENV failed!")
 
-            TESTPMD_MAIN = "app/test-pmd/testpmd.c"
-            if self.kdriver == "ixgbe":
-                self.vm_dut.send_expect("sed -i -e 's/.jumbo_frame    = .*$/.jumbo_frame = 1,/g' %s" % TESTPMD_MAIN, "# ")
-                self.vm_dut.build_install_dpdk(self.target)
-
             self.vm_testpmd = PmdOutput(self.vm_dut)
 
         except Exception as e: