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 46B71A0544; Tue, 11 Oct 2022 05:24:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 21F0240F19; Tue, 11 Oct 2022 05:24:03 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id EC24C40146 for ; Tue, 11 Oct 2022 05:24:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665458642; x=1696994642; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ILQWhxkRluMSM5Bdo5L4hmIBvv/Cd5hDhYqvRWltor0=; b=PqyREEFs2gkwbouIyeq5hu0BLxkgJYVhxkcWfc6msX2S0oqAd8qRwzzu 6T/f0eRPY1m8bWsFkAUZ+rOQEt8bgDCU4vyF5JfkzF4HfDMMEYeenERtV l46z49vVJKPH5A/fJrwHEFWed7IqyRWR3Xx+qpAlmH/CzXvKtGPml8MVt cBth2nkf9nQZrn8rtRnmHFSAeTcJMiDDIsydyO31b6vLwGtqFYUwPjZvy KWoXVWEyHUfGLhRBeuO7Zf10LpcZ+PtjQBWP4jz1XtiN1dainHkVVxCgM 0yffftqZBlr48rgYEXw65QVzm4dSu6EDNpGvG/U6vxtlmG/9XxoPlHaUc A==; X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="368560394" X-IronPort-AV: E=Sophos;i="5.95,175,1661842800"; d="scan'208";a="368560394" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2022 20:24:01 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="801309688" X-IronPort-AV: E=Sophos;i="5.95,175,1661842800"; d="scan'208";a="801309688" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2022 20:23:59 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1] test_plans/vswitch_sample_cbdma_test_plan: fix wrong DMA parameter Date: Mon, 10 Oct 2022 23:19:46 -0400 Message-Id: <20221011031946.357089-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 Fix wrong DMA parameter when launch dpdk-vhost. Signed-off-by: Wei Ling --- test_plans/vswitch_sample_cbdma_test_plan.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test_plans/vswitch_sample_cbdma_test_plan.rst b/test_plans/vswitch_sample_cbdma_test_plan.rst index c7b95753..6d1b76c9 100644 --- a/test_plans/vswitch_sample_cbdma_test_plan.rst +++ b/test_plans/vswitch_sample_cbdma_test_plan.rst @@ -101,7 +101,7 @@ This case tests that the imix packets can forward normally with two VMs in PVP t 6. Quit and relaunch dpdk-vhost by below command:: ./x86_64-native-linuxapp-gcc/examples/dpdk-vhost -l 26-28 -n 4 -a 0000:af:00.0 -a 0000:00:04.0 -a 0000:00:04.1 -a 0000:00:04.2 -a 0000:00:04.3 -- \ - -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /root/dpdk/vhost-net0 --socket-file /root/dpdk/vhost-net1 --dmas [txd0@0000:00:01.0,rxd1@0000:00:01.1] --client--total-num-mbufs 600000 + -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /root/dpdk/vhost-net0 --socket-file /root/dpdk/vhost-net1 --dmas [txd0@0000:00:04.0,rxd1@0000:00:04.1] --client--total-num-mbufs 600000 7. Start packets from two virtio-user side individually to let vswitch know the mac addr:: @@ -172,7 +172,7 @@ This case checks that the split ring with CBDMA channel can work stably when the 2. On host, launch dpdk-vhost by below command:: ./x86_64-native-linuxapp-gcc/examples/dpdk-vhost -l 26-28 -n 4 -a 0000:af:00.0 -a 0000:00:04.0 -a 0000:00:04.1 -a 0000:00:04.2 -a 0000:00:04.3 -- -p 0x1 --mergeable 1 --vm2vm 1 \ - --socket-file /root/dpdk/vhost-net0 --socket-file /root/dpdk/vhost-net1 --dmas [txd0@0000:00:04.0,rxd0@0000:00:04.1,txd1@0000:00:01.2,rxd1@0000:00:01.3] --client --total-num-mbufs 600000 + --socket-file /root/dpdk/vhost-net0 --socket-file /root/dpdk/vhost-net1 --dmas [txd0@0000:00:04.0,rxd0@0000:00:04.1,txd1@0000:00:04.2,rxd1@0000:00:04.3] --client --total-num-mbufs 600000 3. Start VM0 with qemu:: @@ -245,7 +245,7 @@ This case checks that the split ring with CBDMA channel can work stably when the 9. Quit and relaunch dpdk-vhost with below command:: ./x86_64-native-linuxapp-gcc/examples/dpdk-vhost -l 26-28 -n 4 -a 0000:af:00.0 -a 0000:00:04.0 -a 0000:00:04.1 -a 0000:00:04.2 -a 0000:00:04.3 -- -p 0x1 --mergeable 1 --vm2vm 1 \ - --socket-file /root/dpdk/vhost-net0 --socket-file /root/dpdk/vhost-net1 --dmas [txd0@0000:00:04.0,rxd1@0000:00:01.3] --client --total-num-mbufs 600000 + --socket-file /root/dpdk/vhost-net0 --socket-file /root/dpdk/vhost-net1 --dmas [txd0@0000:00:04.0,rxd1@0000:00:04.3] --client --total-num-mbufs 600000 10. Rerun step 6-7,check vhost can stable work and get expected throughput. -- 2.25.1