From patchwork Thu Sep 3 09:57:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 76377 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 1B618A04D7; Thu, 3 Sep 2020 11:59:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ADD041C0B8; Thu, 3 Sep 2020 11:59:01 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id CD06EDE0 for ; Thu, 3 Sep 2020 11:58:59 +0200 (CEST) IronPort-SDR: BkidK2vqPrmocHuWVGak82ISwWov3cev+zo3EOiODvEkTdV+6XkqX4o9T2D+XJKTYqWKw3wEbF NoAP0aoJ1lAw== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="219101832" X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="219101832" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 02:58:58 -0700 IronPort-SDR: U87wQ3+yxELeYNWbfDQ/JXNoMkWkzGhtkcM21xyBmVH5NXJ8SBwyqdK+lTKW9KRtPWZZLGgsoV rZBmoB7nu0WA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="405434583" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 03 Sep 2020 02:58:54 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 3 Sep 2020 17:57:40 +0800 Message-Id: <20200903095746.32389-2-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200903095746.32389-1-weix.xie@intel.com> References: <20200903095746.32389-1-weix.xie@intel.com> Subject: [dts] [dts 1/7] test_plans/unit_tests_kni_test_plan:update test plan to sync with testsuite 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: Xie wei --- test_plans/unit_tests_kni_test_plan.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_plans/unit_tests_kni_test_plan.rst b/test_plans/unit_tests_kni_test_plan.rst index c77d887..793dd47 100644 --- a/test_plans/unit_tests_kni_test_plan.rst +++ b/test_plans/unit_tests_kni_test_plan.rst @@ -45,6 +45,10 @@ script (launched using ``make test``) that sends commands to the application and checks the results. A test report is displayed on stdout. +Case config:: + + For enable KNI features, need to set the "CONFIG_RTE_KNI_KMOD=y" in ./config/common_base and re-build DPDK. + The steps to run the unit test manually are as follow:: # make -C ./app/test/ From patchwork Thu Sep 3 09:57:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 76376 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 97425A04D9; Thu, 3 Sep 2020 11:59:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8C1261C0B2; Thu, 3 Sep 2020 11:59:01 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id AB0CD1C0AE for ; Thu, 3 Sep 2020 11:58:59 +0200 (CEST) IronPort-SDR: 9Jn3gAQixFvuDuanYhcDViK6E3txS6pEsHfkU8xyRHnfjYYTDNt7OFE2vpDf4GdOnvVKhwNrrN eWlNCTRPmYZw== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="221762141" X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="221762141" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 02:58:58 -0700 IronPort-SDR: 1Jm2YqNirlI8x8uU/3lPKdnicMIR1LM220h6z3iWBM8IIpjBmxz5AGIfP3RuxEQPtxQgU5aDmN 6Y4bf7jqwVjg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="405434586" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 03 Sep 2020 02:58:55 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 3 Sep 2020 17:57:41 +0800 Message-Id: <20200903095746.32389-3-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200903095746.32389-1-weix.xie@intel.com> References: <20200903095746.32389-1-weix.xie@intel.com> Subject: [dts] [dts 2/7] test_plans/pmdpcap_test_plan:update test plan to sync with testsuite 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: Xie wei --- test_plans/pmdpcap_test_plan.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_plans/pmdpcap_test_plan.rst b/test_plans/pmdpcap_test_plan.rst index 7b5ecd2..d6ab697 100644 --- a/test_plans/pmdpcap_test_plan.rst +++ b/test_plans/pmdpcap_test_plan.rst @@ -52,6 +52,9 @@ in PCAP devices created by Test PMD. It is Test PMD application itself which send and receives traffic from and to PCAP files, no traffic generator is involved. +Case config:: + + For enable PCAP features, need to set the "CONFIG_RTE_LIBRTE_PMD_PCAP=y" in ./config/common_base and re-build DPDK. Test Case: test_send_packets_with_one_device ============================================ From patchwork Thu Sep 3 09:57:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 76378 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 6CBE7A04DB; Thu, 3 Sep 2020 11:59:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CF2091C0BF; Thu, 3 Sep 2020 11:59:01 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E00561C0AF for ; Thu, 3 Sep 2020 11:58:59 +0200 (CEST) IronPort-SDR: 0JNt97vXKlaWN349sFpqq/9aO9eL/JLRcY8TNVSmMJLkXAhH6y06ddX0mUDdhjAElole9JE3/E uczhsOn7zEuQ== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="137599690" X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="137599690" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 02:58:58 -0700 IronPort-SDR: MBDXzhTr3RxsKQ6O1spAIVokWqL8ZOZvmL7nv1D+xNZy+Xh3ojP6vWsElQ8rxNa5I2IteVJQDA TsJ/jPX1vWjQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="405434590" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 03 Sep 2020 02:58:57 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 3 Sep 2020 17:57:42 +0800 Message-Id: <20200903095746.32389-4-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200903095746.32389-1-weix.xie@intel.com> References: <20200903095746.32389-1-weix.xie@intel.com> Subject: [dts] [dts 3/7] test_plans/multicast_test_plan:update test plan to sync with testsuite 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: Xie wei --- test_plans/multicast_test_plan.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/test_plans/multicast_test_plan.rst b/test_plans/multicast_test_plan.rst index f52dd9c..a190170 100644 --- a/test_plans/multicast_test_plan.rst +++ b/test_plans/multicast_test_plan.rst @@ -195,6 +195,29 @@ P0 and P2 are used on testing machine): These flows do not change across the test cases. +6.Modify multicast route table:: + + sed -i '/mcast_group_table\[\].*{/,/^\}\;/c\\static struct mcast_group_params mcast_group_table[] = {\ + {RTE_IPV4(224,0,0,101),1},\ + {RTE_IPV4(224,0,0,102),2},\ + {RTE_IPV4(224,0,0,103),3},\ + {RTE_IPV4(224,0,0,104),4},\ + {RTE_IPV4(224,0,0,105),5},\ + {RTE_IPV4(224,0,0,106),6},\ + {RTE_IPV4(224,0,0,107),7},\ + {RTE_IPV4(224,0,0,108),8},\ + {RTE_IPV4(224,0,0,109),9},\ + {RTE_IPV4(224,0,0,110),10},\ + {RTE_IPV4(224,0,0,111),11},\ + {RTE_IPV4(224,0,0,112),12},\ + {RTE_IPV4(224,0,0,113),13},\ + {RTE_IPV4(224,0,0,114),14},\ + {RTE_IPV4(224,0,0,115),15},\ + };' examples/ipv4_multicast/main.c + +And re-compile examples/ipv4_multicast:: + + make -C examples/ipv4_multicast Test Case: IP4 Multicast Forwarding =================================== From patchwork Thu Sep 3 09:57:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 76379 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 21B53A04D9; Thu, 3 Sep 2020 11:59:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 06CCE1C0BD; Thu, 3 Sep 2020 11:59:03 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id A3FE71C0B5 for ; Thu, 3 Sep 2020 11:59:01 +0200 (CEST) IronPort-SDR: hsghuKcC4PI0ic4AzwUDgcdciRaNl0V1uVWPW6CcMYyq8tbss689uisRQMIp2PRZG+pVaw0pPX jJyDOIMeSOhg== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="219101837" X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="219101837" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 02:58:59 -0700 IronPort-SDR: vZqSh0oZSj5y6dv2HWNbAYhxZd4oifDINhlxq7q3I9RsEp7/ffx3b7rQUT67f8L8vpA1t11EZT v94X5iwLRYLQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="405434593" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 03 Sep 2020 02:58:58 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 3 Sep 2020 17:57:43 +0800 Message-Id: <20200903095746.32389-5-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200903095746.32389-1-weix.xie@intel.com> References: <20200903095746.32389-1-weix.xie@intel.com> Subject: [dts] [dts 4/7] test_plans/kni_test_plan:update test plan to sync with testsuite 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: Xie wei --- test_plans/kni_test_plan.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_plans/kni_test_plan.rst b/test_plans/kni_test_plan.rst index 0c5b2e0..1d4736b 100644 --- a/test_plans/kni_test_plan.rst +++ b/test_plans/kni_test_plan.rst @@ -119,6 +119,9 @@ system to another):: insmod ./x86_64-default-linuxapp-gcc/kmod/rte_kni.ko ./examples/kni/build/app/kni -c 0xa0001e -n 4 -- -P -p 0x3 --config="(0,1,2,21),(1,3,4,23)" & +Case config:: + + For enable KNI features, need to set the "CONFIG_RTE_KNI_KMOD=y" in ./config/common_base and re-build DPDK. Test Case: ifconfig testing =========================== From patchwork Thu Sep 3 09:57:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 76380 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 66772A04DC; Thu, 3 Sep 2020 11:59:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 30F821C0C6; Thu, 3 Sep 2020 11:59:03 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 62AF71C0B5 for ; Thu, 3 Sep 2020 11:59:02 +0200 (CEST) IronPort-SDR: MdjC0YgCAEjFesTJhRB8G4aYdj5kEtPr5jDp9seUzQHNhfYiVWy4S4+dOy2ETWGM8Z44O9QlWk KwDVMYQW+vIA== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="219101840" X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="219101840" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 02:59:00 -0700 IronPort-SDR: h1oGPp+RnFKP2M/w4hDuSrq5Z1ofbMzxozyTF5YTKjjzb+L6eouYx61zqzefVeuLeNXkx1SqTA jklIY2JEGQMg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="405434598" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 03 Sep 2020 02:58:59 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 3 Sep 2020 17:57:44 +0800 Message-Id: <20200903095746.32389-6-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200903095746.32389-1-weix.xie@intel.com> References: <20200903095746.32389-1-weix.xie@intel.com> Subject: [dts] [dts 5/7] test_plans/ipv4_reassembly_test_plan:update test plan to sync with testsuite 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: Xie wei --- test_plans/ipv4_reassembly_test_plan.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_plans/ipv4_reassembly_test_plan.rst b/test_plans/ipv4_reassembly_test_plan.rst index 686584d..75aba16 100644 --- a/test_plans/ipv4_reassembly_test_plan.rst +++ b/test_plans/ipv4_reassembly_test_plan.rst @@ -99,7 +99,9 @@ Sample command:: ./examples/ip_reassembly/build/ip_reassembly -c 0x2 -n 4 -- \ -P -p 0x2 --config "(1,0,1)" --maxflows=4096 --flowttl=10s -Modifies the sample app source code to enable up to 7 fragments per packet. +Modifies the sample app source code to enable up to 7 fragments per packet, +and it need set the "CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=7" in ./config/common_base and re-build DPDK. + Sends 4K packets split in 7 fragments each with a ``maxflows`` of 4K. It expects: From patchwork Thu Sep 3 09:57:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 76381 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 7397DA04D7; Thu, 3 Sep 2020 11:59:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6231C1C0CC; Thu, 3 Sep 2020 11:59:04 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id D35461C0B5 for ; Thu, 3 Sep 2020 11:59:02 +0200 (CEST) IronPort-SDR: gLkUUWjN9T3n44J/rrSlnJ9O4YgqVN+uNkWig0ku+ikb/fzCz3XLQV0FKJbMvznRC3Z6P40tY9 xz0S9xuFaK4g== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="219101842" X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="219101842" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 02:59:01 -0700 IronPort-SDR: Vj6EyLr91J6go09hVe9zheVO/COORp5coMlXkLplX1fB14byDvg36lR2IoDbXRFBZtKj5yZvQ1 YomLUKFWfbMQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="405434609" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 03 Sep 2020 02:59:00 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 3 Sep 2020 17:57:45 +0800 Message-Id: <20200903095746.32389-7-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200903095746.32389-1-weix.xie@intel.com> References: <20200903095746.32389-1-weix.xie@intel.com> Subject: [dts] [dts 6/7] test_plans/ipfrag_test_plan:update test plan to sync with testsuite 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: Xie wei --- test_plans/ipfrag_test_plan.rst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/test_plans/ipfrag_test_plan.rst b/test_plans/ipfrag_test_plan.rst index 9c0afed..31dcc7b 100644 --- a/test_plans/ipfrag_test_plan.rst +++ b/test_plans/ipfrag_test_plan.rst @@ -133,6 +133,34 @@ Prerequisites - The set of logical cores to execute the packet forwarding task - Mapping of the NIC RX queues to logical cores handling them. +6. Set lpm table for IPv4 & IPv6 packet:: + + sed -i '/l3fwd_ipv4_route_array\[\].*{/,/^\}\;/c\\static struct l3fwd_ipv4_route l3fwd_ipv4_route_array[] = {\ + {RTE_IPV4(100,10,0,0), 16, 1},\ + {RTE_IPV4(100,20,0,0), 16, 1},\ + {RTE_IPV4(100,30,0,0), 16, 0},\ + {RTE_IPV4(100,40,0,0), 16, 0},\ + {RTE_IPV4(100,50,0,0), 16, 1},\ + {RTE_IPV4(100,60,0,0), 16, 1},\ + {RTE_IPV4(100,70,0,0), 16, 0},\ + {RTE_IPV4(100,80,0,0), 16, 0},\ + };' examples/ip_fragmentation/main.c + + sed -i '/l3fwd_ipv6_route_array\[\].*{/,/^\}\;/c\\static struct l3fwd_ipv6_route l3fwd_ipv6_route_array[] = {\ + {{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 1},\ + {{2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 1},\ + {{3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 0},\ + {{4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 0},\ + {{5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 1},\ + {{6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 1},\ + {{7,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 0},\ + {{8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 0},\ + };' examples/ip_fragmentation/main.c + +And re-compile examples/ip_fragmentation:: + + make -C examples/ip_fragmentation + Test Case 1: IP Fragmentation normal ip packet forward ====================================================== From patchwork Thu Sep 3 09:57:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 76382 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 930D6A04D9; Thu, 3 Sep 2020 11:59:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8ADA41C0C5; Thu, 3 Sep 2020 11:59:05 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 18EA31C0B7 for ; Thu, 3 Sep 2020 11:59:03 +0200 (CEST) IronPort-SDR: pvQq0BjNmMeteHuKiG6VUNYgYpPfIUgECfX3zN6RUMdXRPIHSk6t4ZApdVKiAcQ6X2oy3jaQt0 Y/IJt58KywPQ== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="219101844" X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="219101844" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 02:59:03 -0700 IronPort-SDR: nX4oCH79qc0ZfRBzz5sBcmZPTv53z4a+R1IyZGcEZj+UabK7mLP5Rb54Lqgj2hanMPU4phcV0h N5qiViNuee+g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="405434621" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 03 Sep 2020 02:59:02 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 3 Sep 2020 17:57:46 +0800 Message-Id: <20200903095746.32389-8-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200903095746.32389-1-weix.xie@intel.com> References: <20200903095746.32389-1-weix.xie@intel.com> Subject: [dts] [dts 7/7] test_plans/efd_test_plan:update test plan to sync with testsuite 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: Xie wei --- test_plans/efd_test_plan.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_plans/efd_test_plan.rst b/test_plans/efd_test_plan.rst index dfde28a..3f2ef3a 100644 --- a/test_plans/efd_test_plan.rst +++ b/test_plans/efd_test_plan.rst @@ -137,6 +137,9 @@ This case will measure the performance based on flow numbers. Test Case: Load balancer performance based on value bits ----------------------------------------------------------------------- +Modify different value size which must be between 1 and 32, and it need +set the '#define RTE_EFD_VALUE_NUM_BITS (value size)' in lib/librte_efd/rte_efd.h and rebuild dpdk. + This case will measure the performance based on value bits. +--------------+-------+-----------+------------+