From patchwork Mon Sep 7 16:49:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76647 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 02BA2A04B9; Mon, 7 Sep 2020 11:05:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ECCF01C0CF; Mon, 7 Sep 2020 11:05:58 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 0DFAF29AC for ; Mon, 7 Sep 2020 11:05:57 +0200 (CEST) IronPort-SDR: Fpq6Qhl0V/cL97l+ip407+CRuLRlffODTAjBXq6Z5FwXY3Y3jX+yv/iR+LZ/QUuYGeF5KramHR 8894zpl6pmUg== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="219532964" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="219532964" 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 02:05:57 -0700 IronPort-SDR: 4aux4W9jBkigTaCcef+1g4VInIXaO/Y0YpuuhutaM1KKoO1xYqjj+MZ7F9eNRzmpv/tXMFQiAb DGjei77mUm2Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="316811373" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 02:05:55 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Mon, 7 Sep 2020 16:49:25 +0000 Message-Id: <20200907164929.51247-2-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907164929.51247-1-weix.ling@intel.com> References: <20200907164929.51247-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..9fc5e01 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 CVL25G, 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 16:49:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76648 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 27729A04B9; Mon, 7 Sep 2020 11:06:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1DC291BEE1; Mon, 7 Sep 2020 11:06:01 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id D11D929AC for ; Mon, 7 Sep 2020 11:05:59 +0200 (CEST) IronPort-SDR: s95soG2XujQo1nI2sfI9/dlyPWy3PJ5O/+coIReNlX+JlTJecRvy2X/oZIvi6AAHQEUwV4/5u5 yIJZodGZwfWA== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="219532968" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="219532968" 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 02:05:59 -0700 IronPort-SDR: siwaFRXb2T9XLrOaJfoNjt4aEbbK6MkVbaGgXRfoTzOhVR1y6UO7eGlIxn7+Gq0TW0/faIVCIL sTY9PEUeBMzA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="316811385" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 02:05:58 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Mon, 7 Sep 2020 16:49:26 +0000 Message-Id: <20200907164929.51247-3-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907164929.51247-1-weix.ling@intel.com> References: <20200907164929.51247-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..4017a4a 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 CVL25G, 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 16:49:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76649 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 4D1CBA04B9; Mon, 7 Sep 2020 11:06:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 426171C0D5; Mon, 7 Sep 2020 11:06:04 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 2B6AA29AC for ; Mon, 7 Sep 2020 11:06:02 +0200 (CEST) IronPort-SDR: T0opBh2ryeHzx6yNu5aKGN7dRScchC7iJvTxXSVpGZBNumGiNbW7Lhk7ZEmb4BSBmawr2zudp6 M2AzHUzPocQA== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="219532975" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="219532975" 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 02:06:01 -0700 IronPort-SDR: 7yLabcqnTDU2ZaaRGhho9fwpcIvpOQdom5a2q46t/cy5PsZUzolcGvlbykoH9tH4EYT3qP6MhQ ipdknsK3oTkQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="316811425" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 02:06:00 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Mon, 7 Sep 2020 16:49:27 +0000 Message-Id: <20200907164929.51247-4-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907164929.51247-1-weix.ling@intel.com> References: <20200907164929.51247-1-weix.ling@intel.com> Subject: [dts] [dts 3/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 16:49: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: 76651 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 B9F5AA04B9; Mon, 7 Sep 2020 11:06:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B10DC1C0D4; Mon, 7 Sep 2020 11:06:12 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 66F961C0D0 for ; Mon, 7 Sep 2020 11:06:09 +0200 (CEST) IronPort-SDR: xXawbKvGshIfvAmZXEQC4fMVZdQ1hQSmKmADmJnMdZPHwTXTVlAXZMidgp5eeyNMbbpE/nJe37 L4iCUlXSKXIQ== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="219532980" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="219532980" 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 02:06:08 -0700 IronPort-SDR: PIyZSms+epYV87mZhdMfw62+zxRQ0Pp8PRqsVDs8QD+EAGux2NQr7vGodTe14W1tFqHqWJdRVh b6+O3fhsOTPQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="316811453" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 02:06:04 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Mon, 7 Sep 2020 16:49:28 +0000 Message-Id: <20200907164929.51247-5-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907164929.51247-1-weix.ling@intel.com> References: <20200907164929.51247-1-weix.ling@intel.com> Subject: [dts] [dts 4/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..6d816dd 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 2048" + 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 ============== From patchwork Mon Sep 7 16:49: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: 76650 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 76BFCA04B9; Mon, 7 Sep 2020 11:06:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6B4FF1C0CE; Mon, 7 Sep 2020 11:06:10 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id EA84029AC for ; Mon, 7 Sep 2020 11:06:08 +0200 (CEST) IronPort-SDR: rSgahtLZO5hYZs4t4rJ0DCOfC4wt424appLFHjlHI/v0EMX1LEMyHY1BAimM1ATdd8fcgmhC2i f+KigTxCRu9A== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="145685120" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="145685120" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 02:06:08 -0700 IronPort-SDR: q6Y4VQARZuGO/VNC9+pVItE84USvfwLTE42ZBaDj+3eIqS8ns51P8i4zg0aRd14XvPpa/Fs3Ov cTTuEBJ3EmEg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="316811459" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 02:06:06 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Mon, 7 Sep 2020 16:49:29 +0000 Message-Id: <20200907164929.51247-6-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907164929.51247-1-weix.ling@intel.com> References: <20200907164929.51247-1-weix.ling@intel.com> Subject: [dts] [dts 5/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 ------------------------------------