[V1] tests/distributor: remove dpdk modification

Message ID 20220331113836.4080-1-songx.jiale@intel.com (mailing list archive)
State Superseded
Headers
Series [V1] tests/distributor: remove dpdk modification |

Checks

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

Commit Message

Jiale, SongX March 31, 2022, 11:38 a.m. UTC
  Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 test_plans/distributor_test_plan.rst | 4 ----
 tests/TestSuite_distributor.py       | 5 -----
 2 files changed, 9 deletions(-)
  

Patch

diff --git a/test_plans/distributor_test_plan.rst b/test_plans/distributor_test_plan.rst
index 1e99a037..7a1f96bf 100644
--- a/test_plans/distributor_test_plan.rst
+++ b/test_plans/distributor_test_plan.rst
@@ -71,10 +71,6 @@  Verify burst distributor API cost much less cycles then normal version
 
 Test case: Distribute with maximum workers
 ==========================================
-In order to make more queue as worker, let a core receive and a core send::
-
-           sed -i -e 's/.*txRings = .*/\\tconst uint16_t rxRings = 1, txRings = 1;/' ./examples/distributor/main.c
-
 Start distributor sample with 63(0xeffffffffffffffff0) workers
 
 Send several packets with ip address increasing
diff --git a/tests/TestSuite_distributor.py b/tests/TestSuite_distributor.py
index c945fb32..24818277 100644
--- a/tests/TestSuite_distributor.py
+++ b/tests/TestSuite_distributor.py
@@ -45,11 +45,6 @@  class TestDistributor(TestCase):
         """
         Run at the start of each test suite.
         """
-        # reduce tx queues for enable many workers
-        self.dut.send_expect(
-            "sed -i -e 's/.*txRings = .*/\\tconst uint16_t rxRings = 1, txRings = 1;/' ./examples/distributor/main.c",
-            "#",
-        )
         out = self.dut.build_dpdk_apps("./examples/distributor")
         self.verify("Error" not in out, "Compilation error")
         self.verify("No such" not in out, "Compilation error")