net/thunderx: use internal byte ordering macros
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Mon, 10 Apr 2017 19:44:34 +0000 (01:14 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commit5ba411079ffdfb58906d40bb349c19d18c12a3ba
tree60c0c53a94bea8a74d5cc5c3ed4cd154ac00d249
parent69ebb8ae17bff41631f3c33a75d6584c016d74a0
net/thunderx: use internal byte ordering macros

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@6wind.com>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
drivers/net/thunderx/base/nicvf_hw_defs.h
drivers/net/thunderx/base/nicvf_mbox.c
drivers/net/thunderx/base/nicvf_plat.h