From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao Zhu Subject: Re: [PATCH 0/2] fix endianness in EAL Date: Thu, 04 Dec 2014 17:28:53 +0800 Message-ID: <54802955.2090104@linux.vnet.ibm.com> References: <283531301.lWbIahXLyM@xps13> <1417639668-23500-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: Thomas Monjalon , dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1417639668-23500-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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