[dpdk-dev,1/2] crypto/mrvl: sync compilation with musdk-17.10
Checks
Commit Message
With a new version of the musdk library it's no longer necessary to
explicitly define MVCONF_ARCH_DMA_ADDR_T_64BIT.
Proper defines are autogenerated by ./configure script based on
passed options and available after mv_autogen_comp_flags.h inclusion.
Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>
---
drivers/crypto/mrvl/Makefile | 3 ++-
drivers/crypto/mrvl/rte_mrvl_compat.h | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
@@ -47,7 +47,8 @@ LIB = librte_pmd_mrvl_crypto.a
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -I$(LIBMUSDK_PATH)/include
-CFLAGS += -DMVCONF_ARCH_DMA_ADDR_T_64BIT
+CFLAGS += -DMVCONF_TYPES_PUBLIC
+CFLAGS += -DMVCONF_DMA_PHYS_ADDR_T_PUBLIC
# library version
LIBABIVER := 1
@@ -43,6 +43,7 @@
#ifdef container_of
#undef container_of
#endif
+#include "env/mv_autogen_comp_flags.h"
#include "drivers/mv_sam.h"
#include "drivers/mv_sam_cio.h"
#include "drivers/mv_sam_session.h"