From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2DE12A054F; Tue, 18 Feb 2020 09:33:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DC49A1C07F; Tue, 18 Feb 2020 09:33:48 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2DF931C038 for ; Tue, 18 Feb 2020 09:33:46 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Feb 2020 00:33:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,455,1574150400"; d="scan'208";a="229413554" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga008.fm.intel.com with ESMTP; 18 Feb 2020 00:33:45 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 18 Feb 2020 00:33:45 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.222]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.201]) with mapi id 14.03.0439.000; Tue, 18 Feb 2020 16:33:22 +0800 From: "Tu, Lijuan" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V1] tests/userspace_ethtool:port_mtu suit columbiaville_100g Thread-Index: AQHV5XPfmOunwWMZW0qgk/ObJphomaggoTeA Date: Tue, 18 Feb 2020 08:33:21 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBCB683@SHSMSX101.ccr.corp.intel.com> References: <1581931362-191106-1-git-send-email-xiaoxiaox.zeng@intel.com> In-Reply-To: <1581931362-191106-1-git-send-email-xiaoxiaox.zeng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/userspace_ethtool:port_mtu suit columbiaville_100g 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" Applied=1B$B!$=1B(B thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zeng Xiaoxiao > Sent: Monday, February 17, 2020 5:23 PM > To: dts@dpdk.org > Cc: Zeng, XiaoxiaoX > Subject: [dts] [PATCH V1] tests/userspace_ethtool:port_mtu suit > columbiaville_100g >=20 > *.columbiaville_100g need set offset=3D8. >=20 > Signed-off-by: Zeng Xiaoxiao > --- > tests/TestSuite_userspace_ethtool.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_userspace_ethtool.py > b/tests/TestSuite_userspace_ethtool.py > index 8f87ac2..08d1514 100644 > --- a/tests/TestSuite_userspace_ethtool.py > +++ b/tests/TestSuite_userspace_ethtool.py > @@ -578,7 +578,7 @@ class TestUserspaceEthtool(TestCase, > IxiaPacketGenerator): > mtu_threshold =3D 2026 > offset =3D 4 > # RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN + ICE_VLAN_TAG_SIZE * > 2 > - if self.nic in ["columbiaville_25g"]: > + if self.nic in ["columbiaville_25g","columbiaville_100g"]: > offset =3D 8 > for index in range(len(self.ports)): > port =3D self.ports[index] > @@ -589,7 +589,7 @@ class TestUserspaceEthtool(TestCase, > IxiaPacketGenerator): > self.tester.send_expect("ifconfig %s mtu 9000" % (intf), "# = ") > for mtu in mtus: > # cvl should stop port before set mtu > - if self.nic in ["columbiaville_25g"]: > + if self.nic in ["columbiaville_25g","columbiaville_100g"= ]: > self.dut.send_expect("stop %s" % index, "EthApp>") >=20 > # The mtu threshold is 2022,When it is greater than 2022= , the > open/stop port is required. > @@ -601,7 +601,7 @@ class TestUserspaceEthtool(TestCase, > IxiaPacketGenerator): > self.dut.send_expect("open %s" % index, "EthApp>") > self.dut.send_expect("mtu %d %d" % (index, mtu), "EthApp= >") >=20 > - if self.nic in ["columbiaville_25g"]: > + if self.nic in ["columbiaville_25g","columbiaville_100g"= ]: > self.dut.send_expect("open %s" % index, "EthApp>") >=20 > time.sleep(5) > -- > 1.8.3.1