From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 84CB4A0565; Fri, 28 Feb 2020 14:15:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1E9F61BFF2; Fri, 28 Feb 2020 14:15:21 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 636081BFC7 for ; Fri, 28 Feb 2020 14:15:19 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Feb 2020 05:15:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,496,1574150400"; d="scan'208";a="439231526" Received: from dpdk-yinan-purley.sh.intel.com ([10.67.117.227]) by fmsmga006.fm.intel.com with ESMTP; 28 Feb 2020 05:15:17 -0800 From: Yinan To: dts@dpdk.org Cc: Wang Yinan Date: Fri, 28 Feb 2020 06:09:39 +0000 Message-Id: <20200228060947.26001-4-yinan.wang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200228060947.26001-1-yinan.wang@intel.com> References: <20200228060947.26001-1-yinan.wang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH 03/11 v1] test_plans: add packed ring test case for pvp_virtio_user_2M_hugepages X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" From: Wang Yinan Signed-off-by: Wang Yinan --- ...pvp_virtio_user_2M_hugepages_test_plan.rst | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/test_plans/pvp_virtio_user_2M_hugepages_test_plan.rst b/test_plans/pvp_virtio_user_2M_hugepages_test_plan.rst index 8a8355f..6a80b89 100644 --- a/test_plans/pvp_virtio_user_2M_hugepages_test_plan.rst +++ b/test_plans/pvp_virtio_user_2M_hugepages_test_plan.rst @@ -39,8 +39,8 @@ Description Before 18.05, virtio-user can only work 1G hugepage. After 18.05, more hugepage pages can be represented by single fd (file descriptor)file, so virtio-user can work with 2M hugepage now. The key parameter is "--single-file-segments" when launch virtio-user. -Test Case1: Basic test for virtio-user 2M hugepage -=================================================== +Test Case1: Basic test for virtio-user split ring 2M hugepage +============================================================== 1. Before the test, plese make sure only 2M hugepage are mounted in host. @@ -55,6 +55,26 @@ Test Case1: Basic test for virtio-user 2M hugepage --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,queues=1 -- -i +3. Send packet with packet generator with different packet size,includes [64, 128, 256, 512, 1024, 1518], check the throughput with below command:: + + testpmd>show port stats all + +Test Case1: Basic test for virtio-user packed ring 2M hugepage +=============================================================== + +1. Before the test, plese make sure only 2M hugepage are mounted in host. + +2. Bind one port to igb_uio, launch vhost:: + + ./testpmd -l 3-4 -n 4 --socket-mem 1024,1024 --file-prefix=vhost \ + --vdev 'net_vhost0,iface=/tmp/sock0,queues=1' -- -i + +3. Launch virtio-user with 2M hugepage:: + + ./testpmd -l 5-6 -n 4 --no-pci --socket-mem 1024,1024 --single-file-segments --file-prefix=virtio-user \ + --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,packed_vq=1,queues=1 -- -i + + 3. Send packet with packet generator with different packet size,includes [64, 128, 256, 512, 1024, 1518], check the throughput with below command:: testpmd>show port stats all \ No newline at end of file -- 2.17.1