From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id C32C12647 for ; Thu, 10 Aug 2017 03:03:42 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP; 09 Aug 2017 18:03:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,349,1498546800"; d="scan'208";a="117439444" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga004.jf.intel.com with ESMTP; 09 Aug 2017 18:03:38 -0700 Received: from BGSMSX107.gar.corp.intel.com (10.223.4.191) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 9 Aug 2017 18:03:38 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.180]) by BGSMSX107.gar.corp.intel.com ([169.254.9.41]) with mapi id 14.03.0319.002; Thu, 10 Aug 2017 06:33:35 +0530 From: "Yang, Zhiyong" To: Stephen Hemminger CC: "dev@dpdk.org" , "thomas@monjalon.net" Thread-Topic: [dpdk-dev] [PATCH 2/2] examples: increase port_id range Thread-Index: AQHTEOtoISqbLNVyKkSD3nA8XjjN8qJ7vxiAgAEHktA= Date: Thu, 10 Aug 2017 01:03:35 +0000 Message-ID: References: <20170809084203.17562-1-zhiyong.yang@intel.com> <20170809084203.17562-3-zhiyong.yang@intel.com> <20170809074831.4630785c@xeon-e3> In-Reply-To: <20170809074831.4630785c@xeon-e3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTYyMDU2NTAtODQyNy00OGQxLTljM2EtOGU2OTBiMGNkMjkzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Im9ZYkU2M1BqZGg5QlwvZHJUUkd1cFkza2kzd29vSXgxRnE3dWNGanB1N3NvPSJ9 x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/2] examples: increase port_id range X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2017 01:03:43 -0000 Hi, Stephen: > -----Original Message----- > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > Sent: Wednesday, August 9, 2017 10:49 PM > To: Yang, Zhiyong > Cc: dev@dpdk.org; thomas@monjalon.net > Subject: Re: [dpdk-dev] [PATCH 2/2] examples: increase port_id range >=20 > On Wed, 9 Aug 2017 16:42:03 +0800 > Zhiyong Yang wrote: >=20 > > - BOND_PORT =3D (uint8_t)retval; > > + BOND_PORT =3D (uint16_t)retval; > > >=20 > The cast here is unnecessary (in C). Please remove it. Ok, remove it. Thanks Zhiyong