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
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
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
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
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ;
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: [
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
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
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
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
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 ;
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1701 - 1800 of 1925 matches
Mail list logo