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 8657D41C84; Mon, 13 Feb 2023 09:42:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7CB6142C76; Mon, 13 Feb 2023 09:42:18 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 4065840A81 for ; Mon, 13 Feb 2023 09:42:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676277737; x=1707813737; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SUQem2bphwZFoUjKjsYUqz+eObP41CvnVDrLqUtGLf0=; b=JJ5M2bpagJNx7aa9w8xbyWr30870ZvlJm0JqtwgDx2AI99+MkEcbrj3d n6IbqheVcaxGuGx3OnXT5tdLba4DrvtLNZ8gacNVT2JIjPWSxDsum99r+ PymzQmRMp46PfpfgOCj0UEp4upGcASqfhyZcH1tTCO4ZQyMcXjOXsaQNH LxpRx60/czy3aQvVNvqMELKWqy9cRVv+hrlfZa7b22mdsBRRgy+DIMrAd 1BjhykpYS/D62CGPCNg3JSv7C+SMzUy5fbKRJwOwzMOOHCXIC8jrmfN1v VywAzpw8k4qxMz3MDmEgHxGarBcF+MD2pxZV+blXrMWCOgD6GWkGPbkT4 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10619"; a="311203097" X-IronPort-AV: E=Sophos;i="5.97,293,1669104000"; d="scan'208";a="311203097" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2023 00:42:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10619"; a="914243779" X-IronPort-AV: E=Sophos;i="5.97,293,1669104000"; d="scan'208";a="914243779" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.119.8]) by fmsmga006.fm.intel.com with ESMTP; 13 Feb 2023 00:42:12 -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 V3 5/5] test_plans/vf_offload: add VLAN packets to test scope and improve vector path validating. Date: Mon, 13 Feb 2023 16:39:52 +0800 Message-Id: <20230213083952.1350755-6-ke1.xu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230213083952.1350755-1-ke1.xu@intel.com> References: <20230213083952.1350755-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