From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AAD2C42CBF; Thu, 15 Jun 2023 05:26:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F6E342D75; Thu, 15 Jun 2023 05:26:42 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id E11A740DDA for ; Thu, 15 Jun 2023 05:26:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686799601; x=1718335601; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=w9qZH1ON2ZicKIfmg6CN6vz4maNgAP6xKXWFCwNZjCQ=; b=OgoEe73OiAvrboM3xdCPztPw2kjqkwUMPLPVKE7DJogGCmQZvnDKexWM z6lqFT0xMMA/P3y5P8CxmrRhHyOwnbCHaUBcaetRpeo/D8hfFFgjfp0aZ GlsRHVhf+WyeR15/cEHJXNqrQ4W1IOP2m5o889wb2GTgG8N3vMwHRNZIp owJyYL0WMT0QW9BRa1PoYHQKmXrFRSTC4YxpuNVasVWA5hMW6XdwriOra 89hX8T0tLcWJPNNLn04afQK3RcUaz43I3JWEePjUFC/OGSY+W3evrkCzp yEtXngVqwYWZYv5fQBznnMBWisLipwpfYHms19ah6Rl48VIDwW/hgsPy+ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10741"; a="358797222" X-IronPort-AV: E=Sophos;i="6.00,243,1681196400"; d="scan'208";a="358797222" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2023 20:26:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10741"; a="662625105" X-IronPort-AV: E=Sophos;i="6.00,243,1681196400"; d="scan'208";a="662625105" Received: from unknown (HELO dut222..) ([10.239.252.222]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2023 20:26:38 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1] vm2vm_virtio_net_perf_cbdma: modify start vhost-user back-end queues Date: Thu, 15 Jun 2023 11:26:30 +0800 Message-Id: <20230615032630.952838-1-weix.ling@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org 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 --- test_plans/vm2vm_virtio_net_perf_cbdma_test_plan.rst | 8 ++++---- tests/TestSuite_vm2vm_virtio_net_perf_cbdma.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test_plans/vm2vm_virtio_net_perf_cbdma_test_plan.rst b/test_plans/vm2vm_virtio_net_perf_cbdma_test_plan.rst index 87e91c17..365da668 100644 --- a/test_plans/vm2vm_virtio_net_perf_cbdma_test_plan.rst +++ b/test_plans/vm2vm_virtio_net_perf_cbdma_test_plan.rst @@ -241,8 +241,8 @@ The dynamic change of multi-queues number and iova as VA and PA mode also test. 12. Quit and relaunch vhost w/o CBDMA channels:: # ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost \ - --vdev 'net_vhost0,iface=vhost-net0,client=1,tso=1,queues=4' \ - --vdev 'net_vhost1,iface=vhost-net1,client=1,tso=1,queues=4' \ + --vdev 'net_vhost0,iface=vhost-net0,client=1,tso=1,queues=8' \ + --vdev 'net_vhost1,iface=vhost-net1,client=1,tso=1,queues=8' \ -- -i --nb-cores=4 --txd=1024 --rxd=1024 --txq=4 --rxq=4 testpmd>start @@ -266,8 +266,8 @@ The dynamic change of multi-queues number and iova as VA and PA mode also test. 17. Quit and relaunch vhost with 1 queues:: # ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --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 --txq=1 --rxq=1 testpmd>start diff --git a/tests/TestSuite_vm2vm_virtio_net_perf_cbdma.py b/tests/TestSuite_vm2vm_virtio_net_perf_cbdma.py index c40c22f6..cbfbe7b9 100644 --- a/tests/TestSuite_vm2vm_virtio_net_perf_cbdma.py +++ b/tests/TestSuite_vm2vm_virtio_net_perf_cbdma.py @@ -344,8 +344,8 @@ class TestVM2VMVirtioNetPerfCbdma(TestCase): self.pmdout_vhost_user.execute_cmd("quit", "#") eal_param = ( - "--vdev 'net_vhost0,iface=vhost-net0,client=1,queues=4,tso=1' " - + "--vdev 'net_vhost1,iface=vhost-net1,client=1,queues=4,tso=1'" + "--vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,tso=1' " + + "--vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,tso=1'" ) param = " --nb-cores=4 --txd=1024 --rxd=1024 --txq=4 --rxq=4" self.start_vhost_testpmd( @@ -363,8 +363,8 @@ class TestVM2VMVirtioNetPerfCbdma(TestCase): self.pmdout_vhost_user.execute_cmd("quit", "#") eal_param = ( - "--vdev 'net_vhost0,iface=vhost-net0,client=1,queues=4,tso=1' " - + "--vdev 'net_vhost1,iface=vhost-net1,client=1,queues=4,tso=1'" + "--vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,tso=1' " + + "--vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,tso=1'" ) param = " --nb-cores=4 --txd=1024 --rxd=1024 --rxq=1 --txq=1" self.start_vhost_testpmd( -- 2.34.1