[dpdk-dev] [v2] test: fix crypto_op length for sessionless case

2021-07-18 Thread Abhinandan Gujjar
care of increasing the length of ops to accommodate space for rte_event_crypto_metadata while creating the crypto ops mempool. Fixes: 3c2c535ecfc0 ("test: add event crypto adapter auto-test") Reported-by: ciara.po...@intel.com Signed-off-by: Abhinandan Gujjar --- v2: - Fix length calcu

[dpdk-dev] [PATCH] test: fix crypto_op length for sessionless case

2021-06-30 Thread Abhinandan Gujjar
while freeing the ops mempool. Fixes: 3c2c535ecfc0 ("test: add event crypto adapter auto-test") Reported-by: ciara.po...@intel.com Signed-off-by: Abhinandan Gujjar --- app/test/test_event_crypto_adapter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[dpdk-dev] [PATCH v7 2/2] test: add testcase for crypto enqueue and dequeue callback

2020-12-22 Thread Abhinandan Gujjar
This patch adds test cases for testing functionality of enqueue and dequeue callback mechanism. Signed-off-by: Abhinandan Gujjar Acked-by: Konstantin Ananyev --- app/test/test_cryptodev.c | 244 +- 1 file changed, 242 insertions(+), 2 deletions(-) diff

[dpdk-dev] [PATCH v7 1/2] cryptodev: support enqueue and dequeue callback functions

2020-12-22 Thread Abhinandan Gujjar
This patch adds APIs to add/remove callback functions on crypto enqueue/dequeue burst. The callback function will be called for each burst of crypto ops received/sent on a given crypto device queue pair. Signed-off-by: Abhinandan Gujjar Acked-by: Konstantin Ananyev --- config/rte_config.h

[dpdk-dev] [PATCH v7 0/2] support enqueue & dequeue callbacks on cryptodev

2020-12-22 Thread Abhinandan Gujjar
k related members to the end of cryptodev struct -Added support for RCU Abhinandan Gujjar (2): cryptodev: support enqueue and dequeue callback functions test: add testcase for crypto enqueue and dequeue callback app/test/test_cryptodev.c | 244 ++- config/rte_con

[dpdk-dev] [v6 2/2] test: add testcase for crypto enqueue callback

2020-10-30 Thread Abhinandan Gujjar
This patch adds test case for testing functionality of enqueue callback mechanism. Signed-off-by: Abhinandan Gujjar Acked-by: Konstantin Ananyev --- app/test/test_cryptodev.c | 135 +- 1 file changed, 133 insertions(+), 2 deletions(-) diff --git a

[dpdk-dev] [v6 1/2] cryptodev: support enqueue & dequeue callback functions

2020-10-30 Thread Abhinandan Gujjar
This patch adds APIs to add/remove callback functions on crypto enqueue/dequeue burst. The callback function will be called for each burst of crypto ops received/sent on a given crypto device queue pair. Signed-off-by: Abhinandan Gujjar Acked-by: Konstantin Ananyev --- config/rte_config.h

[dpdk-dev] [v6 0/2] support enqueue & dequeue callbacks on cryptodev

2020-10-30 Thread Abhinandan Gujjar
pdated callback test with negative cases -Updated with required changes for meson v1->v2: -Moved callback related members to the end of cryptodev struct -Added support for RCU Abhinandan Gujjar (2): cryptodev: support enqueue & dequeue callback functions test: add testcase for cr

[dpdk-dev] [v5 2/2] test: add testcase for crypto enqueue callback

2020-10-28 Thread Abhinandan Gujjar
This patch adds test case for testing functionality of enqueue callback mechanism. Signed-off-by: Abhinandan Gujjar Acked-by: Konstantin Ananyev --- app/test/test_cryptodev.c | 135 +- 1 file changed, 133 insertions(+), 2 deletions(-) diff --git a

[dpdk-dev] [v5 1/2] cryptodev: support enqueue & dequeue callback functions

