[dpdk-dev] [RFC PATCH 12/13] examples/ipsec-secgw: add app outbound worker

2019-10-09 Thread Anoob Joseph
This patch adds the app outbound worker thread. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/ipsec-secgw/ipsec_worker.c | 190 +++- 1 file changed, 189 insertions(+), 1 deletion(-) diff --git a/examples/ipsec-secgw/ipsec_worker.c b

[dpdk-dev] [RFC PATCH 13/13] examples/ipsec-secgw: add cmd line option for bufs

2019-10-09 Thread Anoob Joseph
Add command line option -s which can be used to configure number of buffers in a pool. Default number of buffers is 4000. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/ipsec-secgw/ipsec-secgw.c | 23 +++ 1 file changed, 19 insertions(+), 4

Re: [dpdk-dev] [PATCH v3 0/3] add fallback session

2019-10-09 Thread Anoob Joseph
being attempted. Thanks, Anoob > -Original Message- > From: dev On Behalf Of Ananyev, Konstantin > Sent: Thursday, October 3, 2019 8:16 PM > To: Anoob Joseph ; Smoczynski, MarcinX > ; akhil.go...@nxp.com > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; Narayana > Prasa

Re: [dpdk-dev] [PATCH v4] cryptodev: extend api of asymmetric crypto by sessionless

2019-10-09 Thread Anoob Joseph
Arek Kusztal > Sent: Wednesday, October 9, 2019 9:39 PM > To: dev@dpdk.org > Cc: akhil.go...@nxp.com; fiona.tr...@intel.com; Shally Verma > ; Anoob Joseph ; Arek > Kusztal > Subject: [dpdk-dev] [PATCH v4] cryptodev: extend api of asymmetric crypto > by sessionless >

[dpdk-dev] [PATCH v2 1/5] crypto/octeontx: add device type mailbox routine

2019-10-11 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy Add mailbox communication to query symmetric or asymmetric device type Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/common/cpt/cpt_common.h | 3 --- drivers/crypto/octeontx

[dpdk-dev] [PATCH v2 0/5] add asym support in crypto_octeontx PMD

2019-10-11 Thread Anoob Joseph
This series adds asymmetric crypto support in 'crypto_octoentx' PMD. Changes in v2: * Squashed patches as directed by Akhil * Split the doc patch and added documentation along with feature * Added check for ASYM SESSIONLESS (not supported currently) * Made separate enqueue & dequeue routines for s

[dpdk-dev] [PATCH v2 3/5] common/cpt: add helper functions for asymmetric crypto

2019-10-11 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy Add helper functions to get meta len for asymmetric operations Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/common/cpt/cpt_pmd_ops_helper.c | 15 + drivers/common/cpt

[dpdk-dev] [PATCH v2 4/5] crypto/octeontx: add asymmetric enqueue/dequeue ops

2019-10-11 Thread Anoob Joseph
From: Sunila Sahu Add asymmetric crypto op enqueue & dequeue routines Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/common/cpt/cpt_common.h | 1 + drivers/common/cpt/cpt_mcode_defines.h | 20 ++ drivers/co

[dpdk-dev] [PATCH v2 5/5] app/test: register octeontx PMD to asym testsuite

2019-10-11 Thread Anoob Joseph
From: Sunila Sahu Updated asymmetric crypto unit-test application to test asymmetric crypto operations in octeontx PMD Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- app/test/test_cryptodev_asym.c | 31

[dpdk-dev] [PATCH v2 2/5] crypto/octeontx: add asymmetric session operations

2019-10-11 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy Add asymmetric session setup and free functions. RSA and modexp operations are supported. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- doc/guides/cryptodevs/features/octeontx.ini| 6 +- doc/guides

[dpdk-dev] [PATCH v2 02/12] crypto/octeontx2: add device init sequence in probe

2019-10-13 Thread Anoob Joseph
This patch adds the device init sequence for OCTEON TX2 crypto device. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/octeontx2/Makefile | 10 +++ drivers/crypto/octeontx2/meson.build | 2 ++ drivers

[dpdk-dev] [PATCH v2 03/12] crypto/octeontx2: add device control ops

2019-10-13 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the device control functions. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/octeontx2/Makefile | 1 + drivers/crypto/octeontx2/meson.build | 1 + drivers

[dpdk-dev] [PATCH v2 01/12] crypto/octeontx2: add PMD skeleton

