[dpdk-dev] [PATCH] crypto/dpaa: retire fq while detaching with session

2018-01-16 Thread akhil.goyal
From: Alok Makhariya Signed-off-by: Alok Makhariya Acked-by: Akhil Goyal --- This patch is dependent on a patch which is already merged on net-next. 4b60b1e2f8a7 ("bus/dpaa: add support for static queues") drivers/crypto/dpaa_sec/dpaa_sec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[dpdk-dev] [PATCH v5 4/4] doc: add NXP DPAA SEC

2017-10-09 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal Acked-by: John McNamara --- MAINTAINERS | 2 + doc/guides/cryptodevs/dpaa_sec.rst | 182 doc/guides/cryptodevs/features/dpaa_sec.ini | 40 ++

[dpdk-dev] [PATCH v5 3/4] test/crypto: add dpaa crypto test cases

2017-10-09 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- test/test/test_cryptodev.c | 201 +++ test/test/test_cryptodev_aes_test_vectors.h | 78 +++ test/test/test_cryptodev_blockcipher.c | 7 + test/test/test_cr

[dpdk-dev] [PATCH v5 2/4] crypto/dpaa_sec: add crypto driver for NXP DPAA platform

2017-10-09 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Forrest Shi Signed-off-by: Akhil Goyal Signed-off-by: Hemant Agrawal --- MAINTAINERS|5 + config/common_base |8 + config/defconfig_arm64-dpaa-linuxapp-gcc | 14 + driv

[dpdk-dev] [PATCH v5 1/4] bus/dpaa: scan for DPAA Crypto devices

2017-10-09 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Shreyansh Jain Signed-off-by: Akhil Goyal --- config/defconfig_arm64-dpaa-linuxapp-gcc | 3 ++ drivers/bus/dpaa/dpaa_bus.c | 52 2 files changed, 55 insertions(+) diff --git a/config/defconfig_arm64-dpaa-linuxapp-

[dpdk-dev] [PATCH v5 0/4] Introducing NXP dpaa_sec based cryptodev pmd

2017-10-09 Thread akhil.goyal
From: Akhil Goyal Based over the DPAA PMD driver [1], this series of patches introduces the DPAA_SEC PMD which provides DPDK crypto driver for NXP's DPAA CAAM Hardware accelerator. SEC is NXP DPAA SoC's security engine for cryptographic acceleration and offloading. It implements block encryption

[dpdk-dev] [PATCH v4 4/4] doc: add NXP DPAA SEC

2017-10-05 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal Acked-by: John McNamara --- MAINTAINERS | 2 + doc/guides/cryptodevs/dpaa_sec.rst | 182 doc/guides/cryptodevs/features/dpaa_sec.ini | 40 ++

[dpdk-dev] [PATCH v4 3/4] test/crypto: add dpaa crypto test cases

2017-10-05 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- test/test/test_cryptodev.c | 201 +++ test/test/test_cryptodev_aes_test_vectors.h | 78 +++ test/test/test_cryptodev_blockcipher.c | 7 + test/test/test_cr

[dpdk-dev] [PATCH v4 2/4] crypto/dpaa_sec: add crypto driver for NXP DPAA platform

2017-10-05 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Forrest Shi Signed-off-by: Akhil Goyal Signed-off-by: Hemant Agrawal --- MAINTAINERS|5 + config/common_base |8 + config/defconfig_arm64-dpaa-linuxapp-gcc | 14 + driv

[dpdk-dev] [PATCH v4 1/4] bus/dpaa: scan for DPAA Crypto devices

2017-10-05 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Shreyansh Jain Signed-off-by: Akhil Goyal --- config/defconfig_arm64-dpaa-linuxapp-gcc | 3 ++ drivers/bus/dpaa/dpaa_bus.c | 52 2 files changed, 55 insertions(+) diff --git a/config/defconfig_arm64-dpaa-linuxapp-

[dpdk-dev] [PATCH v4 0/4] Introducing NXP dpaa_sec based cryptodev pmd

2017-10-05 Thread akhil.goyal
From: Akhil Goyal Based over the DPAA PMD driver [1], this series of patches introduces the DPAA_SEC PMD which provides DPDK crypto driver for NXP's DPAA CAAM Hardware accelerator. SEC is NXP DPAA SoC's security engine for cryptographic acceleration and offloading. It implements block encryption

[dpdk-dev] [PATCH v3 3/4] test/crypto: add dpaa crypto test cases

