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 C508C41C84; Mon, 13 Feb 2023 09:01:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCA2F42D0C; Mon, 13 Feb 2023 09:01:02 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 94AAA40A81 for ; Mon, 13 Feb 2023 09:01:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676275261; x=1707811261; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SUQem2bphwZFoUjKjsYUqz+eObP41CvnVDrLqUtGLf0=; b=X0gqcWg8U+yFqe6ykH6WNduUY5LRnxJuSWMyM4KfpawBQYn9VViUJMXY WesPxpVqj4kfhUmXMKrh5N22wI96cM9SW+cul1DfxnYbf6zrPIuT9bRLe RzlQdgm7hVDBPXaLULrNDouCKaCGtYE74RRKCYSnR1txtJ5KFVyCUXYmP iJXWDmZXFyzmfmPZa90AeYD8C4GBH+dn0D0qIxrsw3F3PIgczby4DZi3I ZNVVGYKsAQag3Z/5i7us59eSEeJJnn+Sb7DmnTiqmKfaSrdX/qD4q1l/m 54gRFCeOKM3an0Wh/WRJRb1XFOrlYDoImWmq1B/F+0a/OO1FakVXaDmpD A==; X-IronPort-AV: E=McAfee;i="6500,9779,10619"; a="314476372" X-IronPort-AV: E=Sophos;i="5.97,293,1669104000"; d="scan'208";a="314476372" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2023 00:00:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10619"; a="732409279" X-IronPort-AV: E=Sophos;i="5.97,293,1669104000"; d="scan'208";a="732409279" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.119.8]) by fmsmga008.fm.intel.com with ESMTP; 13 Feb 2023 00:00:54 -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 V2 5/5] test_plans/vf_offload: add VLAN packets to test scope and improve vector path validating. Date: Mon, 13 Feb 2023 15:58:12 +0800 Message-Id: <20230213075810.1337897-6-ke1.xu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230213075810.1337897-1-ke1.xu@intel.com> References: <20230213075810.1337897-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