2020-10-28 Thread Abhinandan Gujjar
This patch adds APIs to add/remove callback functions on crypto enqueue/dequeue burst. The callback function will be called for each burst of crypto ops received on a given crypto device queue pair. Signed-off-by: Abhinandan Gujjar Acked-by: Konstantin Ananyev --- config/rte_config.h

[dpdk-dev] [v5 0/2] support enqueue & dequeue callbacks on cryptodev

2020-10-28 Thread Abhinandan Gujjar
embers to the end of cryptodev struct -Added support for RCU Abhinandan Gujjar (2): cryptodev: support enqueue & dequeue callback functions test: add testcase for crypto enqueue callback app/test/test_cryptodev.c | 135 +++- config/rte_config.h

[dpdk-dev] [v4 3/3] doc: add enqueue callback APIs

2020-10-26 Thread Abhinandan Gujjar
Add enqueue callback support for cryptodev library Signed-off-by: Abhinandan Gujjar --- doc/guides/prog_guide/cryptodev_lib.rst | 22 ++ doc/guides/rel_notes/release_20_11.rst | 5 + 2 files changed, 27 insertions(+) diff --git a/doc/guides/prog_guide

[dpdk-dev] [v4 2/3] test: add testcase for crypto enqueue callback

2020-10-26 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- app/test/test_cryptodev.c | 133 +- 1 file changed, 131 insertions(+), 2 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 1d4c46f..a083612 100644 --- a/app/test/test_cryptodev.c

[dpdk-dev] [v4 1/3] cryptodev: support enqueue callback functions

2020-10-26 Thread Abhinandan Gujjar
This patch adds APIs to add/remove callback functions. The callback function will be called for each burst of crypto ops received on a given crypto device queue pair. Signed-off-by: Abhinandan Gujjar --- config/rte_config.h| 1 + lib/librte_cryptodev/meson.build

[dpdk-dev] [v4 0/3] support enqueue callbacks on cryptodev

2020-10-26 Thread Abhinandan Gujjar
th required changes for meson v1->v2: -Moved callback related members to the end of cryptodev struct -Added support for RCU Abhinandan Gujjar (3): cryptodev: support enqueue callback functions test: add testcase for crypto enqueue callback doc: add enqueue callback APIs app/test/te

[dpdk-dev] [v3 1/2] cryptodev: support enqueue callback functions

2020-10-20 Thread Abhinandan Gujjar
This patch adds APIs to add/remove callback functions. The callback function will be called for each burst of crypto ops received on a given crypto device queue pair. Signed-off-by: Abhinandan Gujjar --- config/rte_config.h| 1 + lib/librte_cryptodev/meson.build

[dpdk-dev] [v3 2/2] test: add testcase for crypto enqueue callback

2020-10-20 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- app/test/test_cryptodev.c | 133 +- 1 file changed, 131 insertions(+), 2 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 1d4c46f..a083612 100644 --- a/app/test/test_cryptodev.c

[dpdk-dev] [v3 0/2] support enqueue callbacks on cryptodev

2020-10-20 Thread Abhinandan Gujjar
-RCU is maintained per queue-pair -Changed name of few variables -Updated callback test with negative cases -Updated with required changes for meson v1->v2: -Moved callback related members to the end of cryptodev struct -Added support for RCU Abhinandan Gujjar (2): cryptod

[dpdk-dev] [PATCH] test/event_crypto_adapter: fix conf issue

2020-09-18 Thread Abhinandan Gujjar
This patch updates the xform with right configuration. For session based ops, sym session pool is created with valid userdata size. Signed-off-by: Abhinandan Gujjar --- app/test/test_event_crypto_adapter.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff

[dpdk-dev] [PATCH] test/event_crypto_adapter: fix conf issue

2020-09-18 Thread Abhinandan Gujjar
This patch updates the xform with right configuration. For session based ops, sym session pool is created with valid userdata size. Signed-off-by: Abhinandan Gujjar --- app/test/test_event_crypto_adapter.c | 24 +--- drivers/crypto/meson.build | 12 ++-- 2

