All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>
To: dev@dpdk.org
Cc: bruce.richardson@intel.com, reshma.pattan@intel.com,
	declan.doherty@intel.com, pablo.de.lara.guarch@intel.com,
	Hari Kumar Vemula <hari.kumarx.vemula@intel.com>
Subject: [PATCH 1/4] driver/crypto: enable meson support for the aesni gcm
Date: Sat, 29 Sep 2018 13:00:58 +0100	[thread overview]
Message-ID: <1538222461-25597-2-git-send-email-hari.kumarx.vemula@intel.com> (raw)
In-Reply-To: <1538222461-25597-1-git-send-email-hari.kumarx.vemula@intel.com>

Added new meson.build files for aesni_gcm
Exported dependency library path through meson_options.txt file

Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>
---
 drivers/crypto/aesni_gcm/meson.build | 17 +++++++++++++++++
 drivers/crypto/meson.build           |  2 +-
 meson_options.txt                    |  2 ++
 3 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 drivers/crypto/aesni_gcm/meson.build

diff --git a/drivers/crypto/aesni_gcm/meson.build b/drivers/crypto/aesni_gcm/meson.build
new file mode 100644
index 000000000..a84c792c5
--- /dev/null
+++ b/drivers/crypto/aesni_gcm/meson.build
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+path = get_option('lib_IPSec_MB')
+lib_dir = path + '/lib'
+
+lib = cc.find_library('IPSec_MB', required: false)
+if not lib.found()
+	build = false
+else
+	ext_deps += lib
+endif
+
+sources = files('aesni_gcm_pmd.c', 'aesni_gcm_pmd_ops.c')
+
+deps += ['bus_vdev']
+
diff --git a/drivers/crypto/meson.build b/drivers/crypto/meson.build
index 6ed853b7a..7e14cbba0 100644
--- a/drivers/crypto/meson.build
+++ b/drivers/crypto/meson.build
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-drivers = ['ccp', 'dpaa_sec', 'dpaa2_sec', 'mvsam',
+drivers = ['aesni_gcm', 'ccp', 'dpaa_sec', 'dpaa2_sec', 'mvsam',
 	'null', 'openssl', 'qat', 'scheduler', 'virtio']
 
 std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps
diff --git a/meson_options.txt b/meson_options.txt
index d38ba56e2..8c75826c1 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -24,3 +24,5 @@ option('use_hpet', type: 'boolean', value: false,
 	description: 'use HPET timer in EAL')
 option('tests', type: 'boolean', value: true,
 	description: 'build unit tests')
+option('lib_IPSec_MB', type: 'string', value: '',
+	description: 'path to the IPSec_MB library installation directory')
-- 
2.13.6

  reply	other threads:[~2018-09-29 12:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-29 12:00 [PATCH 0/4] enable meson support for aesni_gcm, aesni_mb, kasumi and zuc Hari Kumar Vemula
2018-09-29 12:00 ` Hari Kumar Vemula [this message]
2018-10-01  9:31   ` [PATCH 1/4] driver/crypto: enable meson support for the aesni gcm Bruce Richardson
2018-09-29 12:00 ` [PATCH 2/4] drivers/crypto: enable meson support for the aesni mb Hari Kumar Vemula
2018-09-29 12:01 ` [PATCH 3/4] drivers/crypto: enable meson support for the kasumi Hari Kumar Vemula
2018-09-29 12:01 ` [PATCH 4/4] drivers/crypto: enable meson support for the zuc Hari Kumar Vemula
2018-09-30 10:01 ` [PATCH 0/4] enable meson support for aesni_gcm, aesni_mb, kasumi and zuc Luca Boccassi
2018-10-01  9:36   ` Bruce Richardson
2018-10-05 10:59 ` [PATCH v2 " Hari Kumar Vemula
2018-10-05 11:13   ` Luca Boccassi
2018-10-09 12:41     ` Akhil Goyal
2018-10-05 10:59 ` [PATCH v2 1/4] drivers/crypto: enable meson support for the aesni gcm Hari Kumar Vemula
2018-10-05 10:59 ` [PATCH v2 2/4] drivers/crypto: enable meson support for the aesni mb Hari Kumar Vemula
2018-10-05 10:59 ` [PATCH v2 3/4] drivers/crypto: enable meson support for the kasumi Hari Kumar Vemula
2018-10-05 10:59 ` [PATCH v2 4/4] drivers/crypto: enable meson support for the zuc Hari Kumar Vemula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1538222461-25597-2-git-send-email-hari.kumarx.vemula@intel.com \
    --to=hari.kumarx.vemula@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    --cc=pablo.de.lara.guarch@intel.com \
    --cc=reshma.pattan@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.