2017-10-03 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- test/test/test_cryptodev.c | 201 +++ test/test/test_cryptodev_aes_test_vectors.h | 78 +++ test/test/test_cryptodev_blockcipher.c | 7 + test/test/test_cr

[dpdk-dev] [PATCH v3 2/4] crypto/dpaa_sec: add crypto driver for NXP DPAA platform

2017-10-03 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Forrest Shi Signed-off-by: Akhil Goyal Signed-off-by: Akhil Goyal --- MAINTAINERS|5 + config/common_base |8 + config/defconfig_arm64-dpaa-linuxapp-gcc | 14 + drivers

[dpdk-dev] [PATCH v3 4/4] doc: add NXP DPAA SEC

2017-10-03 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal Acked-by: John McNamara --- MAINTAINERS | 2 + doc/guides/cryptodevs/dpaa_sec.rst | 182 doc/guides/cryptodevs/features/dpaa_sec.ini | 40 ++

[dpdk-dev] [PATCH v3 0/4] Introducing NXP dpaa_sec based cryptodev pmd

2017-10-03 Thread akhil.goyal
From: Akhil Goyal Based over the DPAA PMD driver [1], this series of patches introduces the DPAA_SEC PMD which provides DPDK crypto driver for NXP's DPAA CAAM Hardware accelerator. SEC is NXP DPAA SoC's security engine for cryptographic acceleration and offloading. It implements block encryption

[dpdk-dev] [PATCH v3 1/4] bus/dpaa: scan for DPAA Crypto devices

2017-10-03 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Shreyansh Jain Signed-off-by: Akhil Goyal --- config/defconfig_arm64-dpaa-linuxapp-gcc | 3 ++ drivers/bus/dpaa/dpaa_bus.c | 52 2 files changed, 55 insertions(+) diff --git a/config/defconfig_arm64-dpaa-linuxapp-

[dpdk-dev] [PATCH v2 3/5] crypto/dpaa2_sec: add hw desc support for AES-GCM

2017-06-30 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/hw/desc/algo.h | 205 1 file changed, 205 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/hw/desc/algo.h b/drivers/crypto/dpaa2_sec/hw/desc/algo.h index 166bc3a..cb633ed 100644 --- a

[dpdk-dev] [PATCH v2 2/5] crypto/dpaa2_sec: add hw desc support for CTR

2017-06-30 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/hw/desc/algo.h | 23 --- drivers/crypto/dpaa2_sec/hw/desc/ipsec.h | 19 +-- 2 files changed, 29 insertions(+), 13 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/hw/desc/algo.h b/

[dpdk-dev] [PATCH v2 4/5] crypto/dpaa2_sec: add support for AES-GCM and CTR

2017-06-30 Thread akhil.goyal
From: Akhil Goyal AES-GCM support is added as per the AEAD type of crypto operations. Support for AES-CTR is also added. Signed-off-by: Akhil Goyal --- doc/guides/cryptodevs/dpaa2_sec.rst | 9 +- doc/guides/cryptodevs/features/dpaa2_sec.ini | 8 +- doc/guides/rel_notes/release_17_

[dpdk-dev] [PATCH v2 5/5] test/test: add test cases for gcm and ctr in dpaa2_sec test suite

2017-06-30 Thread akhil.goyal
From: Akhil Goyal dpaa2_sec test cases updated for various supported crypto alogorithms. Signed-off-by: Akhil Goyal --- test/test/test_cryptodev.c | 94 test/test/test_cryptodev_aes_test_vectors.h | 78 +++ test/test/test_cryp

[dpdk-dev] [PATCH v2 0/5] crypto/dpaa2_sec optimization and feature update

2017-06-30 Thread akhil.goyal
From: Akhil Goyal This patchset updates dpaa2_sec crypto driver with following: - optimization in data path for memory allocation - add support for additional AES algorithms like AES-GCM and AES-CTR - Update test cases in test_cryptodev for all the supported test cases. - Update documentation for

[dpdk-dev] [PATCH v2 1/5] crypto/dpaa2_sec: add per device mempool to store frame list entries

2017-06-30 Thread akhil.goyal
From: Akhil Goyal rte_malloc uses common memory area for all cores. Now rte_malloc are replaced by per device mempool to allocate space for FLE. This removes contention and improves performance. Signed-off-by: Akhil Goyal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 7 +++ drivers/crypt

