From patchwork Wed Sep 30 06:46:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 79276 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 47E34A04B1; Wed, 30 Sep 2020 08:45:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EB63F1DAD4; Wed, 30 Sep 2020 08:45:29 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 3AC681DACC for ; Wed, 30 Sep 2020 08:45:27 +0200 (CEST) IronPort-SDR: sbsc0RQQMQ3GsqFBe1DSBpxQFeTiO5NxK7VnlSBO1iN4nRl4AexwKq1jAYi0TqZuNa08M+V9bS rVbwklxhN5Wg== X-IronPort-AV: E=McAfee;i="6000,8403,9759"; a="150038176" X-IronPort-AV: E=Sophos;i="5.77,321,1596524400"; d="scan'208";a="150038176" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 23:45:26 -0700 IronPort-SDR: R/f0kHCxquHSu4YHoGdaHIe413qmp5gh9aOfD0jqDDWVNim5jLCBxz0uFZs/fdMLR/zySiqEBe 0H7hSTrc68lQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,321,1596524400"; d="scan'208";a="324943143" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 29 Sep 2020 23:45:24 -0700 From: Chen Linglix To: dts@dpdk.org Cc: Chen Linglix Date: Wed, 30 Sep 2020 14:46:43 +0800 Message-Id: <20200930064644.22944-2-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200930064644.22944-1-linglix.chen@intel.com> References: <20200930064644.22944-1-linglix.chen@intel.com> Subject: [dts] [dts 1/2] tests/TestSuite_userspace_ethtool:add foxville X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" Signed-off-by: Chen Linglix --- tests/TestSuite_userspace_ethtool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py index 213a6283..68dace33 100644 --- a/tests/TestSuite_userspace_ethtool.py +++ b/tests/TestSuite_userspace_ethtool.py @@ -585,7 +585,7 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator): mtus = [1519, 2048] mtu_threshold = 2022 offset = 0 - if self.nic in ['powerville', 'springville']: + if self.nic in ['powerville', 'springville', 'foxville']: mtu_threshold = 2026 offset = 4 # RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN + ICE_VLAN_TAG_SIZE * 2 @@ -605,7 +605,7 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator): # The mtu threshold is 2022,When it is greater than 2022, the open/stop port is required. if mtu > mtu_threshold: - if self.nic in ['powerville', 'springville']: + if self.nic in ['powerville', 'springville', 'foxville']: mtu = mtu_threshold self.dut.send_expect("stop %s" % index, "EthApp>") self.dut.send_expect("mtu %d %d" % (index, mtu), "EthApp>")