From patchwork Thu Jul 29 16:14:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wang, Yinan" X-Patchwork-Id: 96371 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CB07DA0C40; Thu, 29 Jul 2021 09:32:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BBAB040687; Thu, 29 Jul 2021 09:32:21 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id A9B3340041 for ; Thu, 29 Jul 2021 09:32:19 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10059"; a="212857445" X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="212857445" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2021 00:32:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="506998946" Received: from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39]) by FMSMGA003.fm.intel.com with ESMTP; 29 Jul 2021 00:32:16 -0700 From: Yinan Wang To: dts@dpdk.org Cc: Yinan Wang Date: Thu, 29 Jul 2021 12:14:05 -0400 Message-Id: <20210729161405.1263921-1-yinan.wang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [dts] [PATCH v1] test_plans/vswitch_sample_cbdma_test_plan: change case2 with in-order flag to 0 since feature bit not support in this case. 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 Sender: "dts" Signed-off-by: Yinan Wang --- test_plans/vswitch_sample_cbdma_test_plan.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test_plans/vswitch_sample_cbdma_test_plan.rst b/test_plans/vswitch_sample_cbdma_test_plan.rst index 8fcf0b0a..4e51eec0 100644 --- a/test_plans/vswitch_sample_cbdma_test_plan.rst +++ b/test_plans/vswitch_sample_cbdma_test_plan.rst @@ -67,7 +67,7 @@ Test Case1: PVP performance check with CBDMA channel using vhost async driver 2. On host, launch dpdk-vhost by below command:: - ./dpdk-vhost -c 0x1c000000 -n 4 -- \ + ./dpdk-vhost -c 31-32 -n 4 -- \ -p 0x1 --mergeable 1 --vm2vm 1 --dma-type ioat --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --client 3. Launch virtio-user with packed ring:: @@ -77,7 +77,7 @@ Test Case1: PVP performance check with CBDMA channel using vhost async driver 4. Start pkts from virtio-user side to let vswitch know the mac addr:: - testpmd>set fwd mac + testpmd>set fwd macswap testpmd>start tx_first 5. Inject pkts (packets length=64...1518) separately with VLAN_id=1000 and dest_mac=virtio_mac_addresss (specific in above cmd with 00:11:22:33:44:10) to NIC using packet generator, record pvp (PG>nic>vswitch>virtio-user>vswitch>nic>PG) performance number can get expected. @@ -102,19 +102,19 @@ Test Case2: PVP test with two VM and two CBDMA channels using vhost async driver 3. launch two virtio-user ports:: ./dpdk-testpmd -l 29-30 -n 4 --no-pci --file-prefix=testpmd0 \ - --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net0,queues=1,server=1,mrg_rxbuf=0,in_order=1,vectorized=1,packed_vq=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 + --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net0,queues=1,server=1,mrg_rxbuf=0,in_order=0,vectorized=1,packed_vq=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 ./dpdk-testpmd -l 31-32 -n 4 --no-pci --file-prefix=testpmd1 \ - --vdev=net_virtio_user0,mac=00:11:22:33:44:11,path=/tmp/vhost-net1,queues=1,server=1,mrg_rxbuf=1,in_order=1,vectorized=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 + --vdev=net_virtio_user0,mac=00:11:22:33:44:11,path=/tmp/vhost-net1,queues=1,server=1,mrg_rxbuf=1,in_order=0,vectorized=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 4. Start pkts from two virtio-user side individually to let vswitch know the mac addr:: - testpmd0>set fwd mac - testpmd1>set fwd mac + testpmd0>set fwd macswap + testpmd1>set fwd macswap testpmd1>start tx_first testpmd1>start tx_first -5. Inject IMIX packets (64b...1518b) with VLAN_id=1000 and dest_mac=virtio_mac_addresss (00:11:22:33:44:10 and 00:11:22:33:44:11) to NIC using packet generator,record performance number can get expected from Packet generator rx side. +5. Inject IMIX packets (64b...1518b) with dest_mac=virtio_mac_addresss (00:11:22:33:44:10 and 00:11:22:33:44:11) to NIC using packet generator,record performance number can get expected from Packet generator rx side. 6. Stop dpdk-vhost side and relaunch it with same cmd as step2.