From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by dpdk.org (Postfix) with ESMTP id 9907D1B014 for ; Tue, 9 Jan 2018 10:09:06 +0100 (CET) Received: by mail-lf0-f68.google.com with SMTP id e27so15085845lfb.9 for ; Tue, 09 Jan 2018 01:09:06 -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=tv/j3vIybnTeMl7W4X9cDskMDr90vUD0rzkoZfFf03s=; b=nN4j7LgxIDDJH1KZ6zZrVQ/zh6z2J7znjPoZ1g2uFdPGMVu9QgUIVNKkPVbIkr55t4 /vJYXJPArVq5dptEZ1Q+dOkzFTyXxZVA+ddv+0QwcU7N2qeAHsf3AS8IZK4PfdBxJ9z4 EmQbkd4Kx08hLj3Cl/ipqJszfu66W7fQ1kO8cSEp6ztmjo219AWAfnBy4pBwryPOcue9 uehrTbmPWAHHPstD6yMt0v8Uuhqssa5DZ2u26RjRXRil6uWUpGEvvIk1Qr7udAIKGfi6 qYujx4h5uRcHH9laAPTk54iLW6MqZU9BekhBPldM/lBG36EQXnyeAXrCj5hNe9llfiBr qBYA== 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=tv/j3vIybnTeMl7W4X9cDskMDr90vUD0rzkoZfFf03s=; b=BTYezQYWKdXEYToGGad0yjgpPah4nOX6t0sWm+h+Yd9XksmhYiLR7c8RR+OHcR5Tv0 GsoOHmHNX6WNlT/XGW+NRJmovR7hNIn8wAAduKyJhVMiW+Li6Gq9kMlR3c1H91mIySqn kcxZGUTgupwhfuV08l4AqZDEvuO7gd9jZKijbVt6J2+ElBqSgUNCk9L3jAIFNKIXT1Hn vEE8sQL7P3EB1qkcgT3AlNb+1b+l6EfNL4Nif5KwqJ1d0EIW2hcfSNZgOMehfCeSzEQm 7mq1nXNiaYfoaBWLDM+R7wDcOEI/WeHrCHEla1M/JstYLlf7wMQQPLRxHQ+0sVPVTCF7 6SPA== X-Gm-Message-State: AKGB3mJVd7gxtt61zZ5PEF/Glg5tojwYSmPmc1n//R1WhWWqOE9uzSqz JTLkXVKYR2YjBqXKl9gN/iWxUJNDK/I= X-Google-Smtp-Source: ACJfBoslr4UUXjoZoYpvtDx7zGqZa7MUGpj40FqEpIPBVZcNOixdKhSMJTSLeLXNAtd0+BFKIQMFlg== X-Received: by 10.46.8.89 with SMTP id g25mr8480684ljd.6.1515488945992; Tue, 09 Jan 2018 01:09:05 -0800 (PST) Received: from sh.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id v63sm2766397lje.39.2018.01.09.01.09.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jan 2018 01:09:04 -0800 (PST) From: Tomasz Duszynski To: dev@dpdk.org Cc: mw@semihalf.com, dima@marvell.com, nsamsono@marvell.com, jianbo.liu@arm.com, Tomasz Duszynski Date: Tue, 9 Jan 2018 10:08:47 +0100 Message-Id: <1515488928-30495-1-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513001223-9881-2-git-send-email-tdu@semihalf.com> References: <1513001223-9881-2-git-send-email-tdu@semihalf.com> Subject: [dpdk-dev] [PATCH v3 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: Tue, 09 Jan 2018 09:09:06 -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 --- v2: * Mention required MUSDK compilation option 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