[dpdk-dev] [v2 2/2] test: add testcase for crypto enqueue callback

2020-09-09 Thread Abhinandan Gujjar
The purpose of this testcase is to showcase the cryptodev enqueue callback usage with RCU support. Signed-off-by: Abhinandan Gujjar --- app/test/test_cryptodev.c | 123 +- 1 file changed, 122 insertions(+), 1 deletion(-) diff --git a/app/test

[dpdk-dev] [v2 1/2] cryptodev: support enqueue callback functions

2020-09-09 Thread Abhinandan Gujjar
. The callback function will be called for each burst of crypto ops received on a given crypto device queue pair. v1->v2: Moved callback related members to the end of cryptodev struct Added support for RCU Signed-off-by: Abhinandan Gujjar --- config/common_base |

[dpdk-dev] [PATCH] cryptodev: add support for user callback functions

2020-04-20 Thread Abhinandan Gujjar
rypto adapter. By adding a user callback to cryptodev at enqueue burst, the user callback will get executed in the context of event crypto adapter. This helps the application to increment the ESP sequence number atomically and orderly manner. Signed-off-by: Abhinandan Gujjar --- config/common

[dpdk-dev] [PATCH] eventdev: fix control flow issues

2019-04-25 Thread Abhinandan Gujjar
Fixes: 7901eac3409 ("eventdev: add crypto adapter implementation") Signed-off-by: Abhinandan Gujjar --- lib/librte_eventdev/rte_event_crypto_adapter.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/librte_eventdev/rte_event_crypto_adapte

[dpdk-dev] [PATCH] test: fix build with icc

2018-05-13 Thread Abhinandan Gujjar
d-by: Pablo de Lara Signed-off-by: Abhinandan Gujjar --- test/test/test_event_crypto_adapter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test/test_event_crypto_adapter.c b/test/test/test_event_crypto_adapter.c index 17eae5d..6f0e794 100644 -

[dpdk-dev] [v5,5/5] doc: add event crypto adapter documentation

2018-05-09 Thread Abhinandan Gujjar
Add entries in the programmer's guide, API index, maintainer's file and release notes for the event crypto adapter. Signed-off-by: Abhinandan Gujjar Acked-by: Jerin Jacob Acked-by: Akhil Goyal --- MAINTAINERS|1 + doc/api/doxy-ap

[dpdk-dev] [v5,3/5] eventdev: add crypto adapter implementation

2018-05-09 Thread Abhinandan Gujjar
. This patch also adds adapter to the meson build system & updates the necessary makefile & map file. Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Signed-off-by: Gage Eads Acked-by: Akhil Goyal --- config/common_base |1 + config/rte_

[dpdk-dev] [v5,4/5] test: add event crypto adapter auto-test

2018-05-09 Thread Abhinandan Gujjar
Added testsuite to test the crypto adapter functionality. The testsuite detects the HW/SW event & crypto devices and their capabilities. Depending upon the capability, adapter is confgured and modes are tested. Signed-off-by: Abhinandan Gujjar Acked-by: Akhil Goyal --- MAINTAI

[dpdk-dev] [v5,0/5] eventdev: cover letter - crypto adapter

2018-05-09 Thread Abhinandan Gujjar
T_OP_NEW -RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_QP_EV_BIND -RTE_EVENT_CRYPTO_ADAPTER_CAP_SESSION_PRIVATE_DATA -Updated the service init code -Moved adapter mode to the adapter create API -Updated the test case for above changes Abhinandan Gujjar (5): eventdev: introduce event crypto

[dpdk-dev] [v5, 2/5] eventdev: add APIs and PMD callbacks for crypto adapter

2018-05-09 Thread Abhinandan Gujjar
This patch defines capabilities & functions to be called for eventdev PMDs. Signed-off-by: Abhinandan Gujjar Acked-by: Jerin Jacob Acked-by: Akhil Goyal --- drivers/event/sw/sw_evdev.c | 13 ++ lib/librte_eventdev/rte_eventdev.c | 25 lib/librte_even

