* [dts][PATCH V2 1/2] test_plans/basic_4k_pages_cbdma_test_plan: delete dma_ring_size parameter
2022-09-07 9:27 [dts][PATCH V2 0/2] delete dma_ring_size parameter Wei Ling
@ 2022-09-07 9:27 ` Wei Ling
2022-09-07 9:27 ` [dts][PATCH V2 2/2] tests/basic_4k_pages_cbdma: " Wei Ling
1 sibling, 0 replies; 5+ messages in thread
From: Wei Ling @ 2022-09-07 9:27 UTC (permalink / raw)
To: dts; +Cc: Wei Ling
By DPDK have removed dma_ring_size parameter, so
delete dma_ring_size parameter from
basic_4k_pages_cbdma testplan.
Signed-off-by: Wei Ling <weix.ling@intel.com>
---
test_plans/basic_4k_pages_cbdma_test_plan.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test_plans/basic_4k_pages_cbdma_test_plan.rst b/test_plans/basic_4k_pages_cbdma_test_plan.rst
index 66ce000f..009a200c 100644
--- a/test_plans/basic_4k_pages_cbdma_test_plan.rst
+++ b/test_plans/basic_4k_pages_cbdma_test_plan.rst
@@ -135,8 +135,8 @@ when vhost uses the asynchronous operations with CBDMA channels in 4K-pages memo
rm -rf vhost-net*
./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-4 -n 4 --no-huge -m 1024 --file-prefix=vhost -a 0000:00:04.0 -a 0000:00:04.1 \
- --vdev 'net_vhost0,iface=vhost-net0,queues=1,tso=1,dmas=[txq0;rxq0],dma_ring_size=2048' \
- --vdev 'net_vhost1,iface=vhost-net1,queues=1,tso=1,dmas=[txq0;rxq0],dma_ring_size=2048' \
+ --vdev 'net_vhost0,iface=vhost-net0,queues=1,tso=1,dmas=[txq0;rxq0]' \
+ --vdev 'net_vhost1,iface=vhost-net1,queues=1,tso=1,dmas=[txq0;rxq0]' \
--iova=va -- -i --nb-cores=2 --txd=1024 --rxd=1024 --lcore-dma=[lcore3@0000:00:04.0,lcore4@0000:00:04.1]
testpmd>start
@@ -194,8 +194,8 @@ when vhost uses the asynchronous operations with CBDMA channels in 4K-pages memo
rm -rf vhost-net*
./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-4 -n 4 --no-huge -m 1024 --file-prefix=vhost -a 0000:00:04.0 -a 0000:00:04.1 \
- --vdev 'net_vhost0,iface=vhost-net0,queues=1,tso=1,dmas=[txq0;rxq0],dma_ring_size=2048' \
- --vdev 'net_vhost1,iface=vhost-net1,queues=1,tso=1,dmas=[txq0;rxq0],dma_ring_size=2048' \
+ --vdev 'net_vhost0,iface=vhost-net0,queues=1,tso=1,dmas=[txq0;rxq0]' \
+ --vdev 'net_vhost1,iface=vhost-net1,queues=1,tso=1,dmas=[txq0;rxq0]' \
--iova=va -- -i --nb-cores=2 --txd=1024 --rxd=1024 --lcore-dma=[lcore3@0000:00:04.0,lcore4@0000:00:04.1]
testpmd>start
--
2.25.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts][PATCH V2 2/2] tests/basic_4k_pages_cbdma: delete dma_ring_size parameter
2022-09-07 9:27 [dts][PATCH V2 0/2] delete dma_ring_size parameter Wei Ling
2022-09-07 9:27 ` [dts][PATCH V2 1/2] test_plans/basic_4k_pages_cbdma_test_plan: " Wei Ling
@ 2022-09-07 9:27 ` Wei Ling
2022-09-07 10:26 ` He, Xingguang
2022-09-19 1:42 ` lijuan.tu
1 sibling, 2 replies; 5+ messages in thread
From: Wei Ling @ 2022-09-07 9:27 UTC (permalink / raw)
To: dts; +Cc: Wei Ling
By DPDK have removed dma_ring_size parameter, so
delete dma_ring_size parameter from
basic_4k_pages_cbdma tessuite.
Signed-off-by: Wei Ling <weix.ling@intel.com>
---
tests/TestSuite_basic_4k_pages_cbdma.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/TestSuite_basic_4k_pages_cbdma.py b/tests/TestSuite_basic_4k_pages_cbdma.py
index f7cc6a32..2c316a4f 100644
--- a/tests/TestSuite_basic_4k_pages_cbdma.py
+++ b/tests/TestSuite_basic_4k_pages_cbdma.py
@@ -569,8 +569,8 @@ class TestBasic4kPagesCbdma(TestCase):
)
vhost_eal_param = (
"--no-huge -m 1024 "
- + "--vdev 'net_vhost0,iface=./vhost-net0,queues=1,tso=1,dmas=[txq0;rxq0],dma_ring_size=2048'"
- + " --vdev 'net_vhost1,iface=./vhost-net1,queues=1,tso=1,dmas=[txq0;rxq0],dma_ring_size=2048'"
+ + "--vdev 'net_vhost0,iface=./vhost-net0,queues=1,tso=1,dmas=[txq0;rxq0]'"
+ + " --vdev 'net_vhost1,iface=./vhost-net1,queues=1,tso=1,dmas=[txq0;rxq0]'"
)
vhost_param = " --nb-cores=2 --txd=1024 --rxd=1024 --lcore-dma=[%s]" % lcore_dma
self.start_vhost_user_testpmd(
@@ -607,8 +607,8 @@ class TestBasic4kPagesCbdma(TestCase):
)
vhost_eal_param = (
"--no-huge -m 1024 "
- + "--vdev 'net_vhost0,iface=./vhost-net0,queues=1,tso=1,dmas=[txq0;rxq0],dma_ring_size=2048'"
- + " --vdev 'net_vhost1,iface=./vhost-net1,queues=1,tso=1,dmas=[txq0;rxq0],dma_ring_size=2048'"
+ + "--vdev 'net_vhost0,iface=./vhost-net0,queues=1,tso=1,dmas=[txq0;rxq0]'"
+ + " --vdev 'net_vhost1,iface=./vhost-net1,queues=1,tso=1,dmas=[txq0;rxq0]'"
)
vhost_param = " --nb-cores=2 --txd=1024 --rxd=1024 --lcore-dma=[%s]" % lcore_dma
self.start_vhost_user_testpmd(
--
2.25.1
^ permalink raw reply [flat|nested] 5+ messages in thread