From patchwork Fri Nov 25 09:16:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 120156 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CA88DA0032; Fri, 25 Nov 2022 10:16:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFF3E4021F; Fri, 25 Nov 2022 10:16:58 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 5D7B140150 for ; Fri, 25 Nov 2022 10:16:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669367817; x=1700903817; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=w04FvViwIvfUs+BMM8mfs9H9Jg04YoIZNmLsoZeVnIQ=; b=K9xj/qSyPFwACQ6iTRZF0wNOb49CzSe8pSF0g471egxxHr+iwmPvXjYZ v9XQipPl+kgwMVYVNimS1v0etKcVbti/FDmSlyj5cFQN6LZOARET5ozmc 01TDiKXxm4xaHPntUwziieCOpZJPCfFxFy9sagd4vUtPPbyCdjJkhIur0 e4SqAWeT/KVdCRZQ4pJ/mjcBLj4AOBK/r8vEfgIlXbG9cFcoMn7OQChaj yVGTuDk8ARJGVzFzUZ2AxZIZgECofV6wiF+7eBeH/O3stSkD4qRXVSe46 tdbz1D+7N8wgy7h3EYwzO/kBX6OmRyiTpjutLkj1G7JCAPj/fVsaHaOaJ A==; X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="294148512" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="294148512" 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:57 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="971513362" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="971513362" 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:55 -0800 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V1 11/12] test_plans/tx_preparation: dts adaptation DPDk checksum function changes Date: Fri, 25 Nov 2022 17:16:36 +0800 Message-Id: <20221125091637.1811-11-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 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/tx_preparation_test_plan.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test_plans/tx_preparation_test_plan.rst b/test_plans/tx_preparation_test_plan.rst index 9d68782b..a739c13d 100644 --- a/test_plans/tx_preparation_test_plan.rst +++ b/test_plans/tx_preparation_test_plan.rst @@ -64,6 +64,11 @@ Enable hardware checksum for IP/TCP/UDP packets:: testpmd> csum set tcp hw 0 testpmd> csum set udp hw 0 +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: TX preparation forwarding of non-TSO packets =======================================================