* RE: [dts] [PATCH V2] tests/distributor: remove dpdk modification
2022-03-31 12:43 [dts] [PATCH V2] tests/distributor: remove dpdk modification Jiale Song
@ 2022-03-31 5:19 ` Huang, ZhiminX
2022-03-31 6:36 ` lijuan.tu
1 sibling, 0 replies; 3+ messages in thread
From: Huang, ZhiminX @ 2022-03-31 5:19 UTC (permalink / raw)
To: Jiale, SongX, dts; +Cc: Jiale, SongX
[-- Attachment #1: Type: text/plain, Size: 313 bytes --]
> -----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 >
[-- Attachment #2: TestDistributor.log --]
[-- Type: application/octet-stream, Size: 143248 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V2] tests/distributor: remove dpdk modification
2022-03-31 12:43 [dts] [PATCH V2] tests/distributor: remove dpdk modification Jiale Song
2022-03-31 5:19 ` Huang, ZhiminX
@ 2022-03-31 6:36 ` lijuan.tu
1 sibling, 0 replies; 3+ messages in thread
From: lijuan.tu @ 2022-03-31 6:36 UTC (permalink / raw)
To: dts, Jiale Song; +Cc: Jiale Song
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V2] tests/distributor: remove dpdk modification
@ 2022-03-31 12:43 Jiale Song
2022-03-31 5:19 ` Huang, ZhiminX
2022-03-31 6:36 ` lijuan.tu
0 siblings, 2 replies; 3+ messages in thread
From: Jiale Song @ 2022-03-31 12:43 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
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(-)
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..24dd6d5e 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")
@@ -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
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-31 6:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 12:43 [dts] [PATCH V2] tests/distributor: remove dpdk modification Jiale Song
2022-03-31 5:19 ` Huang, ZhiminX
2022-03-31 6:36 ` lijuan.tu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).