[dpdk-dev] [PATCH 5/5] doc: update documentation for dpaa2_sec supported algos

2017-06-29 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- doc/guides/cryptodevs/dpaa2_sec.rst | 9 - doc/guides/cryptodevs/features/dpaa2_sec.ini | 6 ++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/doc/guides/cryptodevs/dpaa2_sec.rst b/doc/guides/cryptodevs/dpaa2

[dpdk-dev] [PATCH 4/5] test/test: add test cases for gcm and ctr in dpaa2_sec test suite

2017-06-29 Thread akhil.goyal
From: Akhil Goyal dpaa2_sec test cases updated for various supported crypto alogorithms. Signed-off-by: Akhil Goyal --- test/test/test_cryptodev.c | 94 test/test/test_cryptodev_aes_test_vectors.h | 78 +++ test/test/test_cryp

[dpdk-dev] [PATCH 3/5] crypto/dpaa2_sec: add support for AES-GCM and CTR

2017-06-29 Thread akhil.goyal
From: Akhil Goyal AES-GCM support is added as per the AEAD type of crypto operations. Support for AES-CTR is also added. Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 315 ++-- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 98 ++--- 2

[dpdk-dev] [PATCH 1/5] crypto/dpaa2_sec: add per device mempool to store frame list entries

2017-06-29 Thread akhil.goyal
From: Akhil Goyal rte_malloc uses common memory area for all cores. Now rte_malloc are replaced by per device mempool to allocate space for FLE. This removes contention and improves performance. Signed-off-by: Akhil Goyal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 7 +++ drivers/crypt

[dpdk-dev] [PATCH 0/5] crypto/dpaa2_sec optimization and feature update

2017-06-29 Thread akhil.goyal
From: Akhil Goyal This patchset updates dpaa2_sec crypto driver with following: - optimization in data path for memory allocation - add support for additional AES algorithms like AES-GCM and AES-CTR - Update test cases in test_cryptodev for all the supported test cases. - Update documentation for

[dpdk-dev] [PATCH] crypto/dpaa2_sec: update license and copyright for hw and mc files

2017-04-21 Thread akhil.goyal
From: Akhil Goyal license and copyright for hw and mc files are made consistent as per the other dpaa2 dual licensed files. Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/hw/compat.h | 40 ++-- drivers/crypto/dpaa2_sec/hw/desc.h | 44 +

[dpdk-dev] [PATCH] doc: update release notes for dpaa2 sec pmd

2017-04-20 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- doc/guides/rel_notes/release_17_05.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/release_17_05.rst b/doc/guides/rel_notes/release_17_05.rst index 25e7144..c7fae86 100644 --- a/doc/guides/rel_notes/release_17_

[dpdk-dev] [PATCH v9 13/13] test/test: add dpaa2 sec crypto functional test

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev.c | 105 + test/test/test_cryptodev_blockcipher.c | 3 + test/test/test_cryptodev_blockcipher.h | 1 + 3 files changed, 109 insertions(+) diff

[dpdk-dev] [PATCH v9 12/13] test/test: add dpaa2 sec crypto performance test

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev_perf.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/test/test/test_cryptodev_perf.c b/test/test/test_cryptodev_perf.c index f4406dc..9d9919b 100644 --- a/test/t

[dpdk-dev] [PATCH v9 11/13] maintainers: claim responsibility for dpaa2 sec pmd

2017-04-19 Thread akhil.goyal
From: Akhil Goyal update MAINTAINERS file to add responsibility for dpaa2 sec pmd Signed-off-by: Akhil Goyal --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 92a513b..74a2632 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -456,6 +456,12 @

[dpdk-dev] [PATCH v9 10/13] doc: add NXP dpaa2 sec in cryptodev

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal Acked-by: John McNamara --- doc/guides/cryptodevs/dpaa2_sec.rst | 232 +++ doc/guides/cryptodevs/features/dpaa2_sec.ini | 34 doc/guides/cryptodevs/index.rst | 1 + d

[dpdk-dev] [PATCH v9 09/13] crypto/dpaa2_sec: statistics support

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 76 + 1 file changed, 76 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 680cace..4e01fe8 10064

[dpdk-dev] [PATCH v9 08/13] crypto/dpaa2_sec: add crypto operation support

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1209 +++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 143 2 files changed, 1352 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpa

[dpdk-dev] [PATCH v9 07/13] bus/fslmc: add packet frame list entry definitions

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 25 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 2 files changed, 26 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dp

