[dpdk-dev] [PATCH v2 0/6] compress: add Octeontx ZIP compression PMD

2018-07-02 Thread Shally Verma
This patch series add compression PMD for cavium octeontx ZIP module in DPDK compress drivers. Currently PMD only tested for deflate, stateless compression and decompression with direct memory buffers. Changes in v2: - enable OCTEONTX_ZIPVF bydefault, and remove static debug flag - fix meson build

[dpdk-dev] [PATCH v2 2/6] compress/octeontx: add device setup PMD ops

2018-07-02 Thread Shally Verma
From: Sunila Sahu implement device configure and PMD ops. setup stream resource memory pool setup and enable hardware queue Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- drivers/compress/octeontx/zip_pmd.c | 251

[dpdk-dev] [PATCH v2 1/6] compress/octeontx: add octeontx zip PMD support

2018-07-02 Thread Shally Verma
From: Sunila Sahu Add octeontx zip pmd support in compressdev driver. Octeontx ZIP appears as PCI device. Add device probe and remove support. link zip pmd library in rtp.app.mk Update meson.build and Makefile to build octeontx zip pmd Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma

[dpdk-dev] [PATCH v2 3/6] compress/octeontx: add xform and stream create support

2018-07-02 Thread Shally Verma
From: Ashish Gupta implement private xform and stream create ops Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- drivers/compress/octeontx/zip_pmd.c | 140 drivers/compress/octeontx/zipvf.h | 24 ++- 2 files

[dpdk-dev] [PATCH v2 4/6] compress/octeontx: add ops enq deq apis

2018-07-02 Thread Shally Verma
From: Ashish Gupta implement enqueue and dequeue apis Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- drivers/compress/octeontx/zip_pmd.c | 114 drivers/compress/octeontx/zipvf.c | 49 +++ drivers/compress/octeontx

[dpdk-dev] [PATCH v2 5/6] doc: add Octeonx zip guide

2018-07-02 Thread Shally Verma
add zip pmd feature specification and overview documentation Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- doc/guides/compressdevs/features/octeontx.ini | 22 ++ doc/guides/compressdevs/index.rst | 1 + doc/guides/compressdevs

[dpdk-dev] [PATCH v2 6/6] usertools: update devbind for octeontx zip device

2018-07-02 Thread Shally Verma
From: Ashish Gupta add the cavium octeontx zip pci device details. Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- usertools/dpdk-devbind.py | 9 + 1 file changed, 9 insertions(+) diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk

[dpdk-dev] [PATCH v2 0/5] compress: add ZLIB compression PMD

2018-07-02 Thread Shally Verma
This patch series add software zlib based compression PMD in DPDK compress drivers. Application must need to install zlib prior to compile and run this PMD to avail compression/decompression services. Currently driver only tested for deflate, stateless compression and decompression with direct memo

[dpdk-dev] [PATCH v2 1/5] compress/zlib: add ZLIB PMD support

2018-07-02 Thread Shally Verma
From: Ashish Gupta Add sw zlib pmd support in compressdev driver. Add device probe and remove support. Add ZLIB build file support. Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- MAINTAINERS| 3 + config

[dpdk-dev] [PATCH v2 2/5] compress/zlib: add device setup PMD ops

2018-07-02 Thread Shally Verma
From: Ashish Gupta Implement device configure and PMD ops Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/Makefile | 1 + drivers/compress/zlib/zlib_pmd.c | 2 + drivers/compress/zlib/zlib_pmd_ops.c | 236

[dpdk-dev] [PATCH v2 3/5] compress/zlib: add xform and stream create support

2018-07-02 Thread Shally Verma
From: Sunila Sahu Implement private xform and stream create ops Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/zlib_pmd.c | 93 drivers/compress/zlib/zlib_pmd_ops.c | 83

[dpdk-dev] [PATCH v2 4/5] compress/zlib: add enq deq apis

2018-07-02 Thread Shally Verma
From: Sunila Sahu implement enqueue and dequeue apis Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/zlib_pmd.c | 238 ++- 1 file changed, 237 insertions(+), 1 deletion(-) diff --git a/drivers

[dpdk-dev] [PATCH v2 5/5] doc: add ZLIB PMD documentation

2018-07-02 Thread Shally Verma
add zlib pmd feature specification and overview documentation Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- MAINTAINERS | 2 + doc/guides/compressdevs/features/zlib.ini | 22 ++ doc/guides/compressdevs/zlib.rst

[dpdk-dev] [PATCH v4 0/4] crypto: add asym crypto support

