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 864A1A00C4; Wed, 16 Nov 2022 03:21:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81485410EA; Wed, 16 Nov 2022 03:21:44 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id C90EB40DFB for ; Wed, 16 Nov 2022 03:21:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668565302; x=1700101302; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DEFnZ0QDbawt2bZPbZOeAVeq/g53LEgInrn7WfBbngE=; b=HqZJFLoIL5oFC/Kpkp/Mgl3PaZkvoZHMpj+6L79fAyfEvBUKRwHUzx+v miqbV6U4r3b381R30q4C57+D9EGfGYkL2SQndioye8/ZBMyLk9T+mN6kt qQbyRDEVtg9VNegdQrpGitGeeyZjGL5A43bdzdk5iFRuTuiF813nL/y2u 8buqqO/uijSK0Iu3V/dxB/oP3GWa5hOrCMm5Cp+JlyNro9C3fwCwGPUtH XPLu0BW2q02JJD/f1jCJu1wV3Zod/iDdXYWzX+U7Ch30X6B2L1hcjRy6u gBQUcQcPILUoLrJLAAXViYWwlMkowksSY83vrUr7HToTAo5YdERC8aYlj g==; X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="312431220" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="312431220" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 18:21:41 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="670313671" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="670313671" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 18:21:40 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 2/2] tests/dpdk_gro_lib: modify testsuite by DPDK changed Date: Wed, 16 Nov 2022 10:16:30 +0800 Message-Id: <20221116021630.612263-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_gro_lib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestSuite_dpdk_gro_lib.py b/tests/TestSuite_dpdk_gro_lib.py index 0f44d666..1d3f809b 100644 --- a/tests/TestSuite_dpdk_gro_lib.py +++ b/tests/TestSuite_dpdk_gro_lib.py @@ -111,6 +111,8 @@ class TestDPDKGROLib(TestCase): def set_testpmd_params(self, mode=1): # set testpmd params 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) self.vhost_user.send_expect("port stop 0", "testpmd> ", 120) self.vhost_user.send_expect("port stop 1", "testpmd> ", 120) -- 2.25.1