[dpdk-dev] [v5,1/5] eventdev: introduce event crypto adapter

2018-05-09 Thread Abhinandan Gujjar
This patch introduces event crypto adapter APIs. It also provides information on working model/adapter modes & their usage. Application is expected to use this interface to transfer packets between the crypto device & the event device. Signed-off-by: Abhinandan Gujjar Signed-off-by: Ni

[dpdk-dev] [v4,5/5] doc: add event crypto adapter documentation

2018-05-08 Thread Abhinandan Gujjar
Add entries in the programmer's guide, API index, maintainer's file and release notes for the event crypto adapter. Signed-off-by: Abhinandan Gujjar Acked-by: Jerin Jacob --- MAINTAINERS|1 + doc/api/doxy-api-index.md

[dpdk-dev] [v4, 2/5] eventdev: add APIs and PMD callbacks for crypto adapter

2018-05-08 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar Acked-by: Jerin Jacob --- drivers/event/sw/sw_evdev.c | 13 ++ lib/librte_eventdev/rte_eventdev.c | 25 lib/librte_eventdev/rte_eventdev.h | 53 +++- lib/librte_eventdev/rte_eventdev_pmd.h | 187

[dpdk-dev] [v4,4/5] test: add event crypto adapter auto-test

2018-05-08 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- MAINTAINERS | 1 + test/test/Makefile| 2 + test/test/test_event_crypto_adapter.c | 927 ++ 3 files changed, 930 insertions(+) create mode 100644 test/test

[dpdk-dev] [v4,3/5] eventdev: add crypto adapter implementation

2018-05-08 Thread Abhinandan Gujjar
Event crypto adapter is added to the meson build system Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Signed-off-by: Gage Eads --- config/common_base |1 + config/rte_config.h|1 + lib/Makefile

[dpdk-dev] [v4,1/5] eventdev: introduce event crypto adapter

2018-05-08 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Signed-off-by: Gage Eads --- MAINTAINERS| 5 + lib/librte_eventdev/rte_event_crypto_adapter.h | 575 + 2 files changed, 580 insertions(+) create mode 100644 lib

[dpdk-dev] [v4,0/5] eventdev: cover letter - crypto adapter

2018-05-08 Thread Abhinandan Gujjar
ated the service init code -Moved adapter mode to the adapter create API -Updated the test case for above changes Abhinandan Gujjar (5): eventdev: introduce event crypto adapter eventdev: add APIs and PMD callbacks for crypto adapter eventdev: add crypto adapter implementation test: add even

[dpdk-dev] [v3,3/5] eventdev: add crypto adapter implementation

2018-05-05 Thread Abhinandan Gujjar
Event crypto adapter is added to the meson build system Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Signed-off-by: Gage Eads --- config/common_base |1 + lib/Makefile |3 +- lib/librte_eventdev/Makefile

[dpdk-dev] [v3,4/5] test: add event crypto adapter auto-test

2018-05-05 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- MAINTAINERS | 1 + test/test/Makefile| 1 + test/test/test_event_crypto_adapter.c | 913 ++ 3 files changed, 915 insertions(+) create mode 100644 test/test

[dpdk-dev] [v3,5/5] doc: add event crypto adapter documentation

2018-05-05 Thread Abhinandan Gujjar
Add entries in the programmer's guide, API index, maintainer's file and release notes for the event crypto adapter. Signed-off-by: Abhinandan Gujjar --- MAINTAINERS|1 + doc/api/doxy-api-index.md |1 +

[dpdk-dev] [v3, 2/5] eventdev: add APIs and PMD callbacks for crypto adapter

2018-05-05 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- drivers/event/sw/sw_evdev.c| 13 +++ lib/librte_eventdev/rte_eventdev.c | 25 + lib/librte_eventdev/rte_eventdev.h | 54 ++ lib/librte_eventdev/rte_eventdev_pmd.h | 187 + 4 files changed, 279