[dpdk-dev] [PATCH v9 04/13] crypto/dpaa2_sec: add basic crypto operations

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 181 1 file changed, 181 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpsec

[dpdk-dev] [PATCH v9 03/13] crypto/dpaa2_sec: add mc dpseci object support

2017-04-19 Thread akhil.goyal
From: Akhil Goyal add support for dpseci object in MC driver. DPSECI represent a crypto object in DPAA2. Signed-off-by: Cristian Sovaiala Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/Makefile| 2 + drivers/crypto/dpaa2_sec/mc/dpseci.c | 551 +++

[dpdk-dev] [PATCH v9 02/13] crypto/dpaa2_sec: add dpaa2 sec poll mode driver

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- config/common_base | 8 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 12 ++ drivers/Makefile | 1 + drivers/crypto/Makefile

[dpdk-dev] [PATCH v9 00/13] Introducing NXP dpaa2_sec based cryptodev pmd

2017-04-19 Thread akhil.goyal
From: Hemant Agrawal Based over the DPAA2 PMD driver [1], this series of patches introduces the DPAA2_SEC PMD which provides DPDK crypto driver for NXP's DPAA2 CAAM Hardware accelerator. SEC is NXP DPAA2 SoC's security engine for cryptographic acceleration and offloading. It implements block enc

[dpdk-dev] [PATCH v9 01/13] cryptodev: add cryptodev type for dpaa2 sec

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- lib/librte_cryptodev/rte_cryptodev.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h index f5fba13..88aeb87 100644 --- a/lib/librte_cryptodev/rte_cryptodev.h +++

[dpdk-dev] [PATCH v8 13/13] doc: add NXP dpaa2 sec in cryptodev

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal Acked-by: John McNamara --- doc/guides/cryptodevs/dpaa2_sec.rst | 232 +++ doc/guides/cryptodevs/features/dpaa2_sec.ini | 34 doc/guides/cryptodevs/index.rst | 1 + d

[dpdk-dev] [PATCH v8 12/13] crypto/dpaa2_sec: statistics support

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 76 + 1 file changed, 76 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 7c497c0..4c38a02 10064

[dpdk-dev] [PATCH v8 11/13] crypto/dpaa2_sec: add crypto operation support

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1236 +++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 143 2 files changed, 1379 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpa

[dpdk-dev] [PATCH v8 10/13] bus/fslmc: add packet frame list entry definitions

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 25 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 2 files changed, 26 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dp

[dpdk-dev] [PATCH v8 06/13] crypto/dpaa2_sec: add mc dpseci object support

2017-04-19 Thread akhil.goyal
From: Akhil Goyal add support for dpseci object in MC driver. DPSECI represent a crypto object in DPAA2. Signed-off-by: Cristian Sovaiala Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/Makefile| 2 + drivers/crypto/dpaa2_sec/mc/dpseci.c | 551 +++

[dpdk-dev] [PATCH v8 07/13] crypto/dpaa2_sec: add basic crypto operations

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 181 1 file changed, 181 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpsec

[dpdk-dev] [PATCH v8 05/13] test/test: add dpaa2 sec crypto functional test

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev.c | 105 + test/test/test_cryptodev_blockcipher.c | 3 + test/test/test_cryptodev_blockcipher.h | 1 + 3 files changed, 109 insertions(+) diff

[dpdk-dev] [PATCH v8 04/13] test/test: add dpaa2 sec crypto performance test

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev_perf.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/test/test/test_cryptodev_perf.c b/test/test/test_cryptodev_perf.c index f4406dc..9d9919b 100644 --- a/test/t

[dpdk-dev] [PATCH v8 03/13] maintainers: claim responsibility for dpaa2 sec pmd

2017-04-19 Thread akhil.goyal
From: Akhil Goyal update MAINTAINERS file to add responsibility for dpaa2 sec pmd Signed-off-by: Akhil Goyal --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c4bc10e..6290f65 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -448,6 +448,12 @

[dpdk-dev] [PATCH v8 01/13] cryptodev: add cryptodev type for dpaa2 sec

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- lib/librte_cryptodev/rte_cryptodev.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h index f5fba13..88aeb87 100644 --- a/lib/librte_cryptodev/rte_cryptodev.h +++

[dpdk-dev] [PATCH v8 02/13] crypto/dpaa2_sec: add dpaa2 sec poll mode driver