2019-10-13 Thread Anoob Joseph
Adding OCTEON TX2 crypto PMD skeleton. Enabling the driver by default in common_base. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- MAINTAINERS| 7 ++ config/common_base

[dpdk-dev] [PATCH v2 00/12] add OCTEON TX2 crypto PMD

2019-10-13 Thread Anoob Joseph
documentation Ankur Dwivedi (3): crypto/octeontx2: add device control ops crypto/octeontx2: add queue pair functions crypto/octeontx2: add session related functions Anoob Joseph (5): crypto/octeontx2: add PMD skeleton crypto/octeontx2: add device init sequence in probe crypto

[dpdk-dev] [PATCH v2 04/12] crypto/octeontx2: add queue pair functions

2019-10-13 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the queue pair setup and queue pair release functions for OCTEON TX2 crypto pmd. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- .../crypto/octeontx2/otx2_cryptodev_hw_access.c| 99 +++ .../crypto

[dpdk-dev] [PATCH v2 09/12] crypto/octeontx2: allocate memory for asymmetric operation

2019-10-13 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy This patch determines metabuf length needed to perform asymmetric crypto operation. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 37

[dpdk-dev] [PATCH v2 08/12] test: add OCTEON TX2 tests

2019-10-13 Thread Anoob Joseph
This patch adds the OCTEON TX2 crypto validation tests. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- app/test/meson.build| 1 + app/test/test_cryptodev.c | 323 app/test

[dpdk-dev] [PATCH v2 05/12] crypto/octeontx2: add symmetric capabilities

2019-10-13 Thread Anoob Joseph
This patch adds the symmetric capabilities for OCTEON TX2 crypto PMD. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/features/octeontx2.ini | 59 ++ doc/guides/cryptodevs/octeontx2.rst| 41 ++ drivers

[dpdk-dev] [PATCH v2 06/12] crypto/octeontx2: add session related functions

2019-10-13 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the symmetric session related callbacks. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/common/cpt/cpt_mcode_defines.h| 2 + drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 117

[dpdk-dev] [PATCH v2 07/12] crypto/octeontx2: add enqueue/dequeue ops

2019-10-13 Thread Anoob Joseph
This patch adds the enqueue burst and dequeue burst callbacks for the OCTEON TX2 crypto driver. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/common/cpt/cpt_hw_types.h | 52 drivers/crypto/octeontx2/Makefile

[dpdk-dev] [PATCH v2 10/12] crypto/octeontx2: add asymmetric session operations

2019-10-13 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy This patch adds asymmetric session setup and free routines. RSA and modexp operations are supported. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- doc/guides/cryptodevs/features/octeontx2.ini | 4

[dpdk-dev] [PATCH v2 11/12] crypto/octeontx2: add asymmetric in enqueue/dequeue ops

2019-10-13 Thread Anoob Joseph
From: Sunila Sahu This patch adds asymmetric support in enqueue/dequeue ops. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 177 ++ drivers/crypto/octeontx2

[dpdk-dev] [PATCH v2 12/12] app/test: register octeontx2 PMD to asym testsuite

2019-10-13 Thread Anoob Joseph
From: Sunila Sahu This patch updates asymmetric crypto unit-test application to validate asymmetric crypto operation supported by octeontx2 PMD. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- app/test/test_cryptodev_asym.c | 20

Re: [dpdk-dev] [PATCH v3 0/3] add fallback session

