From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by dpdk.org (Postfix) with ESMTP id 4F70A7D52 for ; Mon, 11 Dec 2017 15:07:18 +0100 (CET) Received: by mail-lf0-f66.google.com with SMTP id x204so19267621lfa.11 for ; Mon, 11 Dec 2017 06:07:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FY3VmcGfpqwkVhbGeETI3xx/B1M+CBEUOW7lFEUBKGY=; b=ldYVTck3f3C8iH4CVnSP8vrdBkIl218mzRt8O+LNdkbgQDXNR9IFkgDBDoqAPtoAsh Zp2X+kOxRueGsC1GbpTRxYT0PALEkRpKPNGXaOielWieZX1YfIxwP4jYhKr1WlKLWlsV MhuMYeMTw0m/OqRafqpe1boTm8WnU6xceSygCxrIaTrjtKRFNnX7zScQmqiu48opTnKZ gbhj75jE/zantTvlOJ87TPx8pMIbcpwFtIYptMgAvzmV6dG0fUo0K46pXPYE70ZtDleq 0lY6K6Xo3uz+r6ye1jR6hv5K5ReYXE1xjZawvQEW8mARWEM9Pd+9hjXCya5VCeVR3wq3 sB2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FY3VmcGfpqwkVhbGeETI3xx/B1M+CBEUOW7lFEUBKGY=; b=VPZ9gRrxxv1jRAJCr3SeEwkmcYTH0V7v/sIC/HiULzv2HbfG0JUeFNHQ7VUyPv6/kS zeFlQL33HmigT36Wc6Ly+/I9+juGIbOCL61oY9er3BNbJlr7OyI647/7qsPpc2WI5H5L 5+oMZqbsaoa4kgS53VaZkf7LWk38K6MGRWPEEBA+lZNMas0XLQgUT44uEBAdXRZL0xpP EsikkykLif/TRh6/OwfJ7Q3TUAL1qIoLiUd2E5lMynHlicuB9+qbxuIBEqhrKXhNDdcD OKjwkHwHqMyHECCmVe6GPKjmQDJB9dANZUkE/esVczqmEzKtuJ/pIWFrlxr/ciMZgnIY yteA== X-Gm-Message-State: AKGB3mJld8q98/bjD3oNfqWkU4XAxKbKCY7bXcgcpdlP/XykYFDl9Xbe GTkvQLKCROWlQQnkQY2G7VYS3oZmYfc= X-Google-Smtp-Source: ACJfBotGbXq/vlbGHJqbo1keo5m5uuIZ/tF4rLkguS5t+OsaAVAqWgxGuTL2h2gPPbjE/CoZ6jbsbw== X-Received: by 10.46.1.205 with SMTP id f74mr320901lji.16.1513001237517; Mon, 11 Dec 2017 06:07:17 -0800 (PST) Received: from tdu.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id f9sm2740562lfh.92.2017.12.11.06.07.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Dec 2017 06:07:16 -0800 (PST) From: Tomasz Duszynski To: dev@dpdk.org Cc: mw@semihalf.com, jck@semihalf.com, dima@marvell.com, nsamsono@marvell.com, jianbo.liu@arm.com, Tomasz Duszynski Date: Mon, 11 Dec 2017 15:07:02 +0100 Message-Id: <1513001223-9881-2-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513001223-9881-1-git-send-email-tdu@semihalf.com> References: <1512048774-23838-1-git-send-email-tdu@semihalf.com> <1513001223-9881-1-git-send-email-tdu@semihalf.com> Subject: [dpdk-dev] [PATCH v2 1/2] crypto/mrvl: sync compilation with musdk-17.10 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2017 14:07:18 -0000 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 Acked-by: Jianbo Liu --- drivers/crypto/mrvl/Makefile | 3 ++- drivers/crypto/mrvl/rte_mrvl_compat.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/mrvl/Makefile b/drivers/crypto/mrvl/Makefile index 3532f7c..5515b40 100644 --- a/drivers/crypto/mrvl/Makefile +++ b/drivers/crypto/mrvl/Makefile @@ -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 diff --git a/drivers/crypto/mrvl/rte_mrvl_compat.h b/drivers/crypto/mrvl/rte_mrvl_compat.h index c29fa10..22cd184 100644 --- a/drivers/crypto/mrvl/rte_mrvl_compat.h +++ b/drivers/crypto/mrvl/rte_mrvl_compat.h @@ -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" -- 2.7.4