2018-07-03 Thread Shally Verma
://dpdk.org/patch/34308 is further a derivative of earlier reviewed RFC v2 patch series: http://dpdk.org/dev/patchwork/patch/24245/ http://dpdk.org/dev/patchwork/patch/24246/ http://dpdk.org/dev/patchwork/patch/24247/ Shally Verma (3): lib/cryptodev: add asymmetric algos in cryptodev cryptodev

[dpdk-dev] [PATCH v4 1/4] lib/cryptodev: add asymmetric algos in cryptodev

2018-07-03 Thread Shally Verma
shared secret compute - Deffie-hellman public/private key pair generation using xform chain Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta Signed-off-by: Umesh Kartha --- lib/librte_cryptodev/Makefile | 1 + lib/librte_cryptodev/meson.build

[dpdk-dev] [PATCH v4 3/4] lib/cryptodev: add asymmetric crypto capability in cryptodev

2018-07-03 Thread Shally Verma
From: Ashish Gupta Extend cryptodev with asymmetric capability APIs and definitions. Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta Signed-off-by: Umesh Kartha --- lib/librte_cryptodev/rte_cryptodev.c | 76 ++ lib

[dpdk-dev] [PATCH v4 4/4] doc: add asym crypto in cryptodev programmer guide

2018-07-03 Thread Shally Verma
From: Sunila Sahu Update cryptodev programmer guide with description of asymmetric crypto framework in lib cryptodev. Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta Signed-off-by: Umesh Kartha --- doc/guides/prog_guide/cryptodev_lib.rst | 290

[dpdk-dev] [PATCH v4 2/4] cryptodev: support asymmetric operations

2018-07-03 Thread Shally Verma
qps. Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta Signed-off-by: Umesh Kartha --- lib/librte_cryptodev/rte_crypto.h | 37 - lib/librte_cryptodev/rte_cryptodev.c | 201 - lib/librte_cryptodev

[dpdk-dev] [PATCH v4 0/2] test/crypto: add testcase for asym crypto

2018-07-05 Thread Shally Verma
This patch series add unit test case for asymmetric crypto. Current testcase covers following operations: - RSA encrypt, decrypt, sign and verify - Modular Inversion and Exponentiation - Deiffie-Hellman key pair generation and shared secret compute - DSA sign and verify All test cases use pre-de

[dpdk-dev] [PATCH v4 2/2] test/crypto: add dh and dsa test application

2018-07-05 Thread Shally Verma
From: Sunila Sahu Test application include test case for : - Deiffie-Hellman key pair generation and shared secret compute - DSA sign and verify Test cases uses predefined test vectors. Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- test/test

[dpdk-dev] [PATCH v4 1/2] test/crypto: add rsa and mod test application

2018-07-05 Thread Shally Verma
From: Sunila Sahu Test application include test case for : - RSA encrypt, decrypt, sign and verify - Modular Inversion and Exponentiation Test cases uses predefined test vectors. Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- test/test/Makefile

[dpdk-dev] [PATCH v5 1/4] cryptodev: add asymmetric xform and op definitions

2018-07-10 Thread Shally Verma
exchange - Diffie-hellman shared secret compute - Diffie-hellman public/private key pair generation using xform chain Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta Signed-off-by: Umesh Kartha --- lib/librte_cryptodev/Makefile | 1 + lib

[dpdk-dev] [PATCH v5 0/4] crypto: add asym crypto support

2018-07-10 Thread Shally Verma
on RFC v1 asym crypto patch http://dpdk.org/patch/34308. RFC v1 patch http://dpdk.org/patch/34308 is further a derivative of earlier reviewed RFC v2 patch series: http://dpdk.org/dev/patchwork/patch/24245/ http://dpdk.org/dev/patchwork/patch/24246/ http://dpdk.org/dev/patchwork/patch/24247/ Sh

[dpdk-dev] [PATCH v5 2/4] cryptodev: support asymmetric operations

2018-07-10 Thread Shally Verma
qps. Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta Signed-off-by: Umesh Kartha --- lib/librte_cryptodev/rte_crypto.h | 37 +- lib/librte_cryptodev/rte_cryptodev.c | 166 - lib/librte_cryptodev

[dpdk-dev] [PATCH v5 3/4] cryptodev: add asymmetric capability

2018-07-10 Thread Shally Verma
From: Sunila Sahu Extend cryptodev with asymmetric capability APIs and definitions. Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta Signed-off-by: Umesh Kartha --- lib/librte_cryptodev/rte_cryptodev.c | 76 ++ lib

[dpdk-dev] [PATCH v5 4/4] doc: add asym crypto in cryptodev programmer guide

2018-07-10 Thread Shally Verma
Update cryptodev programmer guide with description of asymmetric crypto framework in lib cryptodev. Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta Signed-off-by: Umesh Kartha --- doc/guides/prog_guide/cryptodev_lib.rst | 264