2019-10-13 Thread Anoob Joseph
f (MBUF_NO_SEC_OFFLOAD(pkt) && sa->fallback_sessions > 0) { + if (pg->id.val & IPSEC_SA_OFFLOAD_FALLBACK_FLAG) { @maintainers, Marvell is not blocking this feature anymore assuming that the same yardstick will be used while reviewing patches submitte

Re: [dpdk-dev] [EXT] [PATCH v5] cryptodev: extend api of asymmetric crypto by session-less

2019-10-13 Thread Anoob Joseph
Hi Arek, Minor suggestion inline. Not a blocker issue. Acked-by: Anoob Joseph > -Original Message- > From: Arek Kusztal > Sent: Thursday, October 10, 2019 4:33 PM > To: dev@dpdk.org > Cc: akhil.go...@nxp.com; fiona.tr...@intel.com; Anoob Joseph > ; Shally Ve

Re: [dpdk-dev] [PATCH v2 01/12] crypto/octeontx2: add PMD skeleton

2019-10-15 Thread Anoob Joseph
Hi Akhil, Will fix the issue. Please do let me know if there are more comments. I can send v3 once you confirm. Thanks, Anoob > -Original Message- > From: Akhil Goyal > Sent: Tuesday, October 15, 2019 1:26 PM > To: Anoob Joseph ; Pablo de Lara > > Cc: Fiona T

Re: [dpdk-dev] [PATCH v2 0/3] examples/ipsec-secgw: set default

2019-10-15 Thread Anoob Joseph
at to lib ipsec mode until lib ipsec is made stable. Thanks, Anoob > -Original Message- > From: Akhil Goyal > Sent: Friday, October 11, 2019 6:10 PM > To: Bernard Iremonger ; dev@dpdk.org; > konstantin.anan...@intel.com; Anoob Joseph ; > Jerin Jacob Kollanukkaran ; &#

Re: [dpdk-dev] [PATCH v2 0/5] add asym support in crypto_octeontx PMD

2019-10-15 Thread Anoob Joseph
Goyal > Sent: Tuesday, October 15, 2019 6:17 PM > To: Anoob Joseph ; Pablo de Lara > > Cc: Jerin Jacob Kollanukkaran ; Narayana Prasad Raju > Athreya ; Kanaka Durga Kotamarthy > ; Sunila Sahu ; Shally > Verma ; Fiona Trahe ; > dev@dpdk.org > Subject: [EXT] RE: [

Re: [dpdk-dev] [PATCH v2 07/12] crypto/octeontx2: add enqueue/dequeue ops

2019-10-16 Thread Anoob Joseph
internally. Thanks, Anoob > -Original Message- > From: Gavin Hu (Arm Technology China) > Sent: Tuesday, October 15, 2019 4:50 PM > To: Anoob Joseph ; akhil.go...@nxp.com; Pablo de > Lara > Cc: Fiona Trahe ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Raju Athreya >

Re: [dpdk-dev] [PATCH v2 00/12] add OCTEON TX2 crypto PMD

2019-10-16 Thread Anoob Joseph
Hi Akhil, I'll rebase the series and send in a short while. Thanks, Anoob > -Original Message- > From: Akhil Goyal > Sent: Wednesday, October 16, 2019 7:02 PM > To: Anoob Joseph ; Pablo de Lara > > Cc: Fiona Trahe ; Jerin Jacob Kollanukkaran > ; Narayana Pras

[dpdk-dev] [PATCH v3 00/11] add OCTEON TX2 crypto PMD

2019-10-16 Thread Anoob Joseph
s crypto/octeontx2: add session related functions Anoob Joseph (5): crypto/octeontx2: add PMD skeleton crypto/octeontx2: add device init sequence in probe crypto/octeontx2: add symmetric capabilities crypto/octeontx2: add enqueue/dequeue ops test: add OCTEON TX2 tests Kanaka Durga Kot

[dpdk-dev] [PATCH v3 01/11] crypto/octeontx2: add PMD skeleton

2019-10-16 Thread Anoob Joseph
Adding OCTEON TX2 crypto PMD skeleton. Enabling the driver by default in common_base. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- MAINTAINERS| 7 ++ config/common_base

[dpdk-dev] [PATCH v3 02/11] crypto/octeontx2: add device init sequence in probe

2019-10-16 Thread Anoob Joseph
This patch adds the device init sequence for OCTEON TX2 crypto device. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/octeontx2/Makefile | 10 +++ drivers/crypto/octeontx2/meson.build | 2 ++ drivers

[dpdk-dev] [PATCH v3 03/11] crypto/octeontx2: add device control ops

2019-10-16 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the device control functions. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/octeontx2/Makefile | 1 + drivers/crypto/octeontx2/meson.build | 1 + drivers

[dpdk-dev] [PATCH v3 07/11] crypto/octeontx2: add enqueue/dequeue ops

2019-10-16 Thread Anoob Joseph
This patch adds the enqueue burst and dequeue burst callbacks for the OCTEON TX2 crypto driver. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/common/cpt/cpt_hw_types.h | 52 drivers/crypto/octeontx2/Makefile

[dpdk-dev] [PATCH v3 04/11] crypto/octeontx2: add queue pair functions

2019-10-16 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the queue pair setup and queue pair release functions for OCTEON TX2 crypto pmd. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- .../crypto/octeontx2/otx2_cryptodev_hw_access.c| 99 +++ .../crypto

[dpdk-dev] [PATCH v3 05/11] crypto/octeontx2: add symmetric capabilities

2019-10-16 Thread Anoob Joseph
This patch adds the symmetric capabilities for OCTEON TX2 crypto PMD. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/features/octeontx2.ini | 59 ++ doc/guides/cryptodevs/octeontx2.rst| 41 ++ drivers

[dpdk-dev] [PATCH v3 06/11] crypto/octeontx2: add session related functions

2019-10-16 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the symmetric session related callbacks. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/common/cpt/cpt_mcode_defines.h| 2 + drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 117

[dpdk-dev] [PATCH v3 09/11] crypto/octeontx2: add asymmetric session operations

2019-10-16 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy This patch adds asymmetric session setup and free routines. RSA and modexp operations are supported. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- doc/guides/cryptodevs/features/octeontx2.ini | 4

[dpdk-dev] [PATCH v3 08/11] test: add OCTEON TX2 tests

2019-10-16 Thread Anoob Joseph
This patch adds the OCTEON TX2 crypto validation tests. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- app/test/meson.build| 1 + app/test/test_cryptodev.c | 323 app/test

[dpdk-dev] [PATCH v3 10/11] crypto/octeontx2: add asymmetric in enqueue/dequeue ops

2019-10-16 Thread Anoob Joseph
From: Sunila Sahu This patch adds asymmetric support in enqueue/dequeue ops. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 177 ++ drivers/crypto/octeontx2

[dpdk-dev] [PATCH v3 11/11] app/test: register octeontx2 PMD to asym testsuite

2019-10-16 Thread Anoob Joseph
From: Sunila Sahu This patch updates asymmetric crypto unit-test application to validate asymmetric crypto operation supported by octeontx2 PMD. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- app/test/test_cryptodev_asym.c | 20

[dpdk-dev] [PATCH] crypto/octeontx: use distinct metabuf pool for each queue

2019-04-17 Thread Anoob Joseph
The metabuf pool is shared across all queue pairs belonging to the PMD. In order to prevent one queue pair from starving another, use a distinct mempool for each queue pair. Fixes: 273487f7b381 ("crypto/octeontx: add global resource init") Signed-off-by: Anoob Joseph --- drivers/

Re: [dpdk-dev] [PATCH v1] lib/crypto: fix alphabetical ordering of headers

2019-04-17 Thread Anoob Joseph
Hi Ayuj, Akhil, Fiona, Shally, I think there are couple of issues with this patch. The real issue here is the dependency of rte_crypto_asym.h on rte_crypto_sym.h. If rte_crypto_asym.h doesn't include all the headers it uses, every file which includes rte_crypto_asym.h will have to include rte_c

[dpdk-dev] [PATCH v2] crypto/octeontx: use distinct metabuf pool for each queue

2019-04-17 Thread Anoob Joseph
The metabuf pool is shared across all queue pairs belonging to the PMD. In order to prevent one queue pair from starving another, use a distinct mempool for each queue pair. Fixes: 273487f7b381 ("crypto/octeontx: add global resource init") Signed-off-by: Anoob Joseph --- v2: * M

Re: [dpdk-dev] [PATCH v1] lib/crypto: fix alphabetical ordering of headers

2019-04-22 Thread Anoob Joseph
Hi Shally, Please see inline. Thanks, Anoob > -Original Message- > From: Shally Verma > Sent: Monday, April 22, 2019 6:23 PM > To: Anoob Joseph ; Ayuj Verma > ; akhil.go...@nxp.com; > arkadiuszx.kusz...@intel.com; fiona.tr...@intel.com > Cc: Sunila Sahu ; Ka

Re: [dpdk-dev] [EXT] [PATCH v2] crypto/octeontx: use distinct metabuf pool for each queue

2019-04-30 Thread Anoob Joseph
Hi Akhil, This is a fix and I would like this to be part of 19.05 release. Hope you can apply this before RC4. Thanks, Anoob > -Original Message- > From: Akhil Goyal > Sent: Tuesday, April 30, 2019 12:33 PM > To: Anoob Joseph ; Pablo de Lara > > Cc: Jerin J

Re: [dpdk-dev] [EXT] [PATCH v2] crypto/octeontx: use distinct metabuf pool for each queue

2019-04-30 Thread Anoob Joseph
Hi Akhil, > One more thing, is this patch applicable for backport to stable release? Yes. Thanks, Anoob > -Original Message- > From: Akhil Goyal > Sent: Tuesday, April 30, 2019 7:21 PM > To: Anoob Joseph ; Pablo de Lara > > Cc: Jerin Jacob Kollanukkaran ;

Re: [dpdk-dev] [PATCH v2] cryptodev: add an option to support both iv and J0 for GCM

2019-05-04 Thread Anoob Joseph
an option to support both iv and > J0 for GCM > > This patch adds an option to support both IV (of all supported sizes) and J0 > when > using Galois Counter Mode of crypto operation. > > Signed-off-by: Arek Kusztal Acked-by: Anoob Joseph

Re: [dpdk-dev] [EXT] Re: [PATCH] crypto/octeontx: use distinct metabuf pool for each queue

2019-05-08 Thread Anoob Joseph
Hi Kevin, This patch need not be backported. You can ignore this. Thanks, Anoob > -Original Message- > From: Kevin Traynor > Sent: Wednesday, May 8, 2019 4:47 PM > To: Anoob Joseph ; Akhil Goyal ; > Pablo de Lara > Cc: Jerin Jacob Kollanukkaran ; Narayana Pra

Re: [dpdk-dev] [PATCH] doc: add cryptodev gcm iv deprecation notice

2019-05-09 Thread Anoob Joseph
todev gcm iv deprecation notice > > This patch adds deprecation notice of changing iv behaviour when using > Galois Counter Mode of operation. Right now IV of all supported sizes can be > used. > > Signed-off-by: Arek Kusztal Acked-by: Anoob Joseph

[dpdk-dev] [PATCH] app/test-crypto-perf: fix csv format

2019-05-28 Thread Anoob Joseph
to %.3f. This will print the number as a floating point with a precision of 3 fractional digits. Fixes: 96dfeb609be1 ("app/crypto-perf: add new PMD benchmarking mode") Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph --- app/test-crypto-perf/cperf_test_pmd_cyclecount.c | 2

[dpdk-dev] [PATCH] crypto/octeontx: sync mbox changes done in kernel drv

2019-05-29 Thread Anoob Joseph
From: Lukasz Bartosik Synchronize mbox with latest changes in kernel driver Change-Id: I2123bf5a0784eab2604cc2c82eead0af16e745ff Signed-off-by: Lukasz Bartosik Signed-off-by: Anoob Joseph --- drivers/crypto/octeontx/otx_cryptodev_mbox.c | 3 +++ drivers/crypto/octeontx/otx_cryptodev_mbox.h

[dpdk-dev] [PATCH v2] crypto/octeontx: sync mbox changes done in kernel driver

2019-05-29 Thread Anoob Joseph
From: Lukasz Bartosik Synchronize mbox with latest changes in kernel driver Signed-off-by: Lukasz Bartosik Signed-off-by: Anoob Joseph --- drivers/crypto/octeontx/otx_cryptodev_mbox.c | 3 +++ drivers/crypto/octeontx/otx_cryptodev_mbox.h | 12 +--- 2 files changed, 8 insertions

[dpdk-dev] [PATCH] cryptodev: add ff_disable field in cryptodev config

2019-06-03 Thread Anoob Joseph
Adding a new field, ff_disable, to allow applications to control the features enabled on the crypto device. This would allow for efficient usage of HW/SW offloads by disabling the features not required by the application. Signed-off-by: Anoob Joseph --- doc/guides/rel_notes/deprecation.rst

[dpdk-dev] [PATCH 05/39] examples/l2fwd-event: move dataplane code to new file

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/Makefile | 1 + examples/l2fwd-event/l2fwd_worker.c | 231 examples/l2fwd-event/l2fwd_worker.h | 10 ++ examples/l2fwd-event/main.c | 189

[dpdk-dev] [PATCH 03/39] examples/l2fwd-event: move structures to common header

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_common.h | 12 examples/l2fwd-event/main.c | 10 -- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/examples/l2fwd-event/l2fwd_common.h b/examples/l2fwd-event

[dpdk-dev] [PATCH 04/39] examples/l2fwd-event: move global vars to common header

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_common.h | 26 +++ examples/l2fwd-event/main.c | 41 +++-- 2 files changed, 43 insertions(+), 24 deletions(-) diff --git a/examples/l2fwd-event

[dpdk-dev] [PATCH 07/39] examples/l2fwd-event: move drain buffers to new function

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_worker.c | 34 -- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/examples/l2fwd-event/l2fwd_worker.c b/examples/l2fwd-event/l2fwd_worker.c index 942b191

[dpdk-dev] [PATCH 06/39] examples/l2fwd-event: remove unused header includes

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_worker.c | 12 1 file changed, 12 deletions(-) diff --git a/examples/l2fwd-event/l2fwd_worker.c b/examples/l2fwd-event/l2fwd_worker.c index 167fe39..942b191 100644 --- a/examples/l2fwd-event

[dpdk-dev] [PATCH 08/39] examples/l2fwd-event: optimize check for master core

2019-06-03 Thread Anoob Joseph
Replacing the check for lcore_id & mastercore_id with the check for a flag. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_worker.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/l2fwd-event/l2fwd_worker.

[dpdk-dev] [PATCH 10/39] examples/l2fwd-event: do timer updates only on master

2019-06-03 Thread Anoob Joseph
The timer updates and checks are required only for stats printing by the master core. This can be entirely skipped for other cores. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_worker.c | 21 + 1 file changed, 13 insertions(+), 8

[dpdk-dev] [PATCH 09/39] examples/l2fwd-event: move periodic tasks to new func

2019-06-03 Thread Anoob Joseph
Move the periodic operations (stats flush and drain buffers) to a new function. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_worker.c | 83 - examples/l2fwd-event/l2fwd_worker.h | 6 +++ 2 files changed, 52

[dpdk-dev] [PATCH 12/39] examples/l2fwd-event: use fprintf in usage print

2019-06-03 Thread Anoob Joseph
Following the convention of l3fwd, using fprintf instead of printf for printing usage. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/l2fwd-event/main.c b/examples/l2fwd

[dpdk-dev] [PATCH 14/39] eventdev: add files for eventmode helper

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/Makefile| 5 +++-- lib/librte_eventdev/meson.build | 2 ++ lib/librte_eventdev/rte_eventmode_helper.c | 7 +++ lib/librte_eventdev

[dpdk-dev] [PATCH 11/39] examples/l2fwd-event: move pkt send code to a new func

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_worker.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/examples/l2fwd-event/l2fwd_worker.c b/examples/l2fwd-event/l2fwd_worker.c index 58fd5b8..1a7ee2b 100644

[dpdk-dev] [PATCH 16/39] eventdev: add eventmode CL options framework

2019-06-03 Thread Anoob Joseph
Adding usage prints and CL parsing routines for eventmode. Option to select packet transfer mode is also added. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventdev_version.map | 2 + lib/librte_eventdev/rte_eventmode_helper.c | 128

[dpdk-dev] [PATCH 13/39] examples/l2fwd-event: improvements to the usage print

2019-06-03 Thread Anoob Joseph
Fixed alignment and split the usage print to aid easy addition of eventmode usage prints. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/main.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/examples/l2fwd-event

[dpdk-dev] [PATCH 15/39] eventdev: add routines for logging eventmode helper

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- config/common_base | 1 + lib/librte_eal/common/eal_common_log.c | 1 + lib/librte_eal/common/include/rte_log.h| 1 + .../rte_eventmode_helper_internal.h| 29

[dpdk-dev] [PATCH 17/39] eventdev: allow application to set ethernet portmask

2019-06-03 Thread Anoob Joseph
Application would be required to restrict helper functions to use only certain ports. The field eth_portmask field in the conf could be used for this. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_helper.c | 3 +++ lib/librte_eventdev

[dpdk-dev] [PATCH 19/39] eventdev: add common initialize routine for eventmode devs

2019-06-03 Thread Anoob Joseph
Adding framework for common initialization routine for event mode. Event mode would involve initialization of multiple devices, like eventdev, ethdev etc and this routine would be the placeholder for all initialization to come in. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik

[dpdk-dev] [PATCH 20/39] eventdev: add eventdevice init for eventmode

2019-06-03 Thread Anoob Joseph
Adding routines to initialize event devs. The internal conf structure would be used to track device configuration. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_helper.c | 131 + .../rte_eventmode_helper_internal.h

[dpdk-dev] [PATCH 18/39] eventdev: add framework for eventmode conf

2019-06-03 Thread Anoob Joseph
Adding eventmode conf which would have all required configuration for the event mode. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_helper.c | 16 lib/librte_eventdev/rte_eventmode_helper_internal.h | 5 + 2

[dpdk-dev] [PATCH 21/39] eventdev: add eventdev port-lcore link

2019-06-03 Thread Anoob Joseph
Adding eventdev port-lcore link. In addition, this will also specify which event queue need to be connected to the event port. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_helper.c | 22 ++ lib/librte_eventdev

[dpdk-dev] [PATCH 25/39] eventdev: add routine to validate conf

2019-06-03 Thread Anoob Joseph
Adding routine to validate event mode conf. This function will verify the conf requested by the user and would populate other fields with default values. Presently, the function acts as placeholder for the above mentioned actions. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik

[dpdk-dev] [PATCH 22/39] eventdev: add option to specify schedule mode for app stage

2019-06-03 Thread Anoob Joseph
Scheduling mode for each event queue is dependent on the same of app stage. Configure event queue taking this also into account. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_helper.c | 24

[dpdk-dev] [PATCH 23/39] eventdev: add placeholder for ethdev init

2019-06-03 Thread Anoob Joseph
Presently, all the applications would do ethdev init and then pass control to eventmode helper init. So not doing any "real" initialization. But this would be expanded once applications are modified to pass the eth init task also to the helper routine. Signed-off-by: Anoob Joseph Sig

[dpdk-dev] [PATCH 24/39] eventdev: add Rx adapter init in eventmode

2019-06-03 Thread Anoob Joseph
Adding rx adapter conf. The helper init routine would be initializing the rx adapter according to the conf. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_helper.c | 123 + .../rte_eventmode_helper_internal.h

[dpdk-dev] [PATCH 28/39] eventdev: add default conf for event port-lcore link

2019-06-03 Thread Anoob Joseph
with every port. This enables one core to receive packets from every port. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_helper.c | 109 - .../rte_eventmode_helper_internal.h| 5 + 2 files changed

[dpdk-dev] [PATCH 29/39] eventdev: add routines to display the eventmode conf

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/Makefile | 1 + lib/librte_eventdev/meson.build | 1 + lib/librte_eventdev/rte_eventdev_version.map | 1 + lib/librte_eventdev/rte_eventmode_helper.c| 3

[dpdk-dev] [PATCH 27/39] eventdev: add default conf for Rx adapter conf

2019-06-03 Thread Anoob Joseph
. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_helper.c | 127 + .../rte_eventmode_helper_internal.h| 4 + 2 files changed, 131 insertions(+) diff --git a/lib/librte_eventdev/rte_eventmode_helper.c

[dpdk-dev] [PATCH 30/39] eventdev: add routine to access eventmode link info

2019-06-03 Thread Anoob Joseph
application. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventdev_version.map | 1 + lib/librte_eventdev/rte_eventmode_helper.c | 80 lib/librte_eventdev/rte_eventmode_helper.h | 24 + 3 files changed, 105 insertions

[dpdk-dev] [PATCH 26/39] eventdev: add default conf for event devs field in conf

2019-06-03 Thread Anoob Joseph
Generate a default conf for event devs, if it's not specified in the conf. This routine will check the available event devices and it's properties and sets the conf accordingly. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_hel

[dpdk-dev] [PATCH 31/39] eventdev: add routine to access event queue for eth Tx

2019-06-03 Thread Anoob Joseph
TOMIC before sending it, to ensure ingress ordering is maintained. Since, it is application who would do the tx, this info is required in it's space. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventdev_version.map | 1 + lib/librt

[dpdk-dev] [PATCH 33/39] eventdev: add Tx adapter support

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_helper.c | 349 - lib/librte_eventdev/rte_eventmode_helper.h | 24 ++ .../rte_eventmode_helper_internal.h| 30 ++ lib/librte_eventdev

[dpdk-dev] [PATCH 34/39] eventdev: add support for internal ports

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_helper.c | 213 + lib/librte_eventdev/rte_eventmode_helper.h | 4 + .../rte_eventmode_helper_internal.h| 1 + lib/librte_eventdev

[dpdk-dev] [PATCH 35/39] eventdev: display Tx adapter conf

2019-06-03 Thread Anoob Joseph
Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- lib/librte_eventdev/rte_eventmode_helper_prints.c | 46 ++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/lib/librte_eventdev/rte_eventmode_helper_prints.c b/lib/librte_eventdev

[dpdk-dev] [PATCH 37/39] examples/l2fwd-event: add eventmode worker

2019-06-03 Thread Anoob Joseph
Adding non-burst Tx internal-port eventmode worker. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_worker.c | 164 +++- 1 file changed, 163 insertions(+), 1 deletion(-) diff --git a/examples/l2fwd-event/l2fwd_worker.c

[dpdk-dev] [PATCH 32/39] eventdev: add routine to launch eventmode workers

2019-06-03 Thread Anoob Joseph
With eventmode, workers could be drafted differently according to the capabilities of the underlying event device. The added function would receive an array of such workers and probes the eventmode properties to choose the worker. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik

[dpdk-dev] [PATCH 38/39] examples/l2fwd-event: add eventmode worker

2019-06-03 Thread Anoob Joseph
Adding burst no Tx internal-port eventmode worker Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_worker.c | 219 +++- 1 file changed, 218 insertions(+), 1 deletion(-) diff --git a/examples/l2fwd-event/l2fwd_worker.c b

[dpdk-dev] [PATCH 36/39] examples/l2fwd-event: add eventmode for l2fwd

2019-06-03 Thread Anoob Joseph
Adding eventmode support in l2fwd. This uses rte_eventmode_helper APIs to setup and use the eventmode capabilties. Adding non-burst no Tx internal-port eventmode worker. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/Makefile | 1 + examples/l2fwd

[dpdk-dev] [PATCH 39/39] examples/l2fwd-event: add eventmode worker

2019-06-03 Thread Anoob Joseph
Adding burst Tx internal port eventmode worker. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_worker.c | 200 +++- 1 file changed, 199 insertions(+), 1 deletion(-) diff --git a/examples/l2fwd-event/l2fwd_worker.c b

[dpdk-dev] [PATCH 00/39] adding eventmode helper library

2019-06-03 Thread Anoob Joseph
has to be extended to support more features. 3. Documentation is pending. Created new app based on discussions, http://patchwork.dpdk.org/cover/40884/ https://patches.dpdk.org/patch/40901/ Tested with nicvf eth PMD and event_octeontx event PMD on Marvell's CN83XX platform. Anoob Joseph (3

[dpdk-dev] [PATCH 02/39] examples/l2fwd-event: move macros to common header

2019-06-03 Thread Anoob Joseph
Moving macros to common header. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_common.h | 25 + examples/l2fwd-event/main.c | 16 ++-- 2 files changed, 27 insertions(+), 14 deletions(-) create mode 100644

[dpdk-dev] [PATCH 01/39] examples/l2fwd-event: create copy of l2fwd

2019-06-03 Thread Anoob Joseph
Creating a copy of l2fwd for event additions. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/Makefile| 1 + examples/l2fwd-event/Makefile| 55 +++ examples/l2fwd-event/main.c | 752 +++ examples/l2fwd

[dpdk-dev] [PATCH 03/39] examples/l2fwd-event: move structures to common header

2019-06-03 Thread Anoob Joseph
Moving structures to common header. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_common.h | 12 examples/l2fwd-event/main.c | 10 -- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/examples/l2fwd-event

[dpdk-dev] [PATCH 05/39] examples/l2fwd-event: move dataplane code to new file

2019-06-03 Thread Anoob Joseph
Splitting control path and data path code to two different files. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/Makefile | 1 + examples/l2fwd-event/l2fwd_worker.c | 231 examples/l2fwd-event/l2fwd_worker.h

[dpdk-dev] [PATCH 04/39] examples/l2fwd-event: move global vars to common header

2019-06-03 Thread Anoob Joseph
Moving global variables to common header for access from control plane and data plane code. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_common.h | 26 +++ examples/l2fwd-event/main.c | 41

[dpdk-dev] [PATCH 06/39] examples/l2fwd-event: remove unused header includes

2019-06-03 Thread Anoob Joseph
Retain only the required headers. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_worker.c | 12 1 file changed, 12 deletions(-) diff --git a/examples/l2fwd-event/l2fwd_worker.c b/examples/l2fwd-event/l2fwd_worker.c index 167fe39

[dpdk-dev] [PATCH 07/39] examples/l2fwd-event: move drain buffers to new function

2019-06-03 Thread Anoob Joseph
Modularizing code to aid in smooth integration of eventmode. Signed-off-by: Anoob Joseph Signed-off-by: Lukasz Bartosik --- examples/l2fwd-event/l2fwd_worker.c | 34 -- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/examples/l2fwd-event

<    13   14   15   16   17   18   19   20   >