[dpdk-dev] [v3,1/5] eventdev: introduce event crypto adapter

2018-05-05 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Signed-off-by: Gage Eads --- MAINTAINERS| 5 + lib/librte_eventdev/rte_event_crypto_adapter.h | 554 + 2 files changed, 559 insertions(+) create mode 100644 lib

[dpdk-dev] [v3,0/5] eventdev: cover letter - crypto adapter

2018-05-05 Thread Abhinandan Gujjar
the adapter create API -Updated the test case for above changes Abhinandan Gujjar (5): eventdev: introduce event crypto adapter eventdev: add APIs and PMD callbacks for crypto adapter eventdev: add crypto adapter implementation test: add event crypto adapter auto-test doc: add event cr

[dpdk-dev] [v2,6/6] doc: add event crypto adapter documentation

2018-04-24 Thread Abhinandan Gujjar
Add entries in the programmer's guide, API index, maintainer's file and release notes for the event crypto adapter. Signed-off-by: Abhinandan Gujjar --- MAINTAINERS| 7 + doc/api/doxy-api-index.md | 1 + doc/guides/

[dpdk-dev] [v2,4/6] test: add event crypto adapter auto-test

2018-04-24 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- test/test/Makefile| 1 + test/test/test_event_crypto_adapter.c | 915 ++ 2 files changed, 916 insertions(+) create mode 100644 test/test/test_event_crypto_adapter.c diff --git a/test/test/Makefile b/test

[dpdk-dev] [v2, 5/6] eventdev: add event crypto adapter to meson build system

2018-04-24 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- lib/librte_eventdev/meson.build | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/librte_eventdev/meson.build b/lib/librte_eventdev/meson.build index 232b870..df9be41 100644 --- a/lib/librte_eventdev/meson.build +++ b/lib

[dpdk-dev] [v2, 2/6] eventdev: add APIs and PMD callbacks for crypto adapter

2018-04-24 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- drivers/event/sw/sw_evdev.c| 13 +++ lib/librte_eventdev/rte_eventdev.c | 25 + lib/librte_eventdev/rte_eventdev.h | 52 + lib/librte_eventdev/rte_eventdev_pmd.h | 189 + 4 files changed, 279

[dpdk-dev] [v2,3/6] eventdev: add crypto adapter implementation

2018-04-24 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Signed-off-by: Gage Eads --- config/common_base |1 + lib/Makefile |4 +- lib/librte_eventdev/Makefile |3 + lib/librte_eventdev

[dpdk-dev] [v2,1/6] eventdev: introduce event crypto adapter

2018-04-24 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Signed-off-by: Gage Eads --- lib/librte_eventdev/rte_event_crypto_adapter.h | 532 + 1 file changed, 532 insertions(+) create mode 100644 lib/librte_eventdev/rte_event_crypto_adapter.h diff --git a/lib

[dpdk-dev] [v2,0/6] eventdev: cover letter - crypto adapter

2018-04-24 Thread Abhinandan Gujjar
-RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_QP_EV_BIND -RTE_EVENT_CRYPTO_ADAPTER_CAP_SESSION_PRIVATE_DATA -Updated the service init code -Moved adapter mode to the adapter create API -Updated the test case for above changes Abhinandan Gujjar (6): eventdev: introduce event crypto adapter eventdev: add caps API and PMD

[dpdk-dev] [v3,3/3] doc: add private data info in crypto guide

2018-04-15 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar Acked-by: Akhil Goyal --- doc/guides/prog_guide/cryptodev_lib.rst | 27 +++ 1 file changed, 27 insertions(+) diff --git a/doc/guides/prog_guide/cryptodev_lib.rst b/doc/guides/prog_guide/cryptodev_lib.rst index 066fe2d..b279a20 100644

[dpdk-dev] [v2, 2/3] cryptodev: support session private data setting

