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 3AEB3A046B for ; Mon, 19 Aug 2019 11:41:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EA8F31B96B; Mon, 19 Aug 2019 11:41:30 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id E91071B94A for ; Mon, 19 Aug 2019 11:41:28 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Aug 2019 02:41:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,403,1559545200"; d="scan'208";a="195501173" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 19 Aug 2019 02:41:27 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 19 Aug 2019 02:41:27 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 19 Aug 2019 02:41:27 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.112]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.62]) with mapi id 14.03.0439.000; Mon, 19 Aug 2019 17:41:25 +0800 From: "Lin, Xueqin" To: "20190819110625.73544-9-qi.fu@intel.com" <20190819110625.73544-9-qi.fu@intel.com>, "dts@dpdk.org" CC: "Fu, Qi" Thread-Topic: [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre Thread-Index: AQHVVm6xCTdBU8DaR0eS5LRrS1RqmacCNt5Q Date: Mon, 19 Aug 2019 09:41:24 +0000 Message-ID: <0D300480287911409D9FF92C1FA2A3355B55505A@SHSMSX104.ccr.corp.intel.com> References: <20190819175759.25357-1-qi.fu@intel.com> In-Reply-To: <20190819175759.25357-1-qi.fu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 V2 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre 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" Strange for the change, you can try below. + self.verify(self.nic.startswith("fortville") or self.nic.start= swith("carlsville "), "GRE tunnel packet type only support by Fortville and= carlsville") Best regards, Xueqin > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of qifu > Sent: Tuesday, August 20, 2019 1:58 AM > To: dts@dpdk.org > Cc: Fu, Qi > Subject: [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to > support nic of ipgre >=20 > Add carlsville to support nic of ipgre. > Signed-off-by: qifu > --- > tests/TestSuite_ipgre.py | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py index > 6f465fa..2a66928 100644 > --- a/tests/TestSuite_ipgre.py > +++ b/tests/TestSuite_ipgre.py > @@ -63,8 +63,9 @@ class TestIpgre(TestCase): > """ > self.printFlag =3D self._enable_debug > ports =3D self.dut.get_ports() > - self.verify(self.nic.startswith("fortville"), > - "GRE tunnel packet type only support by Fortville") > + if self.nic !=3D "carlsville": > + self.verify(self.nic.startswith("fortville"), > + "GRE tunnel packet type only support by > + Fortville and carlsville") > self.verify(len(ports) >=3D 1, "Insufficient ports for testing") > valports =3D [_ for _ in ports if self.tester.get_local_port(_) = !=3D -1] > # start testpmd > -- > 2.17.1