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 19729A056D; Tue, 3 Mar 2020 08:32:34 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D4C1A1BFF0; Tue, 3 Mar 2020 08:32:33 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 626C33B5 for ; Tue, 3 Mar 2020 08:32:32 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2020 23:32:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,510,1574150400"; d="scan'208";a="351764530" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 02 Mar 2020 23:32:30 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Mar 2020 23:32:30 -0800 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Mar 2020 23:32:30 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.86]) with mapi id 14.03.0439.000; Tue, 3 Mar 2020 15:32:28 +0800 From: "Tu, Lijuan" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed Thread-Index: AQHV8Sfey4dhUPENCEyNX1RMTx3FO6g2eRyw Date: Tue, 3 Mar 2020 07:32:28 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBE933E@SHSMSX101.ccr.corp.intel.com> References: <1583246198-54105-1-git-send-email-xiaoxiaox.zeng@intel.com> In-Reply-To: <1583246198-54105-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="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed 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" > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zeng Xiaoxiao > Sent: Tuesday, March 3, 2020 10:37 PM > To: dts@dpdk.org > Cc: Zeng, XiaoxiaoX > Subject: [dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed >=20 > *.cvl100G link speed is different with cvl25G. >=20 > Signed-off-by: Zeng Xiaoxiao > --- > tests/TestSuite_shutdown_api.py | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > diff --git a/tests/TestSuite_shutdown_api.py > b/tests/TestSuite_shutdown_api.py index 11d451b..0127a57 100644 > --- a/tests/TestSuite_shutdown_api.py > +++ b/tests/TestSuite_shutdown_api.py > @@ -466,6 +466,12 @@ class TestShutdownApi(TestCase): > elif self.nic in ["sagepond"]: > if config[0] !=3D '1000' and '10000': > continue > + elif self.nic =3D=3D "columbiaville_100g": > + if config[0] !=3D '100000': > + continue > + elif self.nic =3D=3D "columbiaville_25g": > + if config[0] !=3D '10000': [Lijuan] not see 25000, a 25G nic support 25G certainly, is there anything = I missing? > + continue > self.dut.send_expect("port stop all", "testpmd> ", 100) > for port in self.ports: > self.dut.send_expect("port config %d speed %s duplex %s"= % (port, > -- > 1.8.3.1