2017-04-19 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- config/common_base | 8 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 12 ++ drivers/Makefile | 1 + drivers/crypto/Makefile

[dpdk-dev] [PATCH v8 00/13] Introducing NXP dpaa2_sec based cryptodev pmd

2017-04-19 Thread akhil.goyal
From: Hemant Agrawal Based over the DPAA2 PMD driver [1], this series of patches introduces the DPAA2_SEC PMD which provides DPDK crypto driver for NXP's DPAA2 CAAM Hardware accelerator. SEC is NXP DPAA2 SoC's security engine for cryptographic acceleration and offloading. It implements block enc

[dpdk-dev] [PATCH v7 10/13] doc: add NXP dpaa2 sec in cryptodev

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 232 +++ doc/guides/cryptodevs/features/dpaa2_sec.ini | 34 doc/guides/cryptodevs/index.rst | 1 + doc/guides/nics/dpaa2.rst

[dpdk-dev] [PATCH v7 13/13] test/test: add dpaa2 sec crypto functional test

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev.c | 106 + test/test/test_cryptodev_blockcipher.c | 3 + test/test/test_cryptodev_blockcipher.h | 1 + 3 files changed, 110 insertions(+) diff

[dpdk-dev] [PATCH v7 11/13] maintainers: claim responsibility for dpaa2 sec pmd

2017-04-10 Thread akhil.goyal
From: Akhil Goyal update MAINTAINERS file to add responsibility for dpaa2 sec pmd Signed-off-by: Akhil Goyal --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4b05cfc..65af322 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -450,6 +450,12 @

[dpdk-dev] [PATCH v7 12/13] test/test: add dpaa2 sec crypto performance test

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev_perf.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/test/test/test_cryptodev_perf.c b/test/test/test_cryptodev_perf.c index 7f1adf8..9cdbc39 100644 --- a/test/t

[dpdk-dev] [PATCH v7 09/13] crypto/dpaa2_sec: statistics support

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 76 + 1 file changed, 76 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 29346df..c8971c0 10064

[dpdk-dev] [PATCH v7 08/13] crypto/dpaa2_sec: add crypto operation support

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1210 +++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 143 2 files changed, 1353 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpa

[dpdk-dev] [PATCH v7 07/13] bus/fslmc: add packet frame list entry definitions

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 25 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 2 files changed, 26 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dp

[dpdk-dev] [PATCH v7 01/13] cryptodev: add cryptodev type for dpaa2 sec

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- lib/librte_cryptodev/rte_cryptodev.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h index f5fba13..88aeb87 100644 --- a/lib/librte_cryptodev/rte_cryptodev.h +++

[dpdk-dev] [PATCH v7 02/13] crypto/dpaa2_sec: add dpaa2 sec poll mode driver

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- config/common_base | 8 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 12 ++ drivers/Makefile | 1 + drivers/bus/Makefile

[dpdk-dev] [PATCH v7 04/13] crypto/dpaa2_sec: add basic crypto operations

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 182 1 file changed, 182 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpsec

[dpdk-dev] [PATCH v7 03/13] crypto/dpaa2_sec: add mc dpseci object support

2017-04-10 Thread akhil.goyal
From: Akhil Goyal add support for dpseci object in MC driver. DPSECI represent a crypto object in DPAA2. Signed-off-by: Cristian Sovaiala Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/Makefile| 2 + drivers/crypto/dpaa2_sec/mc/dpseci.c | 551 +++

[dpdk-dev] [PATCH v7 00/13] Introducing NXP dpaa2_sec based cryptodev pmd

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Based over the DPAA2 PMD driver [1], this series of patches introduces the DPAA2_SEC PMD which provides DPDK crypto driver for NXP's DPAA2 CAAM Hardware accelerator. SEC is NXP DPAA2 SoC's security engine for cryptographic acceleration and offloading. It implements block encryp

[dpdk-dev] [PATCH] test/test: improve dequeue logic for crypto operation

2017-04-03 Thread akhil.goyal
From: Akhil Goyal While enqueue/dequeue operations in test_perf_aes_sha, the underlying implementation may not be able to dequeue the same number of buffers as enqueued. So, it may be necessary to perform more dequeue operations if the gap is more than pparams->burst_size * NUM_MBUF_SETS. Other

[dpdk-dev] [PATCH] doc: update deprecation notice and release_17_05 for ABI change

2017-04-03 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- doc/guides/rel_notes/deprecation.rst | 5 - doc/guides/rel_notes/release_17_05.rst | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index d6