[dpdk-dev] [PATCH v5 0/2]test/crypto: add unit testcase for asym crypto

2018-07-10 Thread Shally Verma
This patch series add unit test case for asymmetric crypto. Current testcase covers following operations: - RSA encrypt, decrypt, sign and verify - Modular Inversion and Exponentiation - Diffie-Hellman key pair generation and shared secret compute - DSA sign and verify All test cases use pre-def

[dpdk-dev] [PATCH v5 1/2] test/crypto: add rsa and mod tests

2018-07-10 Thread Shally Verma
From: Sunila Sahu Test application include test case for : - RSA encrypt, decrypt, sign and verify - Modular Inversion and Exponentiation Test cases uses predefined test vectors. Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta Signed-off-by: Umesh Kartha

[dpdk-dev] [PATCH v5 2/2] test/crypto: add dh and dsa tests

2018-07-10 Thread Shally Verma
From: Sunila Sahu Test application include test case for : - Diffie-Hellman key pair generation and shared secret compute - DSA sign and verify Test cases uses predefined test vectors. Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta Signed-off-by: Umesh

[dpdk-dev] [PATCH v4 0/3]crypto/openssl: support asymmetric crypto

2018-07-12 Thread Shally Verma
This patch series add asymmetric crypto support in openssl pmd changes in v4: - add openssl 1.1.0h support in openssl PMD for asym operations. - A compat.h added for PMD compatibility with both 1.0.2 and 1.1.0 - update openssl document with asymmetric feature support For further history refer htt

[dpdk-dev] [PATCH v4 1/3] crypto/openssl: add rsa and mod asym op

2018-07-12 Thread Shally Verma
From: Sunila Sahu - Add compat.h to make pmd compatible to openssl-1.1.0 and backward version - Add rsa sign/verify/encrypt/decrypt and modular operation support Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/crypto/openssl/compat.h

[dpdk-dev] [PATCH v4 2/3] crypto/openssl: add dh and dsa asym op

2018-07-12 Thread Shally Verma
From: Sunila Sahu - Add dh key generation and shared compute - Add dsa sign and verify operation Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/crypto/openssl/compat.h | 68 +++ drivers/crypto/openssl/rte_openssl_pmd.c

[dpdk-dev] [PATCH v4 3/3] doc: add asym feature list

2018-07-12 Thread Shally Verma
From: Ashish Gupta Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- doc/guides/cryptodevs/features/openssl.ini | 11 +++ doc/guides/cryptodevs/openssl.rst | 1 + 2 files changed, 12 insertions(+) diff --git a/doc/guides/cryptodevs

[dpdk-dev] [PATCH v3 0/5] compress: add ZLIB compression PMD

2018-07-21 Thread Shally Verma
API. Ashish Gupta (2): compress/zlib: add ZLIB PMD compress/zlib: add device PMD ops Shally Verma (1): doc: add ZLIB PMD guide Sunila Sahu (2): compress/zlib: create private xform compress/zlib: support burst enqueue/dequeue MAINTAINERS| 5

[dpdk-dev] [PATCH v3 1/5] compress/zlib: add ZLIB PMD

2018-07-21 Thread Shally Verma
From: Ashish Gupta Add initial PMD setup routines in compressdev framework. ZLIB PMD appears as virtual compression device. User would need to install zlib prior to enabling this PMD. Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- MAINTAINERS

[dpdk-dev] [PATCH v3 2/5] compress/zlib: add device PMD ops

2018-07-21 Thread Shally Verma
From: Ashish Gupta Implement device configure and queue pair setup PMD ops Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/Makefile | 1 + drivers/compress/zlib/meson.build| 2 +- drivers/compress/zlib

[dpdk-dev] [PATCH v3 4/5] compress/zlib: support burst enqueue/dequeue

2018-07-21 Thread Shally Verma
From: Sunila Sahu Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/zlib_pmd.c | 254 ++- 1 file changed, 253 insertions(+), 1 deletion(-) diff --git a/drivers/compress/zlib/zlib_pmd.c b/drivers

[dpdk-dev] [PATCH v3 3/5] compress/zlib: create private xform

2018-07-21 Thread Shally Verma
From: Sunila Sahu Create non-shareable private xform for stateless operation processing Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/zlib_pmd.c | 93 drivers/compress/zlib/zlib_pmd_ops.c

[dpdk-dev] [PATCH v3 5/5] doc: add ZLIB PMD guide

2018-07-21 Thread Shally Verma
Add zlib pmd feature support and user guide with build and run instructions Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- MAINTAINERS | 2 + doc/guides/compressdevs/features/zlib.ini | 11 + doc/guides/compressdevs

