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 A605BA00C2; Wed, 30 Nov 2022 10:33:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7CAB240151; Wed, 30 Nov 2022 10:33:58 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 0D5C24014F for ; Wed, 30 Nov 2022 10:33:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669800837; x=1701336837; h=from:to:cc:subject:date:message-id; bh=V/mYMMhb9aycBUaBitChOkXEMGGbKfJ4oBOzoovkgao=; b=ZfnaBxpVsxPvZkEEhKPYgeXEEPIl4xnb3sBNAvkFv6cRVVUXh1oTrX0u Ve/fOI5969V3bk5BMpww2IkFsjujKQFHSIg7eL01pH9JzB1AOpGi/S4Xu aAtyxjsijrcxWwDAlVHxj1DpsR4Biatw4sOfemjLsAeue6Mptv/5ykAr5 v6Vodp9npGEliTZwjrBYkaOQjcmaxqd12Nm4MI1vgjjA3OkTwcDdhVVyJ 0vajm2Ev29AoMNO84XvCeGa0aoq/NNVYAHSXI2EwolEUHZF44QIGbLuZJ K0CiQ6Bkl1p5UHQ1KaODPjRQ6YtUoEE95oCeoKC4wxB2lp+CNpGgqziJQ w==; X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="379630906" X-IronPort-AV: E=Sophos;i="5.96,206,1665471600"; d="scan'208";a="379630906" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2022 01:33:55 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="712742734" X-IronPort-AV: E=Sophos;i="5.96,206,1665471600"; d="scan'208";a="712742734" Received: from unknown (HELO localhost.localdomain) ([10.239.252.15]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2022 01:33:54 -0800 From: Dukai Yuan To: dts@dpdk.org Cc: Dukai Yuan Subject: [dts][PATCH V1] test_plans/vm2vm_virtio_user_test_plan: fix testplan issue Date: Wed, 30 Nov 2022 17:29:26 +0800 Message-Id: <20221130092926.15156-1-dukaix.yuan@intel.com> X-Mailer: git-send-email 2.17.1 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 1.Modify wrong parameter `packed_vec` to `vectorized`. 2.Add `set fwd rxonly` and `start` steps when launch virtio-user side testpmd. 3.Modify case 12 testpmd wrong path. Signed-off-by: Dukai Yuan --- test_plans/vm2vm_virtio_user_test_plan.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/test_plans/vm2vm_virtio_user_test_plan.rst b/test_plans/vm2vm_virtio_user_test_plan.rst index d83f2719..7637e9ee 100644 --- a/test_plans/vm2vm_virtio_user_test_plan.rst +++ b/test_plans/vm2vm_virtio_user_test_plan.rst @@ -181,6 +181,8 @@ Test Case 3: packed virtqueue vm2vm non-mergeable path test --no-pci --file-prefix=virtio1 \ --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=0 \ -- -i --nb-cores=1 --txd=256 --rxd=256 + testpmd>set fwd rxonly + testpmd>start 3. Attach pdump secondary process to primary process by same file-prefix:: @@ -255,7 +257,7 @@ Test Case 4: packed virtqueue vm2vm inorder non-mergeable path test ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \ --no-pci --file-prefix=virtio \ - --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,packed_vec=1 \ + --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1 \ -- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256 testpmd>set burst 1 testpmd>start tx_first 27 @@ -284,7 +286,7 @@ Test Case 4: packed virtqueue vm2vm inorder non-mergeable path test ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \ --no-pci \ - --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,packed_vec=1 \ + --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1 \ -- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256 testpmd>set burst 1 testpmd>start tx_first 27 @@ -457,6 +459,8 @@ Test Case 7: split virtqueue vm2vm non-mergeable path test --no-pci --file-prefix=virtio1 \ --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0 \ -- -i --nb-cores=1 --txd=256 --rxd=256 --enable-hw-vlan-strip + testpmd>set fwd rxonly + testpmd>start 3. Attach pdump secondary process to primary process by same file-prefix:: @@ -585,6 +589,8 @@ Test Case 9: split virtqueue vm2vm vector_rx path test --no-pci --file-prefix=virtio1 \ --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0,vectorized=1,queue_size=256 \ -- -i --nb-cores=1 --txd=256 --rxd=256 + testpmd>set fwd rxonly + testpmd>start 3. Attach pdump secondary process to primary process by same file-prefix:: @@ -768,13 +774,13 @@ Test Case 12: packed virtqueue vm2vm vectorized-tx path multi-queues test indire 1. Launch vhost by below command:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \ --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \ -i --nb-cores=1 --no-flush-rx 2. Launch virtio-user1 by below command:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \ --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=1,vectorized=1,queue_size=256 \ -- -i --nb-cores=1 --txd=256 --rxd=256 testpmd>set fwd rxonly -- 2.17.1