[dpdk-dev] [PATCH v6 12/13] test/test: add dpaa2 sec crypto performance test

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev_perf.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/test/test/test_cryptodev_perf.c b/test/test/test_cryptodev_perf.c index 7f1adf8..9cdbc39 100644 --- a/test/t

[dpdk-dev] [PATCH v6 13/13] test/test: add dpaa2 sec crypto functional test

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev.c | 106 + test/test/test_cryptodev_blockcipher.c | 3 + test/test/test_cryptodev_blockcipher.h | 1 + 3 files changed, 110 insertions(+) diff

[dpdk-dev] [PATCH v6 10/13] doc: add NXP dpaa2 sec in cryptodev

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 232 +++ doc/guides/cryptodevs/features/dpaa2_sec.ini | 34 doc/guides/cryptodevs/index.rst | 1 + doc/guides/nics/dpaa2.rst

[dpdk-dev] [PATCH v6 11/13] maintainers: claim responsibility for dpaa2 sec pmd

2017-03-24 Thread akhil.goyal
From: Akhil Goyal update MAINTAINERS file to add responsibility for dpaa2 sec pmd Signed-off-by: Akhil Goyal --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c97c105..ea9a94c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -481,6 +481,12 @

[dpdk-dev] [PATCH v6 09/13] crypto/dpaa2_sec: statistics support

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 76 + 1 file changed, 76 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index d45797f..0e5fc10 10064

[dpdk-dev] [PATCH v6 08/13] crypto/dpaa2_sec: add crypto operation support

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1210 +++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 143 2 files changed, 1353 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpa

[dpdk-dev] [PATCH v6 07/13] bus/fslmc: add packet frame list entry definitions

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 25 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 2 files changed, 26 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dp

[dpdk-dev] [PATCH v6 04/13] crypto/dpaa2_sec: add basic crypto operations

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 181 1 file changed, 181 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpsec

[dpdk-dev] [PATCH v6 03/13] crypto/dpaa2_sec: add mc dpseci object support

2017-03-24 Thread akhil.goyal
From: Akhil Goyal add support for dpseci object in MC driver. DPSECI represent a crypto object in DPAA2. Signed-off-by: Cristian Sovaiala Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/Makefile| 2 + drivers/crypto/dpaa2_sec/mc/dpseci.c | 551 +++

[dpdk-dev] [PATCH v6 01/13] cryptodev: add cryptodev type for dpaa2 sec

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- lib/librte_cryptodev/rte_cryptodev.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h index f9f3f9e..263e68d 100644 --- a/lib/librte_cryptodev/rte_cryptodev.h +++

[dpdk-dev] [PATCH v6 02/13] crypto/dpaa2_sec: add dpaa2 sec poll mode driver

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- config/common_base | 8 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 12 ++ drivers/bus/Makefile | 4 + drivers/bus/fslmc/Makefile

[dpdk-dev] [PATCH v6 00/13] Introducing NXP dpaa2_sec based cryptodev pmd

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Based over the DPAA2 PMD driver [1], this series of patches introduces the DPAA2_SEC PMD which provides DPDK crypto driver for NXP's DPAA2 CAAM Hardware accelerator. SEC is NXP DPAA2 SoC's security engine for cryptographic acceleration and offloading. It implements block encryp

[dpdk-dev] [PATCH v3 2/2] examples/ipsec-secgw: attach session-qp

2017-03-24 Thread akhil.goyal
From: Akhil Goyal adding support for attaching session to queue pairs. This is required as underlying crypto driver may only support limited number of sessions per queue pair if max_nb_sessions_per_qp > 0, session should be attached to a particular qp. Signed-off-by: Akhil Goyal Acked-by: Sergi

[dpdk-dev] [PATCH v3 1/2] cryptodev: add api for attach-detach session with queue pair

2017-03-24 Thread akhil.goyal
From: Akhil Goyal HW based crypto drivers may only support limited number of sessions per queue pair. This requires support for attaching sessions to specific queue pair. New APIs are introduced to attach/detach a session with/from a particular queue pair. These are optional APIs. Application

[dpdk-dev] [PATCH v2 2/2] examples/ipsec-secgw: attach session-qp

2017-03-23 Thread akhil.goyal
From: Akhil Goyal adding support for attaching session to queue pairs. This is required as underlying crypto driver may only support limited number of sessions per queue pair if max_nb_sessions_per_qp > 0, session should be attached to a particular qp. Signed-off-by: Akhil Goyal --- examples/i

