[dpdk-dev] [PATCH] net/thunderx: use rte version of byteorder.h

Ferruh Yigit ferruh.yigit at intel.com
Fri Apr 7 13:59:34 CEST 2017


On 4/6/2017 5:06 PM, Jerin Jacob wrote:
> The base code was using native GCC macros
> for endian detection. Change to portable
> rte_byteorder.h based endian detection.
> 
> Fixes: 262d43fe20ee ("net/thunderx/base: add HW register definitions")
> 
> Suggested-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
> Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>

There is one more __BYTE_ORDER__ usage [1], is it kept intentional?

[1]
$ git grep __BYTE_ORDER__ drivers/net/thunderx/
drivers/net/thunderx/base/nicvf_mbox.c:#if __BYTE_ORDER__ ==
__ORDER_BIG_ENDIAN__



More information about the dev mailing list