[dpdk-dev] [PATCH 0/2] fix endianness in EAL

Chao Zhu chaozhu at linux.vnet.ibm.com
Thu Dec 4 10:28:53 CET 2014


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<chaozhu at linux.vnet.ibm.com>




More information about the dev mailing list