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 A70CDA0093; Fri, 25 Nov 2022 10:16:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3D4C42D17; Fri, 25 Nov 2022 10:16:56 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id D336440150 for ; Fri, 25 Nov 2022 10:16:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669367816; x=1700903816; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0yyTkY16GbbNLE8WW4X+wgxJwJfWdSJvpcz/eRK4ztQ=; b=DkqP6ieLZ6R/nxWvTkXdxeHVOjd167Z0a3UHg0t1VkXdHDjZvNmQstT3 RsaEYW3HBumKsxZWqcVn7fxQcdva0qB/sZASdVH235+H/PPxDcn4lgkZB e9RNqQqMP3nn8EsIieQKN0KELiCPXnavbYCIA6nTLRdKnZP0bG8Tvprqy CDRyuS8isRBhCI/ZX/XbQJhrQUDEvn6FQUOOMNtBKr1Zaqb6KeJoxcJzf 1/8RzQMTZodjSa6j1HrciJyqWrdX++VWBOudoaP0pu7NBAdeQzY02Cyas ZlsjdnWbwsiOcosfPiCk3nrpV7PbYTNcxeUxLNeaque6Kxsk2H5WwVq+u Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="294148506" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="294148506" 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:55 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="971513355" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="971513355" 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:54 -0800 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V1 10/12] tests/ice_iavf_fdir: dts adaptation DPDk checksum function changes Date: Fri, 25 Nov 2022 17:16:35 +0800 Message-Id: <20221125091637.1811-10-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_ice_iavf_fdir.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_ice_iavf_fdir.py b/tests/TestSuite_ice_iavf_fdir.py index d6ca832a..6410920c 100644 --- a/tests/TestSuite_ice_iavf_fdir.py +++ b/tests/TestSuite_ice_iavf_fdir.py @@ -11082,6 +11082,7 @@ class TestICEIAVFFdir(TestCase): self.dut.send_expect("csum set udp %s %d" % (hw, port), "testpmd>") self.dut.send_expect("port start all", "testpmd>") self.dut.send_expect("set promisc 0 on", "testpmd>") + self.dut.send_expect("csum mac-swap off 0", "testpmd>") self.dut.send_expect("start", "testpmd>") def get_chksum_values(self, packets_expected): -- 2.27.0