#include <rte_byteorder.h>
+#include <compat.h>
+
#ifdef RTE_LIBRTE_PMD_CAAM_JR_BE
#define CAAM_BYTE_ORDER __BIG_ENDIAN
#else
#define CORE_BYTE_ORDER __LITTLE_ENDIAN
#endif
-typedef uint64_t dma_addr_t;
-
#if CORE_BYTE_ORDER != CAAM_BYTE_ORDER
#define cpu_to_caam64 rte_cpu_to_be_64