From patchwork Wed Sep 2 14:14:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76284 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 97AADA04B5; Wed, 2 Sep 2020 08:17:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 83C751C069; Wed, 2 Sep 2020 08:17:44 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id B61C6E07 for ; Wed, 2 Sep 2020 08:17:43 +0200 (CEST) IronPort-SDR: GWrWOrhnrnNb6X85ohi5eSdeWqVTIsONJvyza5gZuZj/Mq6txcIwGWnR6gWa988vZ9HodmeYjW jc8QAZ6DxUHA== X-IronPort-AV: E=McAfee;i="6000,8403,9731"; a="218877824" X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="218877824" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 23:17:41 -0700 IronPort-SDR: OUM969gUJp02DY5nnpsL1cZsqWY4pPMOalFXqYp7yvCP/1tEqTrPtiPBhYbnCH6RbS7p6KHflc tD3aFFo++XbQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="333992340" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga002.fm.intel.com with ESMTP; 01 Sep 2020 23:17:40 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 2 Sep 2020 14:14:55 +0000 Message-Id: <20200902141500.92740-2-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200902141500.92740-1-weix.ling@intel.com> References: <20200902141500.92740-1-weix.ling@intel.com> Subject: [dts] [dts 1/6] tests/TestSuite_vmdq_dcb: set dpdk config before build by meson and use api to get app name 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" set dpdk config before build by meson and use api to get app name Signed-off-by: lingwei --- tests/TestSuite_vmdq_dcb.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_vmdq_dcb.py b/tests/TestSuite_vmdq_dcb.py index 70d3dc4..d202441 100644 --- a/tests/TestSuite_vmdq_dcb.py +++ b/tests/TestSuite_vmdq_dcb.py @@ -100,6 +100,7 @@ class TestVmdqDcb(TestCase): else: self.dut.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=%s/CONFIG_RTE_LIBRTE_I40E_" "QUEUE_NUM_PER_VM=%s/' ./config/common_base" % (vm_num, nb_queue_per_vm), "#", 20) + self.dut.set_build_options({'RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM': nb_queue_per_vm}) self.dut.build_install_dpdk(self.target) def start_application(self, npools, ntcs): @@ -159,7 +160,8 @@ class TestVmdqDcb(TestCase): def get_vmdq_stats(self): vmdq_dcb_session = self.dut.new_session() - vmdq_dcb_session.send_expect("kill -s SIGHUP `pgrep -fl vmdq_dcb_app | awk '{print $1}'`", "#", 20) + app_name = self.dut.apps_name['vmdq_dcb'].split('/')[-1] + vmdq_dcb_session.send_expect("kill -s SIGHUP `pgrep -fl %s | awk '{print $1}'`" % app_name, "#", 20) out = self.dut.get_session_output() self.logger.info(out) return out From patchwork Wed Sep 2 14:14:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76285 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 DD6FFA04B6; Wed, 2 Sep 2020 08:17:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D18BA4C99; Wed, 2 Sep 2020 08:17:45 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 58E61E07 for ; Wed, 2 Sep 2020 08:17:44 +0200 (CEST) IronPort-SDR: dQtAXa6hWIawLdu9bYMYkyx9mh+mfNcgD/OmEXDfrAF4npoDnz3HcL8GS7h0kbxJaQkCokVf5B +axM36qO/zww== X-IronPort-AV: E=McAfee;i="6000,8403,9731"; a="218877827" X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="218877827" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 23:17:43 -0700 IronPort-SDR: DhYzIT57MexVsTpqZbJlCUmUjMEz+UjfUNafn/k12xGQA7eVwtFZPIzsIaeU20XQWzu3LfTxvt B9EF5K08nF6w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="333992370" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga002.fm.intel.com with ESMTP; 01 Sep 2020 23:17:42 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 2 Sep 2020 14:14:56 +0000 Message-Id: <20200902141500.92740-3-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200902141500.92740-1-weix.ling@intel.com> References: <20200902141500.92740-1-weix.ling@intel.com> Subject: [dts] [dts 2/6] 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 Wed Sep 2 14:14:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76287 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 302D7A04B5; Wed, 2 Sep 2020 08:17:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2941D1C0AC; Wed, 2 Sep 2020 08:17:49 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 32778E07 for ; Wed, 2 Sep 2020 08:17:47 +0200 (CEST) IronPort-SDR: hF/l4wopUuKTx57SBPusE79yW24aE2vl87+FEhkNRIWsQv96mao2xcWX1NG6A3fPONXyq00Ggj aL8SmOtObiEw== X-IronPort-AV: E=McAfee;i="6000,8403,9731"; a="218877830" X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="218877830" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 23:17:45 -0700 IronPort-SDR: xlgg3Ij1y1X2ABGj4kedpfJ7zsJCyR5zlCRI1+PoQn0N3ucpAThuxhEe/eIlLmF5balhXG435v +4yISO6wPPKw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="333992403" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga002.fm.intel.com with ESMTP; 01 Sep 2020 23:17:44 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 2 Sep 2020 14:14:57 +0000 Message-Id: <20200902141500.92740-4-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200902141500.92740-1-weix.ling@intel.com> References: <20200902141500.92740-1-weix.ling@intel.com> Subject: [dts] [dts 3/6] 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 Wed Sep 2 14:14:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76288 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 57FBCA04B5; Wed, 2 Sep 2020 08:17:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4F06D1C0B6; Wed, 2 Sep 2020 08:17:50 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 3F7AAE07 for ; Wed, 2 Sep 2020 08:17:48 +0200 (CEST) IronPort-SDR: ca/Z8RwgNWtL0fMr+87xSjtJ+I4s4bd9zKUukqZpwvxOAePhzTB/b9UhJtU8TSbV+TC8jGV/Kz h8aOgHRy0pvw== X-IronPort-AV: E=McAfee;i="6000,8403,9731"; a="218877833" X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="218877833" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 23:17:47 -0700 IronPort-SDR: X+KjQrBhOkEvHwM3gqkJH/goDjf0DzuYzSW5zkSB7H1mlqqNUQmnS+z7cFPyYsKLnT7v1hQpqQ gVSm00RzQUqg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="333992431" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga002.fm.intel.com with ESMTP; 01 Sep 2020 23:17:46 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 2 Sep 2020 14:14:58 +0000 Message-Id: <20200902141500.92740-5-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200902141500.92740-1-weix.ling@intel.com> References: <20200902141500.92740-1-weix.ling@intel.com> Subject: [dts] [dts 4/6] 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 Wed Sep 2 14:14:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76289 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 7E23FA04B5; Wed, 2 Sep 2020 08:17:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 71F231C08C; Wed, 2 Sep 2020 08:17:52 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 4A44BE07 for ; Wed, 2 Sep 2020 08:17:50 +0200 (CEST) IronPort-SDR: d6YHrHLuJVTO3OOUFq1a1ctcOosNvwd0Mr4s1QS/XGQB/q6DhN6oMl8c+6frnXglhoTPtWqVLv +3KWl2PylMUA== X-IronPort-AV: E=McAfee;i="6000,8403,9731"; a="218877835" X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="218877835" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 23:17:49 -0700 IronPort-SDR: 7gLQUubybnKZeL9EDb7Sktf8knW9PKjJEm5dtYr3amjTdcfCIHXEr6kUyctwhGYfZr2C+K7i0a 5JyH1oJjedCg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="333992458" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga002.fm.intel.com with ESMTP; 01 Sep 2020 23:17:48 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 2 Sep 2020 14:14:59 +0000 Message-Id: <20200902141500.92740-6-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200902141500.92740-1-weix.ling@intel.com> References: <20200902141500.92740-1-weix.ling@intel.com> Subject: [dts] [dts 5/6] 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 Wed Sep 2 14:15:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 76290 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 A1B64A04B5; Wed, 2 Sep 2020 08:18:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9890B1C07E; Wed, 2 Sep 2020 08:18:00 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 08E3CE07 for ; Wed, 2 Sep 2020 08:17:58 +0200 (CEST) IronPort-SDR: R0syQVB0K7LkJKFyd7M0QJ6S8c2QQzEWRQ7WmccvkbsYEaGx4QsXukIjLSbmhJd7guVFsaVYG+ 8aqELwKsngIg== X-IronPort-AV: E=McAfee;i="6000,8403,9731"; a="158323368" X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="158323368" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 23:17:55 -0700 IronPort-SDR: 04F40jNgvfr5vLpQOrPzdjvbD6TWl7s2tqyqrXxx7ocSX/cHxWsCUxzwcStIyoRdk9AjiFtY2Y ijJUsWB0zByw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="333992530" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga002.fm.intel.com with ESMTP; 01 Sep 2020 23:17:50 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 2 Sep 2020 14:15:00 +0000 Message-Id: <20200902141500.92740-7-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200902141500.92740-1-weix.ling@intel.com> References: <20200902141500.92740-1-weix.ling@intel.com> Subject: [dts] [dts 6/6] 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 ==============