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 50A48A0471 for ; Tue, 13 Aug 2019 06:49:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 006001BDAE; Tue, 13 Aug 2019 06:49:06 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id CDB121B94A for ; Tue, 13 Aug 2019 06:49:04 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 21:49:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,380,1559545200"; d="scan'208";a="178559732" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 12 Aug 2019 21:49:03 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 12 Aug 2019 21:49:03 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 12 Aug 2019 21:49:02 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.19]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.163]) with mapi id 14.03.0439.000; Tue, 13 Aug 2019 12:49:01 +0800 From: "Mo, YufengX" To: "Zhu, ShuaiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" , "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V1] tests/nvgre:Modify the syntax error. Thread-Index: AQHVUYCvxpnq+i8Vo0mpb0nmsmmw16b4gXew Date: Tue, 13 Aug 2019 04:48:59 +0000 Message-ID: References: <1565664376-72175-1-git-send-email-shuaix.zhu@intel.com> In-Reply-To: <1565664376-72175-1-git-send-email-shuaix.zhu@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 V1] tests/nvgre:Modify the syntax error. 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" `If ( )` is a C language usage habit, Could you remove it? > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai > Sent: Tuesday, August 13, 2019 10:46 AM > To: dts@dpdk.org > Cc: Zhu, WenhuiX ; Zhu, ShuaiX > Subject: [dts] [PATCH V1] tests/nvgre:Modify the syntax error. >=20 > Modify the syntax error. >=20 > Signed-off-by: zhu,shuai > --- > tests/TestSuite_nvgre.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py > index 62aac3a..dbba011 100644 > --- a/tests/TestSuite_nvgre.py > +++ b/tests/TestSuite_nvgre.py > @@ -162,7 +162,7 @@ class NvgreTestConfig(object): > """ > Return nvgre packet type > """ > - if (self.nic in ["cavium_a063", "cavium_a064"]): > + if (nic in ["cavium_a063", "cavium_a064"]): > if self.outer_ip_proto !=3D47: > if self.outer_l3_type =3D=3D 'IPv4': > return 'L3_IPV4' > -- > 2.17.2