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 C49E5A0032; Fri, 25 Nov 2022 10:16:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C20BD40A82; Fri, 25 Nov 2022 10:16:49 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id CA1FF4161A for ; Fri, 25 Nov 2022 10:16:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669367806; x=1700903806; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9uEQaVUhO0zIwqLF2+y1oXQbzbLQVP4Uqo5VN7jrye4=; b=K6vEwA3fguB2yWiKK6zGPEyG0ueO6UtEqUNx/4GGYG7xMHh7TsGENeq2 HYhI981FhsCRN7VaRMfF0o0pEMr8KnVIeBmSXSKjIpWnNm3BConYx2H3k UFhWgXf1fCNrDsXnpecTpoeJTCPQ9yotVdXsUbM9IMA/FdR+mbFvmGfsx MvOD5r2hdn+73bO7vM4A0nKY4Pykop5vt6liDLkSOgFuW7tvcDldJaBoV Pnre4e+WIWqKHSbmyi6HwvRh3elECNpct2FPLw2bfAW8uDfItv+ls9tzO dUjXBfBIj6wpIAXsqbruLGLPrdJLucmM+z45s/d+L87yoK7S2UKFEPHk/ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="294148474" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="294148474" 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:46 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="971513296" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="971513296" 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:45 -0800 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V1 04/12] tests/checksum_offload: dts adaptation DPDk checksum function changes Date: Fri, 25 Nov 2022 17:16:29 +0800 Message-Id: <20221125091637.1811-4-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 --- tests/TestSuite_checksum_offload.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_checksum_offload.py b/tests/TestSuite_checksum_offload.py index 6eed3f05..0214231c 100644 --- a/tests/TestSuite_checksum_offload.py +++ b/tests/TestSuite_checksum_offload.py @@ -90,6 +90,7 @@ class TestChecksumOffload(TestCase): ) self.dut.send_expect("set verbose 1", "testpmd>") self.dut.send_expect("set fwd csum", "testpmd>") + self.dut.send_expect("csum mac-swap off 0", "testpmd>") def checksum_enablehw(self, port): self.dut.send_expect("port stop all", "testpmd>") -- 2.27.0