[V2] tests/distributor: remove dpdk modification
Checks
Commit Message
According to dpdk commit e7f6d1289bc2 ("examples/distributor: reduce Tx queue number to 1").
remove the modification of dpdk code.
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
test_plans/distributor_test_plan.rst | 4 ----
tests/TestSuite_distributor.py | 9 ---------
2 files changed, 13 deletions(-)
Comments
> -----Original Message-----
> From: Jiale Song <songx.jiale@intel.com>
> Sent: Thursday, March 31, 2022 8:43 PM
> To: dts@dpdk.org
> Cc: Jiale, SongX <songx.jiale@intel.com>
> Subject: [dts] [PATCH V2] tests/distributor: remove dpdk modification
>
Tested-by: Zhimin Huang <zhiminx.huang@intel.com >
On Thu, 31 Mar 2022 12:43:20 +0000, Jiale Song <songx.jiale@intel.com> wrote:
> According to dpdk commit e7f6d1289bc2 ("examples/distributor: reduce Tx queue number to 1").
> remove the modification of dpdk code.
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
Applied, thanks
@@ -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
@@ -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")
@@ -301,8 +296,4 @@ class TestDistributor(TestCase):
"""
Run after each test suite.
"""
- self.dut.send_expect(
- "sed -i -e 's/.*txRings = .*/\\tconst uint16_t rxRings = 1, txRings = rte_lcore_count() - 1;/' ./examples/distributor/main.c",
- "#",
- )
pass