2018-04-15 Thread Abhinandan Gujjar
rte_cryptodev_sym_session_set_private_data() and retrieve it using rte_cryptodev_sym_session_get_private_data(). Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Acked-by: Pablo de Lara --- lib/librte_cryptodev/rte_cryptodev.c | 43 +++--- lib/librte_cryptodev/rte_cryptodev.h | 32

[dpdk-dev] [v2, 1/3] cryptodev: set private data for session-less mode

2018-04-15 Thread Abhinandan Gujjar
be enqueued to eventdev after completion of the crypto operation. This patch provides a mechanism for the application to associate this information with the rte_crypto_op in session-less mode. Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Acked-by: Pablo de Lara --- lib

[dpdk-dev] [dpdk-dev, v1, 5/5] doc: add event crypto adapter documentation

2018-04-03 Thread Abhinandan Gujjar
Add entries in the programmer's guide, API index, maintainer's file and release notes for the event crypto adapter. Signed-off-by: Abhinandan Gujjar --- MAINTAINERS| 7 + doc/api/doxy-api-index.md | 1 + doc/guides/

[dpdk-dev] [dpdk-dev, v1, 4/5] eventdev: add event crypto adapter to meson build system

2018-04-03 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- lib/librte_eventdev/meson.build | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/librte_eventdev/meson.build b/lib/librte_eventdev/meson.build index e1e22a5..d3d305a 100644 --- a/lib/librte_eventdev/meson.build +++ b/lib

[dpdk-dev] [dpdk-dev, v1, 3/5] test: add event crypto adapter auto-test

2018-04-03 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- test/test/Makefile| 1 + test/test/test_event_crypto_adapter.c | 866 ++ 2 files changed, 867 insertions(+) create mode 100644 test/test/test_event_crypto_adapter.c diff --git a/test/test/Makefile b/test

[dpdk-dev] [dpdk-dev, v1, 2/5] eventdev: add crypto adapter implementation

2018-04-03 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Signed-off-by: Gage Eads --- config/common_base |1 + lib/Makefile |3 +- lib/librte_eventdev/Makefile |3 + lib/librte_eventdev

[dpdk-dev] [dpdk-dev, v1, 1/5] eventdev: add caps API and PMD callbacks for crypto adapter

2018-04-03 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- lib/librte_eventdev/rte_eventdev.c | 25 + lib/librte_eventdev/rte_eventdev.h | 35 +++ lib/librte_eventdev/rte_eventdev_pmd.h | 176 + 3 files changed, 236 insertions(+) diff --git a/lib/librte_eventdev

[dpdk-dev] [dpdk-dev, v1, 3/3] doc: update cryptodev documentation for set/get private data

2018-04-03 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar --- doc/guides/prog_guide/cryptodev_lib.rst | 26 ++ 1 file changed, 26 insertions(+) diff --git a/doc/guides/prog_guide/cryptodev_lib.rst b/doc/guides/prog_guide/cryptodev_lib.rst index 066fe2d..57b3f6e 100644 --- a/doc/guides

[dpdk-dev] [dpdk-dev, v1, 1/3] cryptodev: set private data for session-less mode

2018-04-03 Thread Abhinandan Gujjar
be enqueued to eventdev after completion of the crypto operation. This patch provides a mechanism for the application to associate this information with the rte_crypto_op in session-less mode. Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao --- lib/librte_cryptodev/rte_crypto.h | 8

[dpdk-dev] [dpdk-dev, v1, 2/3] cryptodev: add support to set session private data

2018-04-03 Thread Abhinandan Gujjar
rte_cryptodev_sym_session_set_private_data() and retrieve it using rte_cryptodev_sym_session_get_private_data(). Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao --- lib/librte_cryptodev/rte_cryptodev.c | 43 +++--- lib/librte_cryptodev/rte_cryptodev.h | 32 +++ lib

[dpdk-dev] [RFC v3, 2/3] cryptodev: add support to set session private data

2018-02-01 Thread Abhinandan Gujjar
rte_cryptodev_sym_session_set_private_data() and retrieve it using rte_cryptodev_sym_session_get_private_data(). Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao --- lib/librte_cryptodev/rte_cryptodev.h | 32 1 file changed, 32 insertions(+) diff --git a/lib/librte_cryptodev

