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 1EFE47CC2 for ; Thu, 30 Nov 2017 14:33:00 +0100 (CET) Received: by mail-lf0-f66.google.com with SMTP id 94so7892488lfy.10 for ; Thu, 30 Nov 2017 05:33:00 -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=oCk3Q5g0+8AVXHO3H2jXLDxjTBWyLJ7RdCMOtp/qIG0=; b=0WIYv1o3bWjaCOKI29FLhTWhMkq/qqUHyNOr8cvkqJHLHCK8fkYtqNMAsgc1+aut3o XTytrThy5G0f1tjOKZQoi8W695ydpGxHpFnHew0/zloBMSetdiuFDHABfAYxxJWywvOF 4YrFhh3V61s4lRjKAiU8MedMeAQW6CrE5uNiyqDWgbYKD9fnSdaTMw44CZciOP48VYDl 2eG3roNx7c2t/Oaj2xtVWx/a4Qx8Uns3l/TUDhATJ3TPQxOpg6gwCJIy/1sEEsnKcIUS WyYY6xdPC0unsJh+/buonbyXG2MBLrctioW668lMK2/ihSNsYtkQhWVumR/0ecv74wdq stYw== 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=oCk3Q5g0+8AVXHO3H2jXLDxjTBWyLJ7RdCMOtp/qIG0=; b=ENEcJAqKRlc2jfbfeIKiNCCqXpRknXiTeDlut/UqrWSCPebYDHvFUlI+5gqfOZqkVI N7wnBcX4JdihZHObhTkDSz6WKKOx/+JK8JE2j9Fp1PnX2djynj3aejhn3IPfBdwStqOS MA0mVHis7/fS0I706EbLRi8bZiGmJzmuwAwPl0lmeUEVZc5GIz2keAQRWlgUbA7xiUVG Yqcr7ArNtnlPWnONjkrQkKlc343fETCPP11UH+4KqqfV15c+OPJkmiXkOM9UDKo+g/T1 +jjOSW0WqPOYDY6Qw5mgrJDdiKVP6F++GrIcSq3Pxnk1e/3MxFpyxnkNu+Wzgalghoo8 Y6xw== X-Gm-Message-State: AJaThX4/K4xO/FUrHV0+02+a7PxNm94mXnEVuMGZmgv8nNtcQ1XrE951 jx3g/COoPtBtpNYobGXivYi4W5Bi0mg= X-Google-Smtp-Source: AGs4zMZYfvT1BYUN1cQPx8hNuWUwoCf3aF5wXIqDeBcPdo7s2ldPZDA3EF2EBueUH3HWgQzK84j+hg== X-Received: by 10.46.64.194 with SMTP id r63mr3076940lje.112.1512048780291; Thu, 30 Nov 2017 05:33:00 -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 19sm852050ljx.58.2017.11.30.05.32.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Nov 2017 05:32:59 -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: Thu, 30 Nov 2017 14:32:53 +0100 Message-Id: <1512048774-23838-2-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512048774-23838-1-git-send-email-tdu@semihalf.com> References: <1512048774-23838-1-git-send-email-tdu@semihalf.com> Subject: [dpdk-dev] [PATCH 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: Thu, 30 Nov 2017 13:33:01 -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 --- 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