[dpdk-dev] [PATCH v5 0/3]crypto/openssl: support asymmetric crypto

2018-07-23 Thread Shally Verma
This patch series add asymmetric crypto support in openssl pmd changes in v5: - fix -Wimplicit-fallthrough compilation error with gcc-7+ toolchain changes in v4: - add openssl 1.1.0h support in openssl PMD for asym operations. - A compat.h added for PMD compatibility with both 1.0.2 and 1.1.0 -

[dpdk-dev] [PATCH v5 1/3] crypto/openssl: add rsa and mod asym op

2018-07-23 Thread Shally Verma
From: Sunila Sahu - Add compat.h to make pmd compatible to openssl-1.1.0 and backward version - Add rsa sign/verify/encrypt/decrypt and modular operation support Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/crypto/openssl/compat.h

[dpdk-dev] [PATCH v5 2/3] crypto/openssl: add dh and dsa asym op

2018-07-23 Thread Shally Verma
From: Sunila Sahu - Add dh key generation and shared compute - Add dsa sign and verify operation Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/crypto/openssl/compat.h | 68 +++ drivers/crypto/openssl/rte_openssl_pmd.c

[dpdk-dev] [PATCH v5 3/3] doc: add asym feature list

2018-07-23 Thread Shally Verma
From: Ashish Gupta Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- doc/guides/cryptodevs/features/openssl.ini | 11 +++ doc/guides/cryptodevs/openssl.rst | 1 + 2 files changed, 12 insertions(+) diff --git a/doc/guides/cryptodevs

[dpdk-dev] [PATCH v4 1/5] compress/zlib: add ZLIB PMD

2018-07-23 Thread Shally Verma
From: Ashish Gupta Add initial PMD setup routines in compressdev framework. ZLIB PMD appears as virtual compression device. User would need to install zlib prior to enabling this PMD. Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- MAINTAINERS

[dpdk-dev] [PATCH v4 0/5] compress: add ZLIB compression PMD

2018-07-23 Thread Shally Verma
- zlib PMD documentation - meson build support This patchset is dependent upon compressdev API. Ashish Gupta (2): compress/zlib: add ZLIB PMD compress/zlib: add device PMD ops Shally Verma (1): doc: add ZLIB PMD guide Sunila Sahu (2): compress/zlib: create private xform compress/zlib

[dpdk-dev] [PATCH v4 2/5] compress/zlib: add device PMD ops

2018-07-23 Thread Shally Verma
From: Ashish Gupta Implement device configure and queue pair setup PMD ops Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/Makefile | 1 + drivers/compress/zlib/meson.build| 2 +- drivers/compress/zlib

[dpdk-dev] [PATCH v4 3/5] compress/zlib: create private xform

2018-07-23 Thread Shally Verma
From: Sunila Sahu Create non-shareable private xform for stateless operation processing Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/zlib_pmd.c | 94 drivers/compress/zlib/zlib_pmd_ops.c

[dpdk-dev] [PATCH v4 4/5] compress/zlib: support burst enqueue/dequeue

2018-07-23 Thread Shally Verma
From: Sunila Sahu Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/zlib_pmd.c | 255 ++- 1 file changed, 254 insertions(+), 1 deletion(-) diff --git a/drivers/compress/zlib/zlib_pmd.c b/drivers

[dpdk-dev] [PATCH v4 5/5] doc: add ZLIB PMD guide

2018-07-23 Thread Shally Verma
Add zlib pmd feature support and user guide with build and run instructions Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- MAINTAINERS | 2 + doc/guides/compressdevs/features/zlib.ini | 11 + doc/guides/compressdevs

[dpdk-dev] [PATCH v5 1/5] compress/zlib: add ZLIB PMD

2018-07-24 Thread Shally Verma
From: Ashish Gupta Add initial PMD setup routines in compressdev framework. ZLIB PMD appears as virtual compression device. User would need to install zlib prior to enabling this PMD. Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- MAINTAINERS

[dpdk-dev] [PATCH v5 0/5] compress: add ZLIB compression PMD

2018-07-24 Thread Shally Verma
patchset is dependent upon compressdev API. Ashish Gupta (2): compress/zlib: add ZLIB PMD compress/zlib: add device PMD ops Shally Verma (1): doc: add ZLIB PMD guide Sunila Sahu (2): compress/zlib: create private xform compress/zlib: support burst enqueue/dequeue MAINTAINERS

[dpdk-dev] [PATCH v5 2/5] compress/zlib: add device PMD ops

2018-07-24 Thread Shally Verma
From: Ashish Gupta Implement device configure and queue pair setup PMD ops Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/Makefile | 1 + drivers/compress/zlib/meson.build| 2 +- drivers/compress/zlib

