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 689CEA00C4; Wed, 16 Nov 2022 03:14:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5DFBA410D3; Wed, 16 Nov 2022 03:14:44 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 8732840DFB for ; Wed, 16 Nov 2022 03:14:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668564883; x=1700100883; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=M2TXwVFAtEdbXGgYjJZ3Eq2LOrYOr2pEELoYSOHEowM=; b=NAgpO+zV9GzBxRFf7b5v/Uy7jwYx4ZToVyPuEdB4w49n+cJQ7Ke7kp8R iKrB8MNX2H6b4Gq3GkTLWRS4F0B8SRWTIOZugdmOP4GAxM05GgxwzOgjR hLQ3mw/Aibxjy+ruOf5ubanWtbs+XZJPzw+cOVnkT5oup3CNK3NnVfsaO DZchgqTaxrsoKNEs8Psm4zhthoRFmGBzGyXwaeKqydMuDoLEqd5FAM3Gy MB/8ph6++orZE1C2ymgWR778XUp7wAGC4yoJ3FSYtiSaBPeiUf/Z7+JEJ SBaIOYNtKIK+nh0y/HQavoyS4l56fjB0dPrIaqsrtsIQtofNUUxrJGgXn g==; X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="398712730" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="398712730" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 18:14:42 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="639173766" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="639173766" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 18:14:40 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 2/2] tests/dpdk_gso_lib: modify testsuite by DPDK changed Date: Wed, 16 Nov 2022 10:09:31 +0800 Message-Id: <20221116020931.610036-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 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 As DPDK commit 236bc417(app/testpmd: fix MAC header in checksum forward engine),need to add `csum mac-swap off ` steps in testsuite. Signed-off-by: Wei Ling --- tests/TestSuite_dpdk_gso_lib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestSuite_dpdk_gso_lib.py b/tests/TestSuite_dpdk_gso_lib.py index 77f1b4b4..c989bfc8 100644 --- a/tests/TestSuite_dpdk_gso_lib.py +++ b/tests/TestSuite_dpdk_gso_lib.py @@ -106,6 +106,8 @@ class TestDPDKGsoLib(TestCase): self.vhost_user = self.dut.new_session(suite="user") self.vhost_user.send_expect(self.testcmd_start, "testpmd> ", 120) self.vhost_user.send_expect("set fwd csum", "testpmd> ", 120) + self.vhost_user.send_expect("csum mac-swap off 0", "testpmd> ", 120) + self.vhost_user.send_expect("csum mac-swap off 1", "testpmd> ", 120) self.vhost_user.send_expect("stop", "testpmd> ", 120) if mode == 0: self.vhost_user.send_expect("port stop 0", "testpmd> ", 120) -- 2.25.1