From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e28smtp05.in.ibm.com (e28smtp05.in.ibm.com [122.248.162.5]) by dpdk.org (Postfix) with ESMTP id 217B67EB0 for ; Thu, 4 Dec 2014 10:29:10 +0100 (CET) Received: from /spool/local by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 4 Dec 2014 14:59:07 +0530 Received: from d28dlp03.in.ibm.com (9.184.220.128) by e28smtp05.in.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 4 Dec 2014 14:59:05 +0530 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id D361D125804F for ; Thu, 4 Dec 2014 14:59:22 +0530 (IST) Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay05.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sB49TbO848103650 for ; Thu, 4 Dec 2014 14:59:37 +0530 Received: from d28av03.in.ibm.com (localhost [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sB49SxEs014181 for ; Thu, 4 Dec 2014 14:59:00 +0530 Received: from [127.0.0.1] ([9.186.58.54]) by d28av03.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id sB49SsHO013655; Thu, 4 Dec 2014 14:58:58 +0530 Message-ID: <54802955.2090104@linux.vnet.ibm.com> Date: Thu, 04 Dec 2014 17:28:53 +0800 From: Chao Zhu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Thomas Monjalon , dev@dpdk.org References: <283531301.lWbIahXLyM@xps13> <1417639668-23500-1-git-send-email-thomas.monjalon@6wind.com> In-Reply-To: <1417639668-23500-1-git-send-email-thomas.monjalon@6wind.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14120409-0017-0000-0000-00000287FC7B Subject: Re: [dpdk-dev] [PATCH 0/2] fix endianness in EAL X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2014 09:29:12 -0000 On 2014/12/4 4:47, Thomas Monjalon wrote: > It can be hard to implement a reliable detection of endianness. > Previous trials in testpmd failed. > The IBM Power patchset introduced a config option. > > This patchset try to improve the situation by having a detection > in EAL headers. > > Please test it (especially on IBM Power) with different toolchains > or distributions. > > Thomas Monjalon (2): > eal: detect endianness > app/testpmd: fix endianness detection > I tested it on IBM Power with GCC 4.8. It works fine. If there is no other better way to do the detection, I think this patch is good enough. Acked-by: Chao Zhu