test suite reviews and discussions
 help / color / mirror / Atom feed
From: Wei Ling <weix.ling@intel.com>
To: dts@dpdk.org
Cc: Wei Ling <weix.ling@intel.com>
Subject: [dts][PATCH V1] basic_4k_pages_cbdma: modify start vhost-user back-end queues
Date: Thu, 15 Jun 2023 11:09:34 +0800	[thread overview]
Message-ID: <20230615030934.951957-1-weix.ling@intel.com> (raw)

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(-)

diff --git a/test_plans/basic_4k_pages_cbdma_test_plan.rst b/test_plans/basic_4k_pages_cbdma_test_plan.rst
index c9586521..cf61d5ae 100644
--- a/test_plans/basic_4k_pages_cbdma_test_plan.rst
+++ b/test_plans/basic_4k_pages_cbdma_test_plan.rst
@@ -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
 
diff --git a/tests/TestSuite_basic_4k_pages_cbdma.py b/tests/TestSuite_basic_4k_pages_cbdma.py
index 0f7936cb..df04953b 100644
--- a/tests/TestSuite_basic_4k_pages_cbdma.py
+++ b/tests/TestSuite_basic_4k_pages_cbdma.py
@@ -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(
-- 
2.34.1


                 reply	other threads:[~2023-06-15  3:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230615030934.951957-1-weix.ling@intel.com \
    --to=weix.ling@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).