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 A0FD141E1A; Wed, 8 Mar 2023 06:31:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 964AD410F3; Wed, 8 Mar 2023 06:31:30 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 8980D40E03 for ; Wed, 8 Mar 2023 06:31:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678253489; x=1709789489; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=HcNKdiNyxUKLzXRYw68gq4LpGPAqHdWy3UFv8FQllII=; b=cv8qNLtM3uxKnnpC6lLUBny2fgDq8Mdb+GuYLlVyUqtvoUT5o25pwbY1 +Z5Cv0AACOR3wkMfMSwUKrPJAAzBD3dhlWSr7NbBBKR1gPHuZQVZuUUFK fIIzfFAHInEzSOtJQDXDCY8TZckdc/7gZWFni5zWJu2aY6kA4+pvJoHu3 bVPdEncX1/kme7qHhCaszJoKeDffeCcVGv/YfIeqK3FT9buufOSWKzYHj 3ZQKXRK81kONO9JOTPw5KCGHh2jsIh4905uQV1LQxEhmeQwCdiSYxDveK 269fetPs+hPkOKYqYlMVPYDP0m2xfYPc+59MW3sGI1yKY0/sHFqcbXcRR g==; X-IronPort-AV: E=McAfee;i="6500,9779,10642"; a="324378936" X-IronPort-AV: E=Sophos;i="5.98,242,1673942400"; d="scan'208";a="324378936" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2023 21:31:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10642"; a="765894053" X-IronPort-AV: E=Sophos;i="5.98,242,1673942400"; d="scan'208";a="765894053" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2023 21:31:27 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V2 1/2] test_plans/pvp_share_lib_test_plan: add testcase3 to test Intel E800 seriers nic Date: Wed, 8 Mar 2023 13:31:15 +0800 Message-Id: <20230308053115.307620-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 Add testcase3 to test Intel E800 seriers nic and modify testcase 1 the wrong lib version. Signed-off-by: Wei Ling --- test_plans/pvp_share_lib_test_plan.rst | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/test_plans/pvp_share_lib_test_plan.rst b/test_plans/pvp_share_lib_test_plan.rst index 936480bf..b221ef0f 100644 --- a/test_plans/pvp_share_lib_test_plan.rst +++ b/test_plans/pvp_share_lib_test_plan.rst @@ -10,8 +10,8 @@ Description The feature need compile dpdk as shared libraries, then application should use option ``-d`` to load the dynamic pmd that are built as shared libraries. -Test Case1: Vhost/virtio-user pvp share lib test with 82599 -=========================================================== +Test Case 1: Vhost/virtio-user pvp share lib test with Intel® Ethernet 82599 Series +=================================================================================== 1. Enable the shared lib in DPDK configure file:: @@ -27,13 +27,13 @@ Test Case1: Vhost/virtio-user pvp share lib test with 82599 4. Bind 82599 port with vfio-pci, use option ``-d`` to load the dynamic pmd when launch vhost:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x03 -n 4 -d librte_net_vhost.so.21.0 -d librte_net_i40e.so.21.0 -d librte_mempool_ring.so.21.0 \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x03 -n 4 -d librte_net_vhost.so -d librte_net_ixgbe.so -d librte_mempool_ring.so \ --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i testpmd>start 5. Launch virtio-user:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0c -n 4 -d librte_net_virtio.so.21.0 -d librte_mempool_ring.so.21.0 \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0c -n 4 -d librte_net_virtio.so -d librte_mempool_ring.so \ --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net -- -i testpmd>start @@ -41,8 +41,8 @@ Test Case1: Vhost/virtio-user pvp share lib test with 82599 testpmd>show port stats all -Test Case2: Vhost/virtio-user pvp share lib test with Intel® Ethernet 700 Series -================================================================================ +Test Case 2: Vhost/virtio-user pvp share lib test with Intel® Ethernet 700 Series +================================================================================= Similar as Test Case1, all steps are similar except step 4: @@ -51,3 +51,14 @@ Similar as Test Case1, all steps are similar except step 4: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x03 -n 4 -d librte_net_vhost.so -d librte_net_i40e.so -d librte_mempool_ring.so \ --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i testpmd>start + +Test Case 3: Vhost/virtio-user pvp share lib test with Intel® Ethernet 800 Series +================================================================================= + +Similar as Test Case1, all steps are similar except step 4: + +4. Bind Intel® Ethernet 800 Series port with vfio-pci, use option ``-d`` to load the dynamic pmd when launch vhost:: + + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x03 -n 4 -d librte_net_vhost.so -d librte_net_ice.so -d librte_mempool_ring.so \ + --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i + testpmd>start -- 2.25.1