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 F236D41C91; Tue, 14 Feb 2023 07:31:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E93C7410D1; Tue, 14 Feb 2023 07:31:05 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 3668A42D53 for ; Tue, 14 Feb 2023 07:31:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676356264; x=1707892264; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SUQem2bphwZFoUjKjsYUqz+eObP41CvnVDrLqUtGLf0=; b=aqtaN5Z/eKXulM5DtthFFgudnI3BJ3Ba5C6c0paefBWIMDC/8ZxhNh+r EkAkU+EwKM2oxHYRXSb+dYUPvtw7FzW70Rr3y6Jy+gDDh3JSK+75Tfsx/ v0kRPafTplNzQTK9QBepVVbJrnwFvgpXLJNLq3k/FFXv6w4KrNwsRnt5T ITFN2hDWJ3cdB7eSLi3Q4ckuWKNuNKkyTZa2fbCbBN53zj+M/hQByiL3J 9Ck2uqhIkFphJuum/BCr9/ioh77APfYkTh2+5t/36nrrFBUlL+5Giuv9n O+ek33HuLvuemgqa+YyI5adXhafNIZB5tNisNvb+uYKLRsMBPN06Xrjvm Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10620"; a="333228329" X-IronPort-AV: E=Sophos;i="5.97,294,1669104000"; d="scan'208";a="333228329" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2023 22:31:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10620"; a="843052082" X-IronPort-AV: E=Sophos;i="5.97,294,1669104000"; d="scan'208";a="843052082" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.119.8]) by orsmga005.jf.intel.com with ESMTP; 13 Feb 2023 22:31:01 -0800 From: Ke Xu To: dts@dpdk.org Cc: ke1.xu@intel.com, qi.fu@intel.com, lijuan.tu@intel.com, yux.jiang@intel.com, zhiminx.huang@intel.com Subject: [DTS][PATCH V4 5/5] test_plans/vf_offload: add VLAN packets to test scope and improve vector path validating. Date: Tue, 14 Feb 2023 14:28:40 +0800 Message-Id: <20230214062840.2434213-6-ke1.xu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230214062840.2434213-1-ke1.xu@intel.com> References: <20230214062840.2434213-1-ke1.xu@intel.com> MIME-Version: 1.0 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 VLAN Packets to ensure checksum offload works well on packets with Dot1Q part. For daily regression, we introduce wrapped cases for each path. Signed-off-by: Ke Xu --- test_plans/vf_offload_test_plan.rst | 158 ++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) diff --git a/test_plans/vf_offload_test_plan.rst b/test_plans/vf_offload_test_plan.rst index 3e9b658b..1c929371 100644 --- a/test_plans/vf_offload_test_plan.rst +++ b/test_plans/vf_offload_test_plan.rst @@ -286,6 +286,135 @@ be validated as pass by the tester. The first byte of source IPv4 address will be increased by testpmd. The checksum is indeed recalculated by software algorithms. + +Test Case: HW checksum offload check with vlan +============================================== +Start testpmd and enable checksum offload on rx port. Based on test steps of +HW checksum offload check, configure the traffic generator to send the multiple +packets for the following combination: + + +----------------+----------------------------------------+ + | packet type | packet organization | + +================+========================================+ + | | Ether / VLAN / IPv4 / UDP / payload | + | +----------------------------------------+ + | | Ether / VLAN / IPv4 / TCP / payload | + | +----------------------------------------+ + | packets | Ether / VLAN / IPv4 / SCTP / payload | + | for checksum +----------------------------------------+ + | offload test | Ether / VLAN / IPv6 / UDP / payload | + | +----------------------------------------+ + | | Ether / VLAN / IPv6 / TCP / payload | + +----------------+----------------------------------------+ + + +Test Case: HW tunneling checksum offload check with vlan +======================================================== +Based on test steps of HW tunneling checksum offload check, configure the +traffic generator to send the multiple packets combination with outer or +tunneling package of: + + +----------------+--------------------------------------------+ + | packet type | packet organization | + +================+============================================+ + | | Ether / VLAN / IPv4 / UDP / VXLAN / Ether | + | +--------------------------------------------+ + | | Ether / VLAN / IPv6 / UDP / VXLAN / Ether | + | +--------------------------------------------+ + | | Ether / VLAN / IPv4 / GRE | + | outer and +--------------------------------------------+ + | tunneling | Ether / VLAN / IPv4 / GRE / Ether | + | packets +--------------------------------------------+ + | for checksum | Ether / VLAN / IPv6 / GRE | + | offload test +--------------------------------------------+ + | | Ether / VLAN / IPv6 / GRE / Ether | + | +--------------------------------------------+ + | | Ether / VLAN / IPv4 / NVGRE | + | +--------------------------------------------+ + | | Ether / VLAN / IPv4 / NVGRE / Ether | + | +--------------------------------------------+ + | | Ether / VLAN / IPv6 / NVGRE | + | +--------------------------------------------+ + | | Ether / VLAN / IPv6 / NVGRE / Ether | + | +--------------------------------------------+ + | | Ether / VLAN / IPv4 / UDP / GTPU | + | +--------------------------------------------+ + | | Ether / VLAN / IPv6 / UDP / GTPU | + +----------------+--------------------------------------------+ + + +Test Case: HW checksum offload check on scalar path +=================================================== +These set of cases based on existing cases are designed for better case managment for +regression test. + +Start testpmd with eal parameter --force-max-simd-bitwidth=64. Based on test steps of +'HW checksum offload check'. + +Test Case: HW checksum offload check on sse path +================================================ +Start testpmd with eal parameter --force-max-simd-bitwidth=128. Based on test steps of +'HW checksum offload check'. + +Test Case: HW checksum offload check on avx2 path +================================================= +Start testpmd with eal parameter --force-max-simd-bitwidth=256. Based on test steps of +'HW checksum offload check'. + +Test Case: HW checksum offload check on avx512 path +=================================================== +Start testpmd with eal parameter --force-max-simd-bitwidth=512. Based on test steps of +'HW checksum offload check'. + +Test Case: HW checksum offload check with vlan on scalar path +============================================================= + +Test Case: HW checksum offload check with vlan on sse path +============================================================= + +Test Case: HW checksum offload check with vlan on avx2 path +============================================================= + +Test Case: HW checksum offload check with vlan on avx512 path +============================================================= + +Test Case: HW tunneling checksum offload check on scalar path +============================================================= + +Test Case: HW tunneling checksum offload check on sse path +========================================================== + +Test Case: HW tunneling checksum offload check on avx2 path +=========================================================== + +Test Case: HW tunneling checksum offload check on avx512 path +============================================================= + +Test Case: HW tunneling checksum offload check with vlan on scalar path +======================================================================= + +Test Case: HW tunneling checksum offload check with vlan on sse path +==================================================================== + +Test Case: HW tunneling checksum offload check with vlan on avx2 path +===================================================================== + +Test Case: HW tunneling checksum offload check with vlan on avx512 path +======================================================================= + +Test Case: SW checksum offload check on scalar path +=================================================== + +Test Case: SW checksum offload check on sse path +================================================ + +Test Case: SW checksum offload check on avx2 path +================================================= + +Test Case: SW checksum offload check on avx512 path +=================================================== + + Prerequisites for TSO ===================== @@ -510,3 +639,32 @@ Test IPv6() in scapy:: for one_outer_packet in outer_packet_list: sendp([Ether(dst="%s", src="52:00:00:00:00:00")/one_outer_packet/IPv6(src="FE80:0:0:0:200:1FF:FE00:200", dst="3555:5555:6666:6666:7777:7777:8888:8888")/TCP(sport=1021,dport=1021)/Raw(load=RandString(size=%s))], iface="%s", count = %s) + +Test case: csum fwd engine, use TSO, on scalar path +=================================================== +These set of cases based on existing cases are designed for better case managment for +regression test. + +Start testpmd with eal parameter --force-max-simd-bitwidth=64. Based on test steps of +'csum fwd engine, use TSO'. + +Test case: csum fwd engine, use TSO, on sse path +================================================ + +Test case: csum fwd engine, use TSO, on avx2 path +================================================= + +Test case: csum fwd engine, use TSO, on avx512 path +=================================================== + +Test case: csum fwd engine, use tunnel TSO, on scalar path +========================================================== + +Test case: csum fwd engine, use tunnel TSO, on sse path +======================================================= + +Test case: csum fwd engine, use tunnel TSO, on avx2 path +======================================================== + +Test case: csum fwd engine, use tunnel TSO, on avx512 path +========================================================== -- 2.25.1