[dpdk-dev] [PATCH v2 1/2] cryptodev: add api for attach-detach session with queue pair

2017-03-23 Thread akhil.goyal
From: Akhil Goyal HW based crypto drivers may only support limited number of sessions per queue pair. This requires support for attaching sessions to specific queue pair. New APIs are introduced to attach/detach a session with/from a particular queue pair. These are optional APIs. Application

[dpdk-dev] [PATCH 1/2] cryptodev: add api for attach-detach session with queue pair

2017-03-17 Thread akhil.goyal
From: Akhil Goyal HW based crypto drivers may only support limited number of sessions per queue pair. This requires support for attaching sessions to specific queue pair. New APIs are introduced to attach/detach a session with/from a particular queue pair. These are optional APIs. Application

[dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: attach session-qp

2017-03-17 Thread akhil.goyal
From: Akhil Goyal adding support for attaching session to queue pairs. This is required as underlying crypto driver may only support limited number of sessions per queue pair if max_nb_sessions_per_qp > 0, session should be attached to a particular qp. Signed-off-by: Akhil Goyal --- examples/i

[dpdk-dev] [PATCH] doc: add deprecation note to add parameter in rte_cryptodev_info.sym

2017-02-13 Thread akhil.goyal
From: Akhil Goyal A new parameter is planned to be added in 17.05 release in rte_cryptodev_info.sym - max_nb_sessions_per_qp. This will allow applications to know the maximum number of session which can be attached to queue_pairs of device. Signed-off-by: Akhil Goyal --- doc/guides/rel_notes/

[dpdk-dev] [PATCH v3 09/10] app/test: add dpaa2_sec crypto performance test

2017-01-20 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- app/test/test_cryptodev_perf.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/app/test/test_cryptodev_perf.c b/app/test/test_cryptodev_perf.c index 7f1adf8..9cdbc39 100644 --- a/app/test/

[dpdk-dev] [PATCH v3 10/10] app/test: add dpaa2_sec crypto functional test

2017-01-20 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- app/test/test_cryptodev.c | 106 ++ app/test/test_cryptodev_blockcipher.c | 3 + app/test/test_cryptodev_blockcipher.h | 1 + 3 files changed, 110 insertions(+) diff --

[dpdk-dev] [PATCH v3 08/10] crypto/dpaa2_sec: update MAINTAINERS entry for dpaa2_sec pmd

2017-01-20 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d79e1a5..c930b12 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -477,6 +477,12 @@ M: Declan Doherty F: drivers/crypto/null/ F: doc/guides/cryp

[dpdk-dev] [PATCH v3 07/10] crypto/dpaa2_sec: statistics support

2017-01-20 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 76 + 1 file changed, 76 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 26ece22..c863bd0 10064

[dpdk-dev] [PATCH v3 06/10] crypto/dpaa2_sec: add crypto operation support

2017-01-20 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 25 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1210 +++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 143 3 files changed, 1378 in

[dpdk-dev] [PATCH v3 01/10] doc: add NXP dpaa2_sec in cryptodev

2017-01-20 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 233 doc/guides/cryptodevs/index.rst | 1 + 2 files changed, 234 insertions(+) create mode 100644 doc/guides/cryptodevs/dpaa2_sec.rst

[dpdk-dev] [PATCH v3 03/10] crypto/dpaa2_sec: add dpaa2_sec poll mode driver

2017-01-20 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- config/common_base | 8 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 12 + drivers/bus/Makefile | 3 + drivers/common/Makefile

[dpdk-dev] [PATCH v3 02/10] cryptodev: add cryptodev type for dpaa2_sec

2017-01-20 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- lib/librte_cryptodev/rte_cryptodev.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h index 0836273..2e9cc36 100644 --- a/lib/librte_cryptodev/rte_cryptodev.h +++

[dpdk-dev] [PATCH v3 00/10] Introducing NXP dpaa2_sec based cryptodev pmd

2017-01-20 Thread akhil.goyal
From: Akhil Goyal Based over the DPAA2 PMD driver [1], this series of patches introduces the DPAA2_SEC PMD which provides DPDK crypto driver for NXP's DPAA2 CAAM Hardware accelerator. SEC is NXP DPAA2 SoC's security engine for cryptographic acceleration and offloading. It implements block encryp