[dpdk-dev] [PATCH v5 3/5] compress/zlib: create private xform

2018-07-24 Thread Shally Verma
From: Sunila Sahu Create non-shareable private xform for stateless operation processing Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/zlib_pmd.c | 94 drivers/compress/zlib/zlib_pmd_ops.c

[dpdk-dev] [PATCH v5 4/5] compress/zlib: support burst enqueue/dequeue

2018-07-24 Thread Shally Verma
From: Sunila Sahu Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/zlib_pmd.c | 255 ++- 1 file changed, 254 insertions(+), 1 deletion(-) diff --git a/drivers/compress/zlib/zlib_pmd.c b/drivers

[dpdk-dev] [PATCH v5 5/5] doc: add ZLIB PMD guide

2018-07-24 Thread Shally Verma
Add zlib pmd feature support and user guide with build and run instructions Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- MAINTAINERS | 2 + doc/guides/compressdevs/features/zlib.ini | 10 + doc/guides/compressdevs

[dpdk-dev] [PATCH v1 1/6] compress/zlib: add ZLIB PMD support

2018-05-15 Thread Shally Verma
Add sw zlib pmd support in compressdev driver. Add device probe and remove support. Update makefile to build zlib. Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- config/common_base | 6 ++ drivers/compress/Makefile

[dpdk-dev] [PATCH v1 2/6] compress/zlib: add device setup PMD ops

2018-05-15 Thread Shally Verma
Implement device configure and PMD ops Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/zlib_pmd_ops.c | 238 +++ drivers/compress/zlib/zlib_pmd_private.h | 77 ++ 2 files changed, 315

[dpdk-dev] [PATCH v1 3/6] compress/zlib: add xform and stream create support

2018-05-15 Thread Shally Verma
Implement private xform and stream create ops Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/zlib/zlib_pmd.c | 99 drivers/compress/zlib/zlib_pmd_ops.c | 84 -- 2

[dpdk-dev] [PATCH v1 0/6]compress: add zlib compression PMD

2018-05-15 Thread Shally Verma
This patch series add software zlib based compression PMD in DPDK compress drivers. Application must need to install zlib prior to compile and run this PMD to avail compression/decompression services. Currently driver only tested for deflate, stateless compression and decompression with direct memo

[dpdk-dev] [PATCH v1 5/6] test: add ZLIB PMD for compressdev tests

2018-05-15 Thread Shally Verma
link zlib pmd library in app.mk Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- mk/rte.app.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 6807663..71b9e89 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk

[dpdk-dev] [PATCH v1 6/6] doc: add ZLIB PMD documentation

2018-05-15 Thread Shally Verma
add zlib pmd feature specification and overview documentation Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- doc/guides/compressdevs/features/zlib.ini | 22 ++ doc/guides/compressdevs/zlib.rst | 72 +++ 2

[dpdk-dev] [PATCH v1 4/6] compress/zlib: add enq deq apis

2018-05-15 Thread Shally Verma
implement enqueue and dequeue apis Signed-off-by: Sunila Sahu Signed-off-by: Shally Verma Signed-off-by: Ashish Gupta --- drivers/compress/meson.build | 2 +- drivers/compress/zlib/meson.build | 11 ++ drivers/compress/zlib/zlib_pmd.c | 275 +- 3

[dpdk-dev] [PATCH v3 0/6] crypto: add asym crypto support

2018-05-15 Thread Shally Verma
/patch/24247/ Shally Verma (6): lib/cryptodev: add asymmetric algos in cryptodev lib/cryptodev: add asym op support in cryptodev lib/cryptodev: add asymmetric crypto capability in cryptodev test/crypto: add unit testcase for asym crypto crypto/openssl: add asym crypto support doc: add asym

[dpdk-dev] [PATCH v3 1/6] lib/cryptodev: add asymmetric algos in cryptodev

2018-05-15 Thread Shally Verma
shared secret compute - Deffie-hellman public/private key pair generation using xform chain Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta --- lib/librte_cryptodev/Makefile | 2 +- lib/librte_cryptodev/meson.build | 3 +- lib

[dpdk-dev] [PATCH v3 2/6] lib/cryptodev: add asym op support in cryptodev

2018-05-15 Thread Shally Verma
rte_mempool_get() and add for private_data_size flag Changes from v1 - resolve new line error in librte_cryptodev/rte_cryptodev_version.map Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta --- lib/librte_cryptodev/rte_crypto.h | 37 - lib

[dpdk-dev] [PATCH v3 3/6] lib/cryptodev: add asymmetric crypto capability in cryptodev

