DPDK patches and discussions
 help / color / mirror / Atom feed
From: Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>
To: "Akhil.goyal@nxp.com" <akhil.goyal@nxp.com>,
	Dharmik Thakkar <Dharmik.Thakkar@arm.com>,
	"jerinj@marvell.com" <jerinj@marvell.com>,
	Bruce Richardson <bruce.richardson@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"thomas@monjalon.net" <thomas@monjalon.net>,
	"Ruifeng Wang (Arm Technology China)" <Ruifeng.Wang@arm.com>,
	"Gavin Hu (Arm Technology China)" <Gavin.Hu@arm.com>,
	 nd <nd@arm.com>, nd <nd@arm.com>
Subject: Re: [dpdk-dev] [PATCH] crypto/armv8: enable meson build
Date: Wed, 20 Nov 2019 04:41:28 +0000	[thread overview]
Message-ID: <VE1PR08MB5149632760E1C602AECF2A90984F0@VE1PR08MB5149.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <VE1PR04MB66395E03F07C4DA95FD01F3CE64D0@VE1PR04MB6639.eurprd04.prod.outlook.com>

<snip>

> 
> Hi Dharmik,
> 
> As per the recent communication with Honnappa on a separate mail chain,
> ARM has agreed to Host the armv8_crypto library. If it is happening in 19.11
To the wider audience, yes Arm will host a crypto library which is an existing repo on Arm github. We will pull the Marvell's code into this repo. However, Marvell's code needs changes to be integrated into the existing library. It also needs to go through a security review. We will not be able to complete this work for 19.11. We are targeting 20.02 as of now.

> timeframe, we should rebase this patch And add documentation for changed
> location of the repo and if it is not in 19.11 timeframe we should have a
> patch to disable the PMD.
The PMD is already disabled by default.
IMO, we just need the changes to release notes indicating that the support of the Marvel's crypto library is no longer available.

> 
> Could you please send patches as are applicable?
> 
> Regards,
> Akhil
> 
> > Add new meson.build file for crypto/armv8
> >
> > Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
> > ---
> >  drivers/crypto/armv8/meson.build | 25 +++++++++++++++++++++++++
> >  drivers/crypto/meson.build       |  6 +++---
> >  meson_options.txt                |  2 ++
> >  3 files changed, 30 insertions(+), 3 deletions(-)  create mode 100644
> > drivers/crypto/armv8/meson.build
> >
> > diff --git a/drivers/crypto/armv8/meson.build
> > b/drivers/crypto/armv8/meson.build
> > new file mode 100644
> > index 000000000000..1ef78fa5d8c7
> > --- /dev/null
> > +++ b/drivers/crypto/armv8/meson.build
> > @@ -0,0 +1,25 @@
> > +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2019 Arm
> > +Limited
> > +
> > +path = get_option('armv8_crypto_dir') if path == ''
> > +	build = false
> > +	reason = 'missing dependency, "armv8_crypto"'
> > +	subdir_done()
> > +endif
> > +
> > +inc_dir = path + '/asm/include'
> > +
> > +lib = cc.find_library('libarmv8_crypto', dirs: [path], required:
> > +false) if not lib.found()
> > +	build = false
> > +	reason = 'missing dependency, "armv8_crypto"'
> > +	subdir_done()
> > +else
> > +	ext_deps += lib
> > +	includes += include_directories(inc_dir) endif
> > +
> > +deps += ['bus_vdev']
> > +sources = files('rte_armv8_pmd.c', 'rte_armv8_pmd_ops.c')
> > +allow_experimental_apis = true
> > diff --git a/drivers/crypto/meson.build b/drivers/crypto/meson.build
> > index 83e78860ebee..605dcdd5f4d6 100644
> > --- a/drivers/crypto/meson.build
> > +++ b/drivers/crypto/meson.build
> > @@ -1,9 +1,9 @@
> >  # SPDX-License-Identifier: BSD-3-Clause  # Copyright(c) 2017 Intel
> > Corporation
> >
> > -drivers = ['aesni_gcm', 'aesni_mb', 'caam_jr', 'ccp', 'dpaa_sec', 'dpaa2_sec',
> > -	'kasumi', 'mvsam', 'null', 'octeontx', 'openssl', 'qat', 'scheduler',
> > -	'snow3g', 'virtio', 'zuc']
> > +drivers = ['aesni_gcm', 'aesni_mb', 'armv8', 'caam_jr', 'ccp', 'dpaa_sec',
> > +	'dpaa2_sec', 'kasumi', 'mvsam', 'null', 'octeontx', 'openssl', 'qat',
> > +	'scheduler', 'snow3g', 'virtio', 'zuc']
> >
> >  std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps
> > config_flag_fmt = 'RTE_LIBRTE_@0@_PMD'
> > diff --git a/meson_options.txt b/meson_options.txt index
> > 448f3e63dcf2..4c0413918a34 100644
> > --- a/meson_options.txt
> > +++ b/meson_options.txt
> > @@ -2,6 +2,8 @@
> >
> >  option('allow_invalid_socket_id', type: 'boolean', value: false,
> >  	description: 'allow out-of-range NUMA socket id\'s for platforms
> > that don\'t report the value correctly')
> > +option('armv8_crypto_dir', type: 'string', value: '',
> > +	description: 'path to the armv8_crypto library installation
> > +directory')
> >  option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>',
> >  	description: 'Subdirectory of libdir where to install PMDs. Defaults
> > to using a versioned subdirectory.')  option('enable_docs', type:
> > 'boolean', value: false,
> > --
> > 2.17.1


      reply	other threads:[~2019-11-20  4:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-03 22:57 Dharmik Thakkar
2019-10-05 15:28 ` Jerin Jacob
2019-10-06 18:06   ` Thomas Monjalon
2019-10-07 10:19     ` Jerin Jacob
2019-10-08  7:18       ` Jerin Jacob
2019-10-10  4:46         ` Honnappa Nagarahalli
2019-10-10  5:24           ` Jerin Jacob
2019-10-11 19:13             ` Honnappa Nagarahalli
2019-10-11 20:02               ` Jerin Jacob
2019-10-11 20:14                 ` Honnappa Nagarahalli
2019-10-11 20:33                   ` Jerin Jacob
2019-11-18  7:49 ` Akhil Goyal
2019-11-20  4:41   ` Honnappa Nagarahalli [this message]

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=VE1PR08MB5149632760E1C602AECF2A90984F0@VE1PR08MB5149.eurprd08.prod.outlook.com \
    --to=honnappa.nagarahalli@arm.com \
    --cc=Dharmik.Thakkar@arm.com \
    --cc=Gavin.Hu@arm.com \
    --cc=Ruifeng.Wang@arm.com \
    --cc=akhil.goyal@nxp.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=nd@arm.com \
    --cc=thomas@monjalon.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).