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 EA3971B1C7 for ; Mon, 16 Apr 2018 08:08:16 +0200 (CEST) Received: by mail-lf0-f66.google.com with SMTP id q9-v6so20266526lfk.9 for ; Sun, 15 Apr 2018 23:08:16 -0700 (PDT) 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; bh=9VHh/V2bhOBi+xFRyy70hHq1cfuVSyn0/u38MbKLBJc=; b=1CFGzo400tgkbkhhv3huwYhkb6MG/tdgbv/eoHs8QNZyObxhlp4CtlHjw5KRKwhBIt I+RKlozk1Fefiqcl15ju/PmylC0ycLi4DY/nfqHhggI1dSZw/XktnZ8XTQcjMqLhfRZS fLCTBCdKMiEBRcKKvXyrjxO+ln+Ii5TE65gp73C5sfdzk5W2NpfTKk+o0B+cCQDWuQqs B1T6crfy9zEkT89USnJV04wdqn8vDQ77MYqxPQ6QXdEVUJvKuXodL5J9xnmBZ7rFLs4F 1TGm7Bya2ILlXRUddbVA1eQyZi4t1HPEXers3rhpOc3ZwCa341/lCIUEBfiwd9ILAAnv m6Pg== 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; bh=9VHh/V2bhOBi+xFRyy70hHq1cfuVSyn0/u38MbKLBJc=; b=gKPArYM3bQSRPwmYspyf4e5+2el+6ZTpoR2Gtqw/1SsBlv+DvMg+wmgrYte1YfHq3L MNGdtrSdPSUGi9MdDlvc/0N9Ur1dFEFU3D/t/3IvogXfsOgtFUgJhcSSIokmTvWAY7Pe +z9qGjqKC+HF2HNxvHe+uRIHgouziltELdo6HLDbgcIPp84RsrG22biknv36lLrM/FcX 7hR4tFjSUb3aNRPFi6lFe5MA4k/Xr3bDO2CVz1LXlOYVab0HOAwamAhJIfW3X6zBHu2V Z1w3u09qV59dRfkXrjoCVc/zvr9wP1PVPYdOU+tI4aiyvGYtd6MSN9K5W3xoYmRhtBRZ 1M4A== X-Gm-Message-State: ALQs6tBf6MyXO2rHR4uxxx1CP6oBjYaaEVP9C6nXxkdFb1bBgLBu83CK H3q4unFSmmOK6rB+foE8W7NZxXHDKLU= X-Google-Smtp-Source: AIpwx48aUzTJBIvS7kJcdJlEMyAeEzUpTd/qUc0J/h3FwEs12dFB+w9nmWbpHhKDo7F8R615DFtm0g== X-Received: by 2002:a19:9c0d:: with SMTP id f13-v6mr13493405lfe.9.1523858896365; Sun, 15 Apr 2018 23:08:16 -0700 (PDT) Received: from sh.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 21sm1358513ljs.93.2018.04.15.23.08.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 15 Apr 2018 23:08:15 -0700 (PDT) From: Tomasz Duszynski To: dev@dpdk.org Cc: bruce.richardson@intel.com, dima@marvell.com, nsamsono@marvell.com, Tomasz Duszynski Date: Mon, 16 Apr 2018 08:07:49 +0200 Message-Id: <1523858869-3093-1-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] crypto/mrvl: add MRVL PMD to meson 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, 16 Apr 2018 06:08:17 -0000 Add MRVL CRYPTO PMD to meson build system. Signed-off-by: Tomasz Duszynski --- drivers/crypto/meson.build | 2 +- drivers/crypto/mrvl/meson.build | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 drivers/crypto/mrvl/meson.build diff --git a/drivers/crypto/meson.build b/drivers/crypto/meson.build index 736c9f5..1295743 100644 --- a/drivers/crypto/meson.build +++ b/drivers/crypto/meson.build @@ -2,7 +2,7 @@ # Copyright(c) 2017 Intel Corporation drivers = ['dpaa_sec', 'dpaa2_sec', - 'openssl', 'null', 'qat'] + 'openssl', 'mrvl', 'null', 'qat'] std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps config_flag_fmt = 'RTE_LIBRTE_@0@_PMD' diff --git a/drivers/crypto/mrvl/meson.build b/drivers/crypto/mrvl/meson.build new file mode 100644 index 0000000..c05c793 --- /dev/null +++ b/drivers/crypto/mrvl/meson.build @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Marvell International Ltd. +# Copyright(c) 2018 Semihalf. +# All rights reserved. + +path = run_command('printenv', 'LIBMUSDK_PATH').stdout().strip() +lib_dir = path + '/lib' +inc_dir = path + '/include' + +lib = cc.find_library('libmusdk', dirs: [lib_dir], required: false) +if not lib.found() + build = false +else + ext_deps += lib + includes += include_directories(inc_dir) + cflags += ['-DMVCONF_TYPES_PUBLIC', '-DMVCONF_DMA_PHYS_ADDR_T_PUBLIC'] +endif + +sources = files('rte_mrvl_pmd.c', 'rte_mrvl_pmd_ops.c') + +deps += ['bus_vdev'] -- 2.7.4