2018-05-15 Thread Shally Verma
Extend cryptodev with asymmetric capability APIs and definitions. changes from v2: - remove redundant xform_type from asym capability struct - rename rte_cryptodev_get_asym_xform_enum to be more consistent with other API names Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off

[dpdk-dev] [PATCH v3 4/6] test/crypto: add unit testcase for asym crypto

2018-05-15 Thread Shally Verma
for execution. Changes from v2: - Change test application to use the renamed APIs and to use xform type from capability structure Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta --- This patch dependent on asym crypto API patches. Please apply them before

[dpdk-dev] [PATCH v3 5/6] crypto/openssl: add asym crypto support

2018-05-15 Thread Shally Verma
/openssl.rst Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta --- doc/guides/cryptodevs/features/openssl.ini | 11 + doc/guides/cryptodevs/openssl.rst| 1 + drivers/crypto/openssl/rte_openssl_pmd.c | 377 - drivers

[dpdk-dev] [PATCH v3 6/6] doc: add asym crypto in cryptodev programmer guide

2018-05-15 Thread Shally Verma
Update cryptodev programmer guide with description of asymmetric crypto framework in lib cryptodev. Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta --- doc/guides/prog_guide/cryptodev_lib.rst | 338 +++- 1 file changed, 329

[dpdk-dev] [PATCH v1 1/7] compress/octeontx: add octeontx zip PMD support

2018-06-05 Thread Shally Verma
Add octeontx zip pmd support in compressdev driver. Add device probe and remove support. Update makefile to build octeontx zip pmd Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- config/common_base | 6 + drivers

[dpdk-dev] [PATCH v1 0/7] compress: add Octeontx ZIP compression PMD

2018-06-05 Thread Shally Verma
This patch series add compression PMD for cavium octeontx ZIP module in DPDK compress drivers. Currently PMD only tested for deflate, stateless compression and decompression with direct memory buffers. v1 includes: Octeontx ZIP PMD implementation Confuguration and Makefile changes to build Octeont

[dpdk-dev] [PATCH v1 2/7] compress/octeontx: add device setup PMD ops

2018-06-05 Thread Shally Verma
implement device configure and PMD ops. setup stream resource memory pool setup and enable hardware queue Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- drivers/compress/octeontx/include/zip_regs.h | 721 +++ drivers/compress

[dpdk-dev] [PATCH v1 7/7] drivers/compress: add meson.build support

2018-06-05 Thread Shally Verma
: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- .../{rte_pmd_isal_version.map => rte_pmd_isal_compress_version.map} | 0 drivers/compress/meson.build| 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/driv

[dpdk-dev] [PATCH v1 5/7] test: add octeontx zip PMD for compressdev tests

2018-06-05 Thread Shally Verma
link zlib pmd library in app.mk Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- mk/rte.app.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 438f99d87..b367a552b 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk

[dpdk-dev] [PATCH v1 3/7] compress/octeontx: add xform and stream create support

2018-06-05 Thread Shally Verma
implement private xform and stream create ops Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- drivers/compress/octeontx/zip_pmd.c | 138 drivers/compress/octeontx/zipvf.h | 29 2 files changed, 167

[dpdk-dev] [PATCH v1 4/7] compress/octeontx: add ops enq deq apis

2018-06-05 Thread Shally Verma
implement enqueue and dequeue apis Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- drivers/compress/octeontx/zip_pmd.c | 111 drivers/compress/octeontx/zipvf.c | 49 +++ drivers/compress/octeontx/zipvf.h | 164

[dpdk-dev] [PATCH v1 6/7] doc: add octeontx zip PMD documentation

2018-06-05 Thread Shally Verma
add zip pmd feature specification and overview documentation Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- doc/guides/compressdevs/features/octeontx.ini | 22 + doc/guides/compressdevs/index.rst | 1 + doc/guides/compressdevs

Re: [dpdk-dev] [PATCH] compressdev: add feature flag to specify where processing is done

