From patchwork Mon Sep 7 15:35:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76637 X-Patchwork-Delegate: lijuan.tu@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1CBBDA04B9; Mon, 7 Sep 2020 09:56:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0FD2F1BE85; Mon, 7 Sep 2020 09:56:07 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id EDA8529AC for ; Mon, 7 Sep 2020 09:56:04 +0200 (CEST) IronPort-SDR: EClKXyrKhcoaE1fcK4o9rOnWq2bsTsZ+Tsa/x/JkOn1cBflyZTRXkJcG6bPp06Eiz1yy0Ehfgj ozDTNjAqtOYw== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="219526255" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="219526255" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 00:56:03 -0700 IronPort-SDR: bflbIK86Ve9g5FdfH+pONaK8jaKSZNujIu2inUyao5rQX3DvQnV16rmgl7oMhQPJcUGKpLkTu9 GT41HQ7lcJVQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="316797130" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 00:56:02 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Mon, 7 Sep 2020 15:35:28 +0000 Message-Id: <20200907153532.37857-2-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907153532.37857-1-weix.ling@intel.com> References: <20200907153532.37857-1-weix.ling@intel.com> Subject: [dts] [dts 1/5] test_plans/nic_single_core_perf_test_plan:update test plan to sync with testcase 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" Signed-off-by: lingwei --- test_plans/nic_single_core_perf_test_plan.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test_plans/nic_single_core_perf_test_plan.rst b/test_plans/nic_single_core_perf_test_plan.rst index 4157c31..c78abad 100644 --- a/test_plans/nic_single_core_perf_test_plan.rst +++ b/test_plans/nic_single_core_perf_test_plan.rst @@ -62,6 +62,13 @@ Prerequisites 2 TG 25g ports for FVL25G ports 4 TG 10g ports for 4 NNT10G ports + +4. Case config:: + For FVL40g, if test 16 Byte Descriptor, need to set the "CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y" + in ./config/common_base and re-build DPDK. + + For FVL25G, if test 16 Byte Descriptor, need to set the "CONFIG_RTE_LIBRTE_ICE_16BYTE_RX_DESC=y" + in ./config/common_base and re-build DPDK. Test Case : Single Core Performance Measurement =============================================== From patchwork Mon Sep 7 15:35:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76638 X-Patchwork-Delegate: lijuan.tu@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4210CA04B9; Mon, 7 Sep 2020 09:56:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3A7F61BF8A; Mon, 7 Sep 2020 09:56:08 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id AA8BA29AC for ; Mon, 7 Sep 2020 09:56:06 +0200 (CEST) IronPort-SDR: T0AIx9Lx4ux2A4iAyM5g/nIhVuc7B5djK+I5HndfRRWEi3gWKmUL4ksoAgyPpduXZLs7vT6SWW D/DrOyd/yxBA== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="219526264" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="219526264" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 00:56:06 -0700 IronPort-SDR: /IJ9KFCZilMxsKAeE0MsIEAj7uR49wJFJEv9tG7tZEpNtGXbp7kOvPN9P2/MQTRE6k25JpsFW4 xjzd4r9dY/vw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="316797135" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 00:56:05 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Mon, 7 Sep 2020 15:35:29 +0000 Message-Id: <20200907153532.37857-3-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907153532.37857-1-weix.ling@intel.com> References: <20200907153532.37857-1-weix.ling@intel.com> Subject: [dts] [dts 2/5] test_plans/pmd_test_plan:update test plan to sync with testcase 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" Signed-off-by: lingwei --- test_plans/pmd_test_plan.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test_plans/pmd_test_plan.rst b/test_plans/pmd_test_plan.rst index f84fa55..c4d82cb 100644 --- a/test_plans/pmd_test_plan.rst +++ b/test_plans/pmd_test_plan.rst @@ -80,6 +80,13 @@ If using igb_uio:: modprobe igb_uio usertools/dpdk-devbind.py --bind=igb_uio device_bus_id +Case config:: + For FVL40g, if test 16 Byte Descriptor, need to set the "CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y" + in ./config/common_base and re-build DPDK. + + For FVL25G, if test 16 Byte Descriptor, need to set the "CONFIG_RTE_LIBRTE_ICE_16BYTE_RX_DESC=y" + in ./config/common_base and re-build DPDK. + Test Case: Packet Checking ========================== From patchwork Mon Sep 7 15:35:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76639 X-Patchwork-Delegate: lijuan.tu@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 70F2BA04B9; Mon, 7 Sep 2020 09:56:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 687701C0CA; Mon, 7 Sep 2020 09:56:10 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C0A471BE0C for ; Mon, 7 Sep 2020 09:56:08 +0200 (CEST) IronPort-SDR: TiWA5LDNqpq+TnkvE1Vgbe4RxL7YJeBT7cu4Tokiqwvd7sDvDLQKeLNgOMOsG7Efq7ZjeJPy4u mAkM6togFSWA== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="219526275" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="219526275" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 00:56:08 -0700 IronPort-SDR: QDSUeJ5b9IORB6gsDIPdf4RiFMA1EWBwBJxH338Ny19Im5Q8XJVaj38HvLk5IZukehXaQA20n6 CYHFb3jA/4YQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="316797142" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 00:56:07 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Mon, 7 Sep 2020 15:35:30 +0000 Message-Id: <20200907153532.37857-4-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907153532.37857-1-weix.ling@intel.com> References: <20200907153532.37857-1-weix.ling@intel.com> Subject: [dts] [dts 3/5] test_plans/vmdq_test_plan:update test plan to sync with testcase 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" Signed-off-by: lingwei --- test_plans/vmdq_test_plan.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test_plans/vmdq_test_plan.rst b/test_plans/vmdq_test_plan.rst index 1f19e6f..55ea0d7 100644 --- a/test_plans/vmdq_test_plan.rst +++ b/test_plans/vmdq_test_plan.rst @@ -66,7 +66,10 @@ Prerequisites to the pools numbers(e.g: for FVL spirit, it's 63, inclusive) as well as the MAC address from 52:54:00:12:[port_index]:00 to 52:54:00:12:[port_index]:3e and the VLAN user priority field increments from 0 to 7 (inclusive) for each VLAN ID. In our case port_index = 0 or 1. - +-Case config:: + If test max queues per port 1024, need to set the "CONFIG_RTE_MAX_QUEUES_PER_PORT=1024" in ./config/common_base, + and need to set the "define MAX_QUEUES 1024" in ./examples/vmdq/main.c and re-build DPDK. + Note: different NIC, the MAX_QUEUES is different, eg: Fortville is 1024. Test Case: Measure VMDQ pools queues ------------------------------------ From patchwork Mon Sep 7 15:35:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76640 X-Patchwork-Delegate: lijuan.tu@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 99DF5A04B9; Mon, 7 Sep 2020 09:56:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 919551C0CE; Mon, 7 Sep 2020 09:56:11 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id D96381BE0C for ; Mon, 7 Sep 2020 09:56:10 +0200 (CEST) IronPort-SDR: V+QBiVDJEIUXcox6CkYns8GmvfocvYDOutrsNpZLhXk/YNzHuBUXrmgHA1PSLponmAYo72Az4E YYVl2fHZhLZw== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="219526287" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="219526287" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 00:56:10 -0700 IronPort-SDR: v934vfVdT0BoNViTvivevkyZkX7ld1G8IjhX5qBH07/xRwQa9Hj2kaPAQVqP0o8qJBc+nYZMKD OypaLt7zt4cQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="316797150" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 00:56:09 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Mon, 7 Sep 2020 15:35:31 +0000 Message-Id: <20200907153532.37857-5-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907153532.37857-1-weix.ling@intel.com> References: <20200907153532.37857-1-weix.ling@intel.com> Subject: [dts] [dts 4/5] test_plans/ptpclient_test_plan:update test plan to sync with testcase 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" Signed-off-by: lingwei --- test_plans/ptpclient_test_plan.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_plans/ptpclient_test_plan.rst b/test_plans/ptpclient_test_plan.rst index 64f3faa..7781bff 100644 --- a/test_plans/ptpclient_test_plan.rst +++ b/test_plans/ptpclient_test_plan.rst @@ -44,6 +44,9 @@ Prerequisites Assume one port is connected to the tester and "linuxptp.x86_64" has been installed on the tester. +Case Config:: + For support IEEE1588, need to set "CONFIG_RTE_LIBRTE_IEEE1588=y" in ./config/common_base and re-build DPDK. + The sample should be validated on Forville, Niantic and i350 Nics. Test case: ptp client From patchwork Mon Sep 7 15:35:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76641 X-Patchwork-Delegate: lijuan.tu@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C2DE7A04B9; Mon, 7 Sep 2020 09:56:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BA9851C0D0; Mon, 7 Sep 2020 09:56:13 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id F0C1B1BE0C for ; Mon, 7 Sep 2020 09:56:12 +0200 (CEST) IronPort-SDR: ahwCPIMOU7OjwF0v2wTT4NAz3OGYSljDfzGzVlCiS7OTHM/chhuwubBHuqCaqp9Z5q0O7CYzRL RusxUGR9Dehg== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="219526307" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="219526307" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 00:56:12 -0700 IronPort-SDR: QQv2dKnb2ahf2Y9YbBkGuSauhtzutfZyxEqWUnoIUZSgNaYQyMLqePV0jCRoCgTbGleRbUoGCW ppEKc1qKs4sg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="316797155" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 00:56:11 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Mon, 7 Sep 2020 15:35:32 +0000 Message-Id: <20200907153532.37857-6-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907153532.37857-1-weix.ling@intel.com> References: <20200907153532.37857-1-weix.ling@intel.com> Subject: [dts] [dts 5/5] test_plans/vf_l3fwd_test_plan:update test plan to sync with testcase 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" Signed-off-by: lingwei --- test_plans/vf_l3fwd_test_plan.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test_plans/vf_l3fwd_test_plan.rst b/test_plans/vf_l3fwd_test_plan.rst index 8b51cef..ec0f1cb 100644 --- a/test_plans/vf_l3fwd_test_plan.rst +++ b/test_plans/vf_l3fwd_test_plan.rst @@ -82,6 +82,15 @@ Prerequisites | NIC-2,Port-1 --- TG,Port-2 | +------------------------------+ +* Case config: + For test vf_l3fwd perf, need to set "define RTE_TEST_RX_DESC_DEFAULT 2048" and "define RTE_TEST_TX_DESC_DEFAULT 20480" + in ./examples/l3fwd/l3fwd.h and re-build l3fwd. + Note: + Only FVL need to change code to support iavf, when dpdk use iavf as default vf driver, no need to change code. + If test iavf on FVL, need to change "{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_ADAPTIVE_VF) }" to + "a { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_VF) }" in ./drivers/net/iavf/iavf_ethdev.c, + and set "I40E_DEV_ID_VF 0x164C" in ./drivers/net/i40e/base/i40e_devids.h and re-build DPDK. + Setup overview ==============