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 A0610A0032; Fri, 25 Nov 2022 10:16:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D43140A8A; Fri, 25 Nov 2022 10:16:46 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 4F92440150 for ; Fri, 25 Nov 2022 10:16:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669367805; x=1700903805; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=o5h9VlF4wwx1pTUlF7hdjMLuKBSvcSu7g/fwIyp0W8U=; b=gDpK4kgbQh3TkllAJrfz+/RU/1FH/pFf2fvyTLXMO1qp0NKJGi65s8fY H2MU1Ocs/GRNtK4oofdQ52o1U3Hu+P0VrpKagDbzdtqkrV5iqzHQAFuzn xIuzkOfW+NVHOcLtfo2+xKeD2oevQ0Z6+u2UmV8pYs/EwFCwPIZBggT0+ jiPNnH+6ls5MQ21IparcJeEkrF1MstlAMcQ///FpuHL/2ivx95wd7twhp ox9wfXLKKPHUpuNxC/t7YYGoeS+ThQ63VjrBfYn3W8w6OKHZWzy6TPxe8 0UF/w2zWQOsqc/IgWqI1lwBQ/MbvgHjOxYe7HG1KnVXS4aRGopsGTEwRJ w==; X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="294148469" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="294148469" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2022 01:16:44 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="971513290" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="971513290" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2022 01:16:43 -0800 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V1 03/12] test_plans/checksum_offload: dts adaptation DPDk checksum function changes Date: Fri, 25 Nov 2022 17:16:28 +0800 Message-Id: <20221125091637.1811-3-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20221125091637.1811-1-weiyuanx.li@intel.com> References: <20221125091637.1811-1-weiyuanx.li@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 DPDK22.11 236bc417e2da(app/testpmd: fix MAC header in checksum forward engine) changes the checksum functions adds switches to control whether to exchange MAC address. Modify DTS code to adapt to this change. Signed-off-by: Weiyuan Li --- test_plans/checksum_offload_test_plan.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test_plans/checksum_offload_test_plan.rst b/test_plans/checksum_offload_test_plan.rst index 00db1a74..b7e1694c 100644 --- a/test_plans/checksum_offload_test_plan.rst +++ b/test_plans/checksum_offload_test_plan.rst @@ -59,6 +59,11 @@ Set the verbose level to 1 to display information for each received packet:: testpmd> set verbose 1 +Due to DPDK 236bc417e2da(app/testpmd: fix MAC header in checksum forward engine) changes the checksum +functions adds switches to control whether to exchange MAC address. +Currently, our test scripts are based on not exchanging MAC addresses, mac-swap needs to be disabled: + + testpmd> csum mac-swap off 0 Test Case: Insert IPv4/IPv6 UDP/TCP/SCTP checksum on the transmit packet ======================================================================== @@ -1000,4 +1005,4 @@ combination: IPv4/UDP, IPv4/TCP, IPv6/UDP, IPv6/TCP:: Then verify that the same number of packet are correctly received on the tester. -Inspect the pcap file from the packet capture and verify the checksums. \ No newline at end of file +Inspect the pcap file from the packet capture and verify the checksums. -- 2.27.0