From patchwork Fri Apr 30 15:48:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 92467 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 9F4FEA0548; Fri, 30 Apr 2021 09:12:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90FBD4069E; Fri, 30 Apr 2021 09:12:33 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 38B1540693 for ; Fri, 30 Apr 2021 09:12:32 +0200 (CEST) IronPort-SDR: pTXYrqSMkpe3CcTZOjri1UMsKnAgzpZKbFtxVXuwJgeFnZfKX/Q2/njXmVj1LFS47AqNdfHDzc yPk2316Kn70A== X-IronPort-AV: E=McAfee;i="6200,9189,9969"; a="217952566" X-IronPort-AV: E=Sophos;i="5.82,260,1613462400"; d="scan'208";a="217952566" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2021 00:12:31 -0700 IronPort-SDR: uOjCqAqMWwlrh+6ka20CAwZ7TlD8BMQqjF7dlwEQ0wP9tjeeiuwJW+cp63JDIEOEjenoS9hr3T KCnVwudjRGiQ== X-IronPort-AV: E=Sophos;i="5.82,260,1613462400"; d="scan'208";a="424727923" Received: from unknown (HELO DPDK-CVL-tetser102.icx.intel.com) ([10.240.183.102]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2021 00:12:30 -0700 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Fri, 30 Apr 2021 15:48:13 +0000 Message-Id: <20210430154813.15699-3-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210430154813.15699-1-linglix.chen@intel.com> References: <20210430154813.15699-1-linglix.chen@intel.com> Subject: [dts] [PATCH V1 2/2] tests/shutdown_api: modify igb pktSize 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 Sender: "dts" According to dpdk commit ddbc8c16a97f ("net/e1000: fix max Rx packet size"). modify igb pktSize. Signed-off-by: Lingli Chen --- tests/TestSuite_shutdown_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index 79d0bdd7..03eb89ab 100644 --- a/tests/TestSuite_shutdown_api.py +++ b/tests/TestSuite_shutdown_api.py @@ -616,7 +616,7 @@ class TestShutdownApi(TestCase): self.dut.send_expect("port start all", "testpmd> ", 100) self.dut.send_expect("start", "testpmd> ") - if self.nic in ['magnolia_park', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville', 'sageville', 'sagepond']: + if self.nic in ['magnolia_park', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'sageville', 'sagepond']: # nantic vlan length will not be calculated vlan_jumbo_size = jumbo_size + 4 else: @@ -639,7 +639,7 @@ class TestShutdownApi(TestCase): """ On 1G NICs, when the jubmo frame MTU set as X, the software adjust it to (X + 4). """ - if self.nic in ["powerville", "springville", "kawela_4"]: + if self.nic in ["kawela_4"]: jumbo_size += 4 self.check_forwarding(pktSize=jumbo_size - 1) self.check_forwarding(pktSize=jumbo_size)