From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hunt, David" Subject: Re: [PATCH v2 2/4] examples: increase port_id range Date: Mon, 4 Sep 2017 15:15:44 +0100 Message-ID: References: <20170809084203.17562-1-zhiyong.yang@intel.com> <20170904055734.21354-1-zhiyong.yang@intel.com> <20170904055734.21354-3-zhiyong.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: thomas@monjalon.net, ferruh.yigit@intel.com, keith.wiles@intel.com, stephen@networkplumber.org To: Zhiyong Yang , dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 1412E376C for ; Mon, 4 Sep 2017 16:15:47 +0200 (CEST) In-Reply-To: <20170904055734.21354-3-zhiyong.yang@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Zhiyong, On 4/9/2017 6:57 AM, Zhiyong Yang wrote: > Modify port_id related code in examples accordingly since port_id > definition in lib and pmd changes. > > Fix some original checkpatch issues and remove some unnecessary > cast at the same time. > > Signed-off-by: Zhiyong Yang > --- ---big snip--- I noticed that in /test/test/test_pmd_perf.c after applying the patch set, RTE_PORT_ALL is still 8-bit: -#define RTE_PORT_ALL (~(uint8_t)0x0) This probably needs to be: +#define RTE_PORT_ALL (~(portid_t)0x0) Regards, Dave.