[dpdk-dev] [RFC v3, 3/3] security: add support to set session private data

2018-02-01 Thread Abhinandan Gujjar
rte_security_session_get_private_data() Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao --- lib/librte_security/rte_security.h | 29 + 1 file changed, 29 insertions(+) diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h index

[dpdk-dev] [RFC v3, 1/3] cryptodev: set private data for session-less mode

2018-02-01 Thread Abhinandan Gujjar
be enqueued to eventdev after completion of the crypto operation. This patch provides a mechanism for the application to associate this information with the rte_crypto_op in session-less mode. Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao --- Notes: V3: 1. Added

[dpdk-dev] [RFC v2, 2/2] security: add support to set session private data

2018-01-23 Thread Abhinandan Gujjar
rte_security_session_get_private_data() Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao --- lib/librte_security/rte_security.h | 29 + 1 file changed, 29 insertions(+) diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h index

[dpdk-dev] [RFC v2, 1/2] cryptodev: add support to set session private data

2018-01-23 Thread Abhinandan Gujjar
private data using rte_cryptodev_sym_session_set_private_data() and retrieve it using rte_cryptodev_sym_session_get_private_data(). Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao --- Notes: V2: 1. Removed enum rte_crypto_op_private_data_type 2. Corrected

[dpdk-dev] [PATCH 2/2] lib/security: add support to set session private data

2018-01-15 Thread Abhinandan Gujjar
rte_security_session_get_private_data() Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao --- lib/librte_security/rte_security.h | 28 1 file changed, 28 insertions(+) diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h index

[dpdk-dev] [PATCH 1/2] lib/cryptodev: add support to set session private data

2018-01-15 Thread Abhinandan Gujjar
set the private data using rte_cryptodev_sym_session_set_private_data() and retrieve it using rte_cryptodev_sym_session_get_private_data(). Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao --- lib/librte_cryptodev/rte_crypto.h| 19 +-- lib/librte_cryptodev

[dpdk-dev] [RFC v2, 2/2] eventdev: add crypto adapter API header

2018-01-15 Thread Abhinandan Gujjar
Add crypto event adapter APIs to support packet transfer mechanism between cryptodev and event device. Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Signed-off-by: Gage Eads --- Notes: V2: 1. Updated type as ENQ-DEQ in rte_event_crypto_adapter_type 2

[dpdk-dev] [PATCH V2, 1/2] eventdev: add caps API and PMD callback for crypto adapter

2018-01-15 Thread Abhinandan Gujjar
Application gets required information to configure crypto adapter for cryptodev and eventdev using caps API. Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao --- Notes: V2: 1. Removed _MULTI_EVENTQ & _MULTI_EVENTQ capabilities lib/librte_even

[dpdk-dev] [PATCH] ethdev: fix memory leaks in remove rxtx callbacks

2017-12-14 Thread Abhinandan Gujjar
The patch frees memory allocated by add rxtx callbacks Signed-off-by: Abhinandan Gujjar --- lib/librte_ether/rte_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index 318af28..2ab6e05 100644 --- a/lib/librte_ether

[dpdk-dev] [RFC] eventdev: add crypto adapter API header

2017-11-08 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao Signed-off-by: Gage Eads --- lib/librte_eventdev/Makefile | 1 + lib/librte_eventdev/rte_event_crypto_adapter.h | 474 + 2 files changed, 475 insertions(+) create mode 100644 lib

[dpdk-dev] [RFC] eventdev: add caps API and PMD callback for crypto adapter

2017-11-08 Thread Abhinandan Gujjar
Signed-off-by: Abhinandan Gujjar Signed-off-by: Nikhil Rao --- lib/librte_eventdev/rte_eventdev.c | 25 +++ lib/librte_eventdev/rte_eventdev.h | 44 ++ lib/librte_eventdev/rte_eventdev_pmd.h | 32 + 3 files changed