2019-01-17 Thread Shally Verma
Hi Pablo, Fiona >-Original Message- >From: De Lara Guarch, Pablo >Sent: 11 January 2019 00:17 >To: Trahe, Fiona ; Verma, Shally >; Stephen Hemminger > >Cc: dev@dpdk.org; akhil.go...@nxp.com; Jozwiak, TomaszX >; Gupta, Ashish >; Daly, Lee ; Luse, Paul E >; Trahe, Fiona > >Subject: RE: [

Re: [dpdk-dev] [PATCH] compressdev: add feature flag to specify where processing is done

2019-01-17 Thread Shally Verma
>-Original Message- >From: Trahe, Fiona >Sent: 16 January 2019 17:06 >To: Shally Verma ; De Lara Guarch, Pablo >; Verma, Shally >; Stephen Hemminger >Cc: dev@dpdk.org; akhil.go...@nxp.com; Jozwiak, TomaszX >; Gupta, Ashish >; Daly, Lee ; Luse, Paul E

Re: [dpdk-dev] [PATCH] compressdev: add feature flag to specify where processing is done

2019-01-17 Thread Shally Verma
>-Original Message- >From: Trahe, Fiona >Sent: 16 January 2019 18:15 >To: Shally Verma ; De Lara Guarch, Pablo >; Verma, Shally >; Stephen Hemminger >Cc: dev@dpdk.org; akhil.go...@nxp.com; Jozwiak, TomaszX >; Gupta, Ashish >; Daly, Lee ; Luse, Paul E

Re: [dpdk-dev] [PATCH] doc: announce ABI change for cryptodev config

2019-01-18 Thread Shally Verma
HI Fiona, Anoob >-Original Message- >From: Anoob Joseph >Sent: 17 January 2019 19:17 >To: Trahe, Fiona ; Akhil Goyal ; >De Lara Guarch, Pablo > >Cc: Jerin Jacob Kollanukkaran ; Narayana Prasad Raju >Athreya ; Shally Verma >; dev@dpdk.org >Subject: RE: [P

Re: [dpdk-dev] [PATCH v2] cryptodev: rework mod exp and mod inv comments

2019-02-05 Thread Shally Verma
off-by: Arek Kusztal >--- >v2: >- grammar fixes > > lib/librte_cryptodev/rte_crypto_asym.h | 44 ++ > 1 file changed, 29 insertions(+), 15 deletions(-) > Acked-by: Shally Verma >diff --git a/lib/librte_cryptodev/rte_crypto_asym.h >b/lib/l

Re: [dpdk-dev] [EXT] [PATCH] openssl: fix bad reference of modinv

2019-02-05 Thread Shally Verma
s") > >Signed-off-by: Arek Kusztal >--- > drivers/crypto/openssl/rte_openssl_pmd.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Acked-by: Shally Verma Thanks Shally

Re: [dpdk-dev] [PATCH v2] cryptodev: rework mod exp and mod inv comments

2019-02-06 Thread Shally Verma
>-Original Message- >From: Kusztal, ArkadiuszX >Sent: 06 February 2019 15:04 >To: Shally Verma ; dev@dpdk.org >Cc: akhil.go...@nxp.com; Trahe, Fiona ; >sunila.s...@caviumnetworks.com; >ashish.gu...@caviumnetworks.com; umesh.kar...@caviumnetworks.com >Subj

Re: [dpdk-dev] [PATCH v3] cryptodev: rework mod exp and mod inv comments

2019-02-06 Thread Shally Verma
2: >- grammar fixes > >v3: >- remove information about positive integer > > lib/librte_cryptodev/rte_crypto_asym.h | 43 ++---- > 1 file changed, 28 insertions(+), 15 deletions(-) > Acked-by: Shally Verma Thanks Shally

Re: [dpdk-dev] [PATCH 0/3] adding op-type crt sign and decrypt

2019-02-11 Thread Shally Verma
HI Arek, From: Kusztal, ArkadiuszX Sent: 11 February 2019 17:11 To: Ayuj Verma ; Trahe, Fiona ; Shally Verma Cc: akhil.go...@nxp.com Subject: [EXT] RE: [PATCH 0/3] adding op-type crt sign and decrypt External Email Hi Ayuj, Few comments from me

Re: [dpdk-dev] [PATCH v2 1/3] cryptodev: add result field to mod exp and inverse operations

2019-02-12 Thread Shally Verma
t;operations > >External Email > >This commit adds result field to be used when modular exponentiation or >modular multiplicative inverse operation is used > >Signed-off-by: Arek Kusztal >--- Acked-by: Shally Verma > lib/librte_cryptodev/rte_crypto_asym.h | 10

Re: [dpdk-dev] [PATCH v2 3/3] test: add result field to mod exp and mod inv

2019-02-12 Thread Shally Verma
>External Email > >This patch adds result field to modular exponentiation and >modular multiplicative inverse tests > >Signed-off-by: Arek Kusztal >--- Acked-by: Shally Verma Thanks Shally

Re: [dpdk-dev] [PATCH] openssl: fix not clearing big numbers after computations

2019-02-12 Thread Shally Verma
cified amount of time >(duration of the session). > >Fixes: 3e9d6bd447fb ("crypto/openssl: add RSA and mod asym operations") > >Signed-off-by: Arek Kusztal >--- Acked-by: Shally Verma > drivers/crypto/openssl/rte_openssl_pmd.c | 6 ++ > 1 file changed, 6 i

Re: [dpdk-dev] [PATCH 0/3] adding op-type crt sign and decrypt

2019-02-12 Thread Shally Verma
Hi Arek >-Original Message- >From: Kusztal, ArkadiuszX >Sent: 12 February 2019 16:42 >To: Shally Verma ; Ayuj Verma ; >Trahe, Fiona >Cc: akhil.go...@nxp.com; Kanaka Durga Kotamarthy ; >Sunila Sahu ; >dev@dpdk.org >Subject: RE: [PATCH 0/3] adding op-type

Re: [dpdk-dev] [PATCH v2] compressdev: add feature flag to specify where processing is done

2019-02-20 Thread Shally Verma
ocessing is done during the >enqueue (default). >Applications can use this as a hint for tuning. > >Signed-off-by: Fiona Trahe Acked-by: Shally Verma Thanks Shally

Re: [dpdk-dev] [PATCH] cryptodev: fix restore crypto op alignment and layout

2019-03-12 Thread Shally Verma
e-line and lookaside-protocol > capable crypto devices the impact will be even more noticeable. > > Fixes: 26008aaed14c ("cryptodev: add asymmetric xform and op definitions") > > Signed-off-by: Konstantin Ananyev > --- It's a valid point that asym_op is not going to be used standalone. Thanks for pointing it out. Acked-by: Shally Verma

[dpdk-dev] [PATCH v1 0/3]cryptodev: add unit tests and PMD for asym crypto

2018-04-03 Thread Shally Verma
/patch/36577/ For API patch V1 summary https://www.mail-archive.com/dev@dpdk.org/msg93657.html Ashish Gupta (2): lib/cryptodev: add unit testcase for asym crypto doc: add asym crypto in cryptodev programmer guide Shally Verma (1): crypto/openssl: add asym crypto support doc/guides/cryptodevs

[dpdk-dev] [PATCH v1 2/3] crypto/openssl: add asym crypto support

2018-04-03 Thread Shally Verma
Add asymmetric crypto operation support in openssl PMD. Current list of supported asym xforms: * RSA * DSA * Deffie-hellman * Modular Operations Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta --- doc/guides/cryptodevs/features/openssl.ini | 11 + doc

[dpdk-dev] [PATCH v1 1/3] lib/cryptodev: add unit testcase for asym crypto

2018-04-03 Thread Shally Verma
time for execution. Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta --- test/test/Makefile |3 +- test/test/test_cryptodev_asym.c | 1785 +++ 2 files changed, 1787 insertions(+), 1 deletion(-) diff --git a

[dpdk-dev] [PATCH v1 3/3] doc: add asym crypto in cryptodev programmer guide

2018-04-03 Thread Shally Verma
update cryptodev programmer guide with description of asymmetric crypto framework in lib cryptodev. Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta --- doc/guides/prog_guide/cryptodev_lib.rst | 338 +++- 1 file changed, 329

[dpdk-dev] [PATCH v2 2/6] lib/cryptodev: add asym op support in cryptodev

2018-04-05 Thread Shally Verma
sym_get_session_* - per-service stats update Open for consideration: - sessionless asymmetric ops. current proposal only define session based operations. Changes from PATCHv1 - resolve new line error in librte_cryptodev/rte_cryptodev_version.map Signed-off-by: Shally Verma Signed-off-by: Sunila

[dpdk-dev] [PATCH v2 0/6] crypto: add asym crypto support

2018-04-05 Thread Shally Verma
derivative of earlier reviewed RFC v2 patch series: http://dpdk.org/dev/patchwork/patch/24245/ http://dpdk.org/dev/patchwork/patch/24246/ http://dpdk.org/dev/patchwork/patch/24247/ Shally Verma (6): lib/cryptodev: add asymmetric algos in cryptodev lib/cryptodev: add asym op support in cryptodev

[dpdk-dev] [PATCH v2 3/6] lib/cryptodev: add asymmetric crypto capability in cryptodev

2018-04-05 Thread Shally Verma
Extend cryptodev with asymmetric capability APIs and definitions. Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta --- User must apply patch "lib/cryptodev: add asymmetric algos in cryptodev" before compilation --- lib/librte_cryptodev/rte_c

[dpdk-dev] [PATCH v2 4/6] test/crypto: add unit testcase for asym crypto

2018-04-05 Thread Shally Verma
for execution. Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu Signed-off-by: Ashish Gupta --- This patch dependent on asym crypto API patches. Please apply them before compilation --- test/test/Makefile |3 +- test/test/test_cryptodev_asym.c | 1785

  1   2   >