As DPDK commit b82f55c0(net/vhost: use API to set max queue pairs), need
use the same queues number on vhose-user back-end side as front-end
side, so modify the testplan and testsuite.
Signed-off-by: Wei Ling <weix.ling@intel.com>
---
test_plans/basic_4k_pages_cbdma_test_plan.rst | 8 ++++----
tests/TestSuite_basic_4k_pages_cbdma.py | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
@@ -332,8 +332,8 @@ The dynamic change of multi-queues number is also tested.
9. Quit and relaunch vhost w/o CBDMA channels::
./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --no-pci --file-prefix=vhost \
- --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=4' \
- --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=4' \
+ --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8' \
+ --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8' \
-- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=4 --txq=4
testpmd>start
@@ -357,8 +357,8 @@ The dynamic change of multi-queues number is also tested.
14. Quit and relaunch vhost with 1 queues::
./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --no-pci --file-prefix=vhost \
- --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=4' \
- --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=4' \
+ --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8' \
+ --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8' \
-- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=1 --txq=1
testpmd>start
@@ -895,8 +895,8 @@ class TestBasic4kPagesCbdma(TestCase):
self.vhost_user_pmd.quit()
vhost_eal_param = (
- "--vdev 'net_vhost0,iface=./vhost-net0,client=1,queues=4'"
- + " --vdev 'net_vhost1,iface=./vhost-net1,client=1,queues=4'"
+ "--vdev 'net_vhost0,iface=./vhost-net0,client=1,queues=8'"
+ + " --vdev 'net_vhost1,iface=./vhost-net1,client=1,queues=8'"
)
vhost_param = "--nb-cores=4 --txd=1024 --rxd=1024 --rxq=4 --txq=4"
self.start_vhost_user_testpmd(
@@ -914,8 +914,8 @@ class TestBasic4kPagesCbdma(TestCase):
self.vhost_user_pmd.quit()
vhost_eal_param = (
- "--vdev 'net_vhost0,iface=./vhost-net0,client=1,queues=4'"
- + " --vdev 'net_vhost1,iface=./vhost-net1,client=1,queues=4'"
+ "--vdev 'net_vhost0,iface=./vhost-net0,client=1,queues=8'"
+ + " --vdev 'net_vhost1,iface=./vhost-net1,client=1,queues=8'"
)
vhost_param = " --nb-cores=4 --txd=1024 --rxd=1024 --rxq=1 --txq=1"
self.start_vhost_user_testpmd(