RE: [EXT] [PATCH v5 1/5] examples/l3fwd: fix port group mask generation

2022-10-17 Thread Shijith Thotton
> >Fix port group mask generation in altivec, vec_any_eq returns >0 or 1 while port_groupx4 expects comparison mask result. > >Fixes: 2193b7467f7a ("examples/l3fwd: optimize packet processing on powerpc") >Cc: sta...@dpdk.org > >Signed-off-by: Pavan Nik

RE: [EXT] [PATCH v5 2/5] examples/l3fwd: split processing and send stages

2022-10-17 Thread Shijith Thotton
> >Split packet processing from packet send stage, as send stage >is not common for poll and event mode. > >Signed-off-by: Pavan Nikhilesh Acked-by: Shijith Thotton >--- > examples/l3fwd/l3fwd_em_hlm.h | 39 +++--- > examples/l3fwd/

RE: [EXT] [PATCH v5 3/5] examples/l3fwd: use lpm vector path for event vector

2022-10-17 Thread Shijith Thotton
> >Use lpm vector path to process event vector. > >Signed-off-by: Pavan Nikhilesh Acked-by: Shijith Thotton >--- > examples/l3fwd/l3fwd_altivec.h | 29 ++ > examples/l3fwd/l3fwd_event.h | 71 >++ > examples

RE: [EXT] [PATCH v5 4/5] examples/l3fwd: fix event vector processing in fib

2022-10-17 Thread Shijith Thotton
> >Fix stack overflow when event vector size is greater than >MAX_BURST_SIZE. >Add missing mac swap and rfc1812 stage. > >Fixes: e8adca1951d4 ("examples/l3fwd: support event vector") > >Signed-off-by: Pavan Nikhilesh Acked-by: Shijith Thotton >-

RE: [EXT] [PATCH] app/testeventdev: add vector worker to perf test

2023-01-17 Thread Shijith Thotton
wlcores 1 --plcores 2 --prod_enq_burst_sz 32 \ >--enable_vector --vector_tmo_ns 0 --nb_flows 2 > >Signed-off-by: Volodymyr Fialko Acked-by: Shijith Thotton >--- > app/test-eventdev/test_perf_atq.c| 62 ++-- > app/test-eventdev/test_perf_common.c | 68 +++---

RE: [EXT] [PATCH] app/testeventdev: add crypto producer burst mode

2023-01-17 Thread Shijith Thotton
--prod_type_cryptodev --crypto_adptr_mode 1 --test=perf_atq \ >--stlist=a --wlcores 1 --plcores 2 --prod_enq_burst_sz 32 > >Signed-off-by: Volodymyr Fialko Acked-by: Shijith Thotton >--- > app/test-eventdev/test_perf_common.c | 235 >++- > doc/guides

[dpdk-dev] [PATCH v1 0/2] event/octeontx2: fixes for crypto adapter

2021-04-15 Thread Shijith Thotton
Fixes for OCTEON TX2 crypto adapter implementation. Shijith Thotton (2): event/octeontx2: fix crypto adapter queue pair ops event/octeontx2: configure crypto adapter xaq pool drivers/crypto/octeontx2/otx2_cryptodev_qp.h | 4 +- drivers/event/octeontx2/otx2_evdev_adptr.c| 2

[dpdk-dev] [PATCH v1 1/2] event/octeontx2: fix crypto adapter queue pair ops

2021-04-15 Thread Shijith Thotton
event/octeontx2: add crypto adapter framework") Signed-off-by: Shijith Thotton --- drivers/crypto/octeontx2/otx2_cryptodev_qp.h | 4 +- .../event/octeontx2/otx2_evdev_crypto_adptr.c | 102 -- 2 files changed, 75 insertions(+), 31 deletions(-) diff --git a/drivers/crypto

[dpdk-dev] [PATCH v1 2/2] event/octeontx2: configure crypto adapter xaq pool

2021-04-15 Thread Shijith Thotton
Configure xaq pool based on number of in-use crypto queues to avoid CPT add work failure due to xaq buffer run out. This patch configures OTX2_CPT_DEFAULT_CMD_QLEN number of xae entries per queue pair. Fixes: 29768f78d5a7 ("event/octeontx2: add crypto adapter framework") Signed-off-b

[dpdk-dev] [PATCH v2 0/2] event/octeontx2: fixes for crypto adapter

2021-04-26 Thread Shijith Thotton
Fixes for OCTEON TX2 crypto adapter implementation. v2: - Fixed adapter xae count updation. Shijith Thotton (2): event/octeontx2: fix crypto adapter queue pair ops event/octeontx2: configure crypto adapter xaq pool drivers/crypto/octeontx2/otx2_cryptodev_qp.h | 4 +- drivers/event

[dpdk-dev] [PATCH v2 1/2] event/octeontx2: fix crypto adapter queue pair ops

2021-04-26 Thread Shijith Thotton
event/octeontx2: add crypto adapter framework") Signed-off-by: Shijith Thotton --- drivers/crypto/octeontx2/otx2_cryptodev_qp.h | 4 +- .../event/octeontx2/otx2_evdev_crypto_adptr.c | 102 -- 2 files changed, 75 insertions(+), 31 deletions(-) diff --git a/drivers/crypto

[dpdk-dev] [PATCH v2 2/2] event/octeontx2: configure crypto adapter xaq pool

2021-04-26 Thread Shijith Thotton
Configure xaq pool based on number of in-use crypto queues to avoid CPT add work failure due to xaq buffer run out. This patch configures OTX2_CPT_DEFAULT_CMD_QLEN number of xae entries per queue pair. Fixes: 29768f78d5a7 ("event/octeontx2: add crypto adapter framework") Signed-off-b

[dpdk-dev] [PATCH 0/2] OCTEONTX crypto adapter support

2021-06-22 Thread Shijith Thotton
Below patches add crypto adapter OP_FORWARD support for OCTEON TX PMD. Shijith Thotton (2): drivers: add octeontx crypto adapter framework drivers: add octeontx crypto adapter data path doc/guides/rel_notes/release_21_08.rst| 4 + drivers/common/cpt/cpt_common.h

[dpdk-dev] [PATCH 1/2] drivers: add octeontx crypto adapter framework

2021-06-22 Thread Shijith Thotton
Set crypto adapter event device slow-path call backs. Signed-off-by: Shijith Thotton --- drivers/crypto/octeontx/meson.build | 1 + drivers/crypto/octeontx/otx_cryptodev.c | 4 ++ drivers/crypto/octeontx/otx_cryptodev.h | 4 -- .../crypto/octeontx

[dpdk-dev] [PATCH 2/2] drivers: add octeontx crypto adapter data path

2021-06-22 Thread Shijith Thotton
Added support for crypto adapter OP_FORWARD mode. As OcteonTx CPT crypto completions could be out of order, each crypto op is enqueued to CPT, dequeued from CPT and enqueued to SSO one-by-one. Signed-off-by: Shijith Thotton --- doc/guides/rel_notes/release_21_08.rst| 4 + drivers

[dpdk-dev] [PATCH v2 0/2] OCTEONTX crypto adapter support

2021-06-23 Thread Shijith Thotton
Below patches add crypto adapter OP_FORWARD support for OCTEON TX PMD. v1: - Build fixes for 32-bit arch. Shijith Thotton (2): drivers: add octeontx crypto adapter framework drivers: add octeontx crypto adapter data path doc/guides/rel_notes/release_21_08.rst| 4 + drivers/common

[dpdk-dev] [PATCH v2 1/2] drivers: add octeontx crypto adapter framework

2021-06-23 Thread Shijith Thotton
Set crypto adapter event device slow-path call backs. Signed-off-by: Shijith Thotton --- drivers/crypto/octeontx/meson.build | 1 + drivers/crypto/octeontx/otx_cryptodev.c | 4 ++ drivers/crypto/octeontx/otx_cryptodev.h | 4 -- .../crypto/octeontx

[dpdk-dev] [PATCH v2 2/2] drivers: add octeontx crypto adapter data path

2021-06-23 Thread Shijith Thotton
Added support for crypto adapter OP_FORWARD mode. As OcteonTx CPT crypto completions could be out of order, each crypto op is enqueued to CPT, dequeued from CPT and enqueued to SSO one-by-one. Signed-off-by: Shijith Thotton --- doc/guides/rel_notes/release_21_08.rst| 4 + drivers

[PATCH] mbuf: add mbuf physical address field to dynamic field

2022-06-30 Thread Shijith Thotton
flag RTE_MBUF_F_DYNFIELD2 is introduced to help identify the mbuf that can use dynfield2. Signed-off-by: Shijith Thotton --- lib/mbuf/rte_mbuf.c | 8 lib/mbuf/rte_mbuf.h | 16 +--- lib/mbuf/rte_mbuf_core.h | 29 ++--- lib/mbuf/rte_mbuf_dyn.c

RE: [EXT] Re: [PATCH] mbuf: add mbuf physical address field to dynamic field

2022-07-01 Thread Shijith Thotton
> >On Thu, Jun 30, 2022 at 05:55:21PM +0100, Bruce Richardson wrote: >> On Thu, Jun 30, 2022 at 09:55:16PM +0530, Shijith Thotton wrote: >> > If all devices are configured to run in IOVA mode as VA, physical >> > address field of mbuf (buf_iova) won't be used. In

Re: [PATCH] mbuf: add mbuf physical address field to dynamic field

2022-07-01 Thread Shijith Thotton

Re: [PATCH] mbuf: add mbuf physical address field to dynamic field

2022-07-01 Thread Shijith Thotton
se of that space. >> >> A new mbuf flag RTE_MBUF_F_DYNFIELD2 is introduced to help identify the >> mbuf that can use dynfield2. >> >> Signed-off-by: Shijith Thotton > > This seems like a complex and potentially error prone way to do this. > What is the use

[dpdk-dev] [PATCH v3 0/3] Enhancements to crypto adapter forward mode

2021-04-02 Thread Shijith Thotton
. - Made use of RTE_EVENTDEV_VALID_DEVID_OR_ERR_RET macro. - Fixed v1 build error. v1: - Added crypto adapter forward mode support for octeontx2. Akhil Goyal (1): eventdev: introduce crypto adapter enqueue API Shijith Thotton (2): event/octeontx2: support crypto adapter forward mode test

[dpdk-dev] [PATCH v3 1/3] eventdev: introduce crypto adapter enqueue API

2021-04-02 Thread Shijith Thotton
From: Akhil Goyal In case an event from a previous stage is required to be forwarded to a crypto adapter and PMD supports internal event port in crypto adapter, exposed via capability RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD, we do not have a way to check in the API rte_event_enqueue_bur

[dpdk-dev] [PATCH v3 2/3] event/octeontx2: support crypto adapter forward mode

2021-04-02 Thread Shijith Thotton
Advertise crypto adapter forward mode capability and set crypto adapter enqueue function in driver. Signed-off-by: Shijith Thotton --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 42 ++ drivers/event/octeontx2/otx2_evdev.c | 5 +- .../event/octeontx2

[dpdk-dev] [PATCH v3 3/3] test/event_crypto: use crypto adapter enqueue API

2021-04-02 Thread Shijith Thotton
Use rte_event_crypto_adapter_enqueue() API to enqueue events to crypto adapter if forward mode is supported in driver. Signed-off-by: Shijith Thotton --- app/test/test_event_crypto_adapter.c | 29 +++- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/app

[dpdk-dev] [PATCH v4 0/3] Enhancements to crypto adapter forward mode

2021-04-02 Thread Shijith Thotton
changes. v2: - Updated release notes. - Made use of RTE_EVENTDEV_VALID_DEVID_OR_ERR_RET macro. - Fixed v1 build error. v1: - Added crypto adapter forward mode support for octeontx2. Akhil Goyal (1): eventdev: introduce crypto adapter enqueue API Shijith Thotton (2): event/octeontx2: support crypto

[dpdk-dev] [PATCH v4 1/3] eventdev: introduce crypto adapter enqueue API

2021-04-02 Thread Shijith Thotton
From: Akhil Goyal In case an event from a previous stage is required to be forwarded to a crypto adapter and PMD supports internal event port in crypto adapter, exposed via capability RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD, we do not have a way to check in the API rte_event_enqueue_bur

[dpdk-dev] [PATCH v4 2/3] event/octeontx2: support crypto adapter forward mode

2021-04-02 Thread Shijith Thotton
Advertise crypto adapter forward mode capability and set crypto adapter enqueue function in driver. Signed-off-by: Shijith Thotton --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 42 ++ drivers/event/octeontx2/otx2_evdev.c | 5 +- .../event/octeontx2

[dpdk-dev] [PATCH v4 3/3] test/event_crypto: use crypto adapter enqueue API

2021-04-02 Thread Shijith Thotton
Use rte_event_crypto_adapter_enqueue() API to enqueue events to crypto adapter if forward mode is supported in driver. Signed-off-by: Shijith Thotton --- app/test/test_event_crypto_adapter.c | 29 +++- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/app

Re: [dpdk-dev] [PATCH v4 3/3] test/event_crypto: use crypto adapter enqueue API

2021-04-04 Thread Shijith Thotton
On Sat, Apr 03, 2021 at 11:08:28AM +, Gujjar, Abhinandan S wrote: > > > > -Original Message- > > From: Shijith Thotton > > Sent: Friday, April 2, 2021 10:31 PM > > To: dev@dpdk.org > > Cc: Shijith Thotton ; tho...@monjalon.net; > >

Re: [dpdk-dev] [PATCH v4 2/3] event/octeontx2: support crypto adapter forward mode

2021-04-07 Thread Shijith Thotton
> > hemant.agra...@nxp.com; nipun.gu...@nxp.com; > > sachin.sax...@oss.nxp.com; ma...@nvidia.com; Zhang, Roy Fan > > ; g.si...@nxp.com; Carrillo, Erik G > > ; Jayatheerthan, Jay > > ; Pavan Nikhilesh Bhagavatula > > ; Van Haaren, Harry > > ; Akhil Goyal ; Shij

[dpdk-dev] [PATCH v5 2/3] event/octeontx2: support crypto adapter forward mode

2021-04-08 Thread Shijith Thotton
Advertise crypto adapter forward mode capability and set crypto adapter enqueue function in driver. Signed-off-by: Shijith Thotton --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 42 ++ drivers/event/octeontx2/otx2_evdev.c | 5 +- .../event/octeontx2

[dpdk-dev] [PATCH v5 1/3] eventdev: introduce crypto adapter enqueue API

2021-04-08 Thread Shijith Thotton
From: Akhil Goyal In case an event from a previous stage is required to be forwarded to a crypto adapter and PMD supports internal event port in crypto adapter, exposed via capability RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD, we do not have a way to check in the API rte_event_enqueue_bur

[dpdk-dev] [PATCH v5 3/3] test/event_crypto: use crypto adapter enqueue API

2021-04-08 Thread Shijith Thotton
Use rte_event_crypto_adapter_enqueue() API to enqueue events to crypto adapter if forward mode is supported in driver. Signed-off-by: Shijith Thotton --- app/test/test_event_crypto_adapter.c | 33 ++-- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/app

[dpdk-dev] [PATCH v5 0/3] Enhancements to crypto adapter forward mode

2021-04-08 Thread Shijith Thotton
): eventdev: introduce crypto adapter enqueue API Shijith Thotton (2): event/octeontx2: support crypto adapter forward mode test/event_crypto: use crypto adapter enqueue API app/test/test_event_crypto_adapter.c | 33 +--- .../prog_guide/event_crypto_adapter.rst | 69

[dpdk-dev] [PATCH v1] eventdev: fix case to initiate crypto adapter service

2021-04-09 Thread Shijith Thotton
adapter implementation") Signed-off-by: Shijith Thotton --- lib/librte_eventdev/rte_event_crypto_adapter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eventdev/rte_event_crypto_adapter.c b/lib/librte_eventdev/rte_event_crypto_adapter.c index d903cdd48..e1d38d383 100644 --- a/lib/li

[dpdk-dev] [PATCH v6 3/3] test/event_crypto: use crypto adapter enqueue API

2021-04-09 Thread Shijith Thotton
Use rte_event_crypto_adapter_enqueue() API to enqueue events to crypto adapter if forward mode is supported in driver. Signed-off-by: Shijith Thotton --- app/test/test_event_crypto_adapter.c | 33 ++-- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/app

[dpdk-dev] [PATCH v6 1/3] eventdev: introduce crypto adapter enqueue API

2021-04-09 Thread Shijith Thotton
From: Akhil Goyal In case an event from a previous stage is required to be forwarded to a crypto adapter and PMD supports internal event port in crypto adapter, exposed via capability RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD, we do not have a way to check in the API rte_event_enqueue_bur

[dpdk-dev] [PATCH v6 0/3] Enhancements to crypto adapter forward mode

2021-04-09 Thread Shijith Thotton
. Akhil Goyal (1): eventdev: introduce crypto adapter enqueue API Shijith Thotton (2): event/octeontx2: support crypto adapter forward mode test/event_crypto: use crypto adapter enqueue API app/test/test_event_crypto_adapter.c | 33 +--- .../prog_guide/event_crypto_adapter.rst

[dpdk-dev] [PATCH v6 2/3] event/octeontx2: support crypto adapter forward mode

2021-04-09 Thread Shijith Thotton
Advertise crypto adapter forward mode capability and set crypto adapter enqueue function in driver. Signed-off-by: Shijith Thotton --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 42 ++ drivers/event/octeontx2/otx2_evdev.c | 5 +- .../event/octeontx2

Re: [dpdk-dev] [PATCH v6 3/3] test/event_crypto: use crypto adapter enqueue API

2021-04-12 Thread Shijith Thotton
On Mon, Apr 12, 2021 at 05:10:56AM +, Gujjar, Abhinandan S wrote: > Hi Shijith, > > CI is failing for this patch -> ci/Intel-compilation failapply issues > Whereas CI is not running for other patches. Could you please check? > [snip] Hi Abhinandan, Full CI is run only for the last patc

Re: [dpdk-dev] [PATCH v6 3/3] test/event_crypto: use crypto adapter enqueue API

2021-04-12 Thread Shijith Thotton
On Mon, Apr 12, 2021 at 07:24:21AM +, Gujjar, Abhinandan S wrote: > Hi Shijith, > > > -Original Message- > > From: Shijith Thotton > > Sent: Monday, April 12, 2021 12:33 PM > > To: Gujjar, Abhinandan S > > Cc: Shijith Thotton ; dev@dp

[dpdk-dev] [PATCH v7 0/3] Enhancements to crypto adapter forward mode

2021-04-12 Thread Shijith Thotton
for octeontx2. Akhil Goyal (1): eventdev: introduce crypto adapter enqueue API Shijith Thotton (2): event/octeontx2: support crypto adapter forward mode test/event_crypto: use crypto adapter enqueue API app/test/test_event_crypto_adapter.c | 33 +--- .../prog_guide

[dpdk-dev] [PATCH v7 1/3] eventdev: introduce crypto adapter enqueue API

2021-04-12 Thread Shijith Thotton
From: Akhil Goyal In case an event from a previous stage is required to be forwarded to a crypto adapter and PMD supports internal event port in crypto adapter, exposed via capability RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD, we do not have a way to check in the API rte_event_enqueue_bur

[dpdk-dev] [PATCH v7 2/3] event/octeontx2: support crypto adapter forward mode

2021-04-12 Thread Shijith Thotton
Advertise crypto adapter forward mode capability and set crypto adapter enqueue function in driver. Signed-off-by: Shijith Thotton --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 42 ++ drivers/event/octeontx2/otx2_evdev.c | 5 +- .../event/octeontx2

[dpdk-dev] [PATCH v7 3/3] test/event_crypto: use crypto adapter enqueue API

2021-04-12 Thread Shijith Thotton
Use rte_event_crypto_adapter_enqueue() API to enqueue events to crypto adapter if forward mode is supported in driver. Signed-off-by: Shijith Thotton --- app/test/test_event_crypto_adapter.c | 33 ++-- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/app

[dpdk-dev] [PATCH v2] eventdev: fix case to initiate crypto adapter service

2021-04-12 Thread Shijith Thotton
ned-off-by: Shijith Thotton --- v2: - Reworded commit message. lib/librte_eventdev/rte_event_crypto_adapter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eventdev/rte_event_crypto_adapter.c b/lib/librte_eventdev/rte_event_crypto_adapter.c index d903cdd48..e1d38d383 100644

Re: [dpdk-dev] [PATCH v6 3/3] test/event_crypto: use crypto adapter enqueue API

2021-04-12 Thread Shijith Thotton
On Mon, Apr 12, 2021 at 01:05:45PM +0530, Shijith Thotton wrote: > On Mon, Apr 12, 2021 at 07:24:21AM +, Gujjar, Abhinandan S wrote: > > Hi Shijith, > > > > > -Original Message----- > > > From: Shijith Thotton > > > Sent: Monday, April 12, 20

Re: [dpdk-dev] [PATCH v2] eventdev: fix case to initiate crypto adapter service

2021-04-13 Thread Shijith Thotton
On Tue, Apr 13, 2021 at 04:08:40AM +, Gujjar, Abhinandan S wrote: > > > > -Original Message- > > From: Shijith Thotton > > Sent: Monday, April 12, 2021 2:24 PM > > To: dev@dpdk.org > > Cc: Shijith Thotton ; Gujjar, Abhinandan S > > ; Je

Re: [dpdk-dev] [PATCH v7 2/3] event/octeontx2: support crypto adapter forward mode

2021-04-13 Thread Shijith Thotton
On Tue, Apr 13, 2021 at 03:34:50AM +, Gujjar, Abhinandan S wrote: > > > > -Original Message- > > From: Shijith Thotton > > Sent: Monday, April 12, 2021 1:14 PM > > To: dev@dpdk.org > > Cc: Shijith Thotton ; tho...@monjalon.net; > >

[dpdk-dev] [PATCH v8 0/3] Enhancements to crypto adapter forward mode

2021-04-13 Thread Shijith Thotton
of RTE_EVENTDEV_VALID_DEVID_OR_ERR_RET macro. - Fixed v1 build error. v1: - Added crypto adapter forward mode support for octeontx2. Akhil Goyal (1): eventdev: introduce crypto adapter enqueue API Shijith Thotton (2): event/octeontx2: support crypto adapter forward mode test/event_crypto: use crypto adap

[dpdk-dev] [PATCH v8 1/3] eventdev: introduce crypto adapter enqueue API

2021-04-13 Thread Shijith Thotton
From: Akhil Goyal In case an event from a previous stage is required to be forwarded to a crypto adapter and PMD supports internal event port in crypto adapter, exposed via capability RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD, we do not have a way to check in the API rte_event_enqueue_bur

[dpdk-dev] [PATCH v8 3/3] test/event_crypto: use crypto adapter enqueue API

2021-04-13 Thread Shijith Thotton
Use rte_event_crypto_adapter_enqueue() API to enqueue events to crypto adapter if forward mode is supported in driver. Signed-off-by: Shijith Thotton Acked-by: Abhinandan Gujjar --- app/test/test_event_crypto_adapter.c | 33 ++-- 1 file changed, 21 insertions(+), 12

[dpdk-dev] [PATCH v8 2/3] event/octeontx2: support crypto adapter forward mode

2021-04-13 Thread Shijith Thotton
Advertise crypto adapter forward mode capability and set crypto adapter enqueue function in driver. Signed-off-by: Shijith Thotton Acked-by: Abhinandan Gujjar --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 49 +++ drivers/event/octeontx2/otx2_evdev.c | 5 +- .../event

RE: [PATCH v3] app/eventdev: add crypto producer mode

2022-01-23 Thread Shijith Thotton
nce of crypto adapter. >> >> Example: >> ./dpdk-test-eventdev -l 0-2 -w -w -- \ >> --prod_type_cryptodev --crypto_adptr_mode 1 --test=perf_atq \ >> --stlist=a --wlcores 1 --plcores 2 >> >> Signed-off-by: Shijith Thotton >> --- >> v3:

RE: [PATCH v3] app/eventdev: add crypto producer mode

2022-01-23 Thread Shijith Thotton
e used to measure the performance of crypto adapter. >> >> Example: >> ./dpdk-test-eventdev -l 0-2 -w -w -- \ >> --prod_type_cryptodev --crypto_adptr_mode 1 --test=perf_atq \ >> --stlist=a --wlcores 1 --plcores 2 >> >> Signed-off-by: Shijith Thotton >

[RFC PATCH] app/eventdev: add software crypto adapter support

2022-02-08 Thread Shijith Thotton
Added addition crypto adapter API calls and enabled services to use software implementation of crypto adapter. Signed-off-by: Shijith Thotton --- app/test-eventdev/test_perf_atq.c| 16 +- app/test-eventdev/test_perf_common.c | 48 app/test-eventdev

[PATCH v4] app/eventdev: add crypto producer mode

2022-02-08 Thread Shijith Thotton
--crypto_adptr_mode 1 --test=perf_atq \ --stlist=a --wlcores 1 --plcores 2 Signed-off-by: Shijith Thotton --- v4: * Addressed comments on v3 and rebased. * Added cryptodev cleanup in signal handler. v3: * Reduce dereference inside loop. v2: * Fix RHEL compilation warning. app/test-eventdev/evt_common.h

RE: [PATCH v3] app/eventdev: add crypto producer mode

2022-02-08 Thread Shijith Thotton
; > adapter mode, 0 for OP_NEW and 1 for OP_FORWARD. >> > >> > This mode can be used to measure the performance of crypto adapter. >> > >> > Example: >> > ./dpdk-test-eventdev -l 0-2 -w -w -- \ >> > --prod_type_cryptodev --crypto_ad

[PATCH v3 0/5] Extend and set event queue attributes at runtime

2022-05-15 Thread Shijith Thotton
: use lock when accessing mbox of SSO Shijith Thotton (4): eventdev: support to set queue attributes at runtime eventdev: add weight and affinity to queue attributes test/event: test cases to test runtime queue attribute event/cnxk: support to set runtime queue attributes app/test

[PATCH v3 2/5] eventdev: add weight and affinity to queue attributes

2022-05-15 Thread Shijith Thotton
. Signed-off-by: Shijith Thotton Acked-by: Jerin Jacob --- doc/guides/rel_notes/release_22_07.rst | 7 + lib/eventdev/eventdev_pmd.h| 22 +++ lib/eventdev/rte_eventdev.c| 12 lib/eventdev/rte_eventdev.h| 38 -- 4

[PATCH v3 1/5] eventdev: support to set queue attributes at runtime

2022-05-15 Thread Shijith Thotton
Added a new eventdev API rte_event_queue_attr_set(), to set event queue attributes at runtime from the values set during initialization using rte_event_queue_setup(). PMD's supporting this feature should expose the capability RTE_EVENT_DEV_CAP_RUNTIME_QUEUE_ATTR. Signed-off-by: Shijith Th

[PATCH v3 3/5] test/event: test cases to test runtime queue attribute

2022-05-15 Thread Shijith Thotton
Added test cases to test changing of queue QoS attributes priority, weight and affinity at runtime. Signed-off-by: Shijith Thotton --- app/test/test_eventdev.c | 201 +++ 1 file changed, 201 insertions(+) diff --git a/app/test/test_eventdev.c b/app/test

[PATCH v3 4/5] common/cnxk: use lock when accessing mbox of SSO

2022-05-15 Thread Shijith Thotton
From: Pavan Nikhilesh Since mbox is now accessed from multiple threads, use lock to synchronize access. Signed-off-by: Pavan Nikhilesh Signed-off-by: Shijith Thotton --- drivers/common/cnxk/roc_sso.c | 174 + drivers/common/cnxk/roc_sso_priv.h | 1

[PATCH v3 5/5] event/cnxk: support to set runtime queue attributes

2022-05-15 Thread Shijith Thotton
Added API to set queue attributes at runtime and API to get weight and affinity. Signed-off-by: Shijith Thotton --- doc/guides/eventdevs/features/cnxk.ini | 1 + drivers/event/cnxk/cn10k_eventdev.c| 4 ++ drivers/event/cnxk/cn9k_eventdev.c | 4 ++ drivers/event/cnxk/cnxk_eventdev.c

[PATCH v3] doc: announce change in event queue conf structure

2022-05-15 Thread Shijith Thotton
Structure rte_event_queue_conf will be extended to include fields to support weight and affinity attribute. Once it gets added in DPDK 22.11, eventdev internal op, queue_attr_get can be removed. Signed-off-by: Shijith Thotton --- doc/guides/rel_notes/deprecation.rst | 3 +++ 1 file changed, 3

[PATCH] event/cnxk: flush event queues over multiple pass

2022-05-15 Thread Shijith Thotton
If an event queue flush does not complete after a fixed number of tries, remaining queues are flushed before retrying the one with incomplete flush. Signed-off-by: Shijith Thotton --- drivers/event/cnxk/cn10k_eventdev.c | 10 +- drivers/event/cnxk/cn9k_eventdev.c | 10

RE: [PATCH v3 1/5] eventdev: support to set queue attributes at runtime

2022-05-15 Thread Shijith Thotton
EUE_ATTR. >> >> Signed-off-by: Shijith Thotton >> Acked-by: Jerin Jacob >> --- >> doc/guides/eventdevs/features/default.ini | 1 + >> doc/guides/rel_notes/release_22_07.rst| 5 >> lib/eventdev/eventdev_pmd.h |

RE: [PATCH v3 1/5] eventdev: support to set queue attributes at runtime

2022-05-16 Thread Shijith Thotton
;> capability RTE_EVENT_DEV_CAP_RUNTIME_QUEUE_ATTR. >>>> >>>> Signed-off-by: Shijith Thotton >>>> Acked-by: Jerin Jacob >>>> --- >>>>doc/guides/eventdevs/features/default.ini | 1 + >>>>doc/guides/rel_notes/release_22_0

[PATCH v2] event/cnxk: flush event queues over multiple pass

2022-05-16 Thread Shijith Thotton
If an event queue flush does not complete after a fixed number of tries, remaining queues are flushed before retrying the one with incomplete flush. Signed-off-by: Shijith Thotton --- drivers/event/cnxk/cn10k_eventdev.c | 10 +- drivers/event/cnxk/cn9k_eventdev.c | 10

[PATCH v4 0/5] Extend and set event queue attributes at runtime

2022-05-16 Thread Shijith Thotton
return value in implementation. Pavan Nikhilesh (1): common/cnxk: use lock when accessing mbox of SSO Shijith Thotton (4): eventdev: support to set queue attributes at runtime eventdev: add weight and affinity to queue attributes test/event: test cases to test runtime queue attribute event

[PATCH v4 1/5] eventdev: support to set queue attributes at runtime

2022-05-16 Thread Shijith Thotton
Added a new eventdev API rte_event_queue_attr_set(), to set event queue attributes at runtime from the values set during initialization using rte_event_queue_setup(). PMD's supporting this feature should expose the capability RTE_EVENT_DEV_CAP_RUNTIME_QUEUE_ATTR. Signed-off-by: Shijith Th

[PATCH v4 2/5] eventdev: add weight and affinity to queue attributes

2022-05-16 Thread Shijith Thotton
. Signed-off-by: Shijith Thotton Acked-by: Jerin Jacob --- doc/guides/rel_notes/release_22_07.rst | 7 + lib/eventdev/eventdev_pmd.h| 22 +++ lib/eventdev/rte_eventdev.c| 12 lib/eventdev/rte_eventdev.h| 38 -- 4

[PATCH v4 3/5] test/event: test cases to test runtime queue attribute

2022-05-16 Thread Shijith Thotton
Added test cases to test changing of queue QoS attributes priority, weight and affinity at runtime. Signed-off-by: Shijith Thotton --- app/test/test_eventdev.c | 201 +++ 1 file changed, 201 insertions(+) diff --git a/app/test/test_eventdev.c b/app/test

[PATCH v4 4/5] common/cnxk: use lock when accessing mbox of SSO

2022-05-16 Thread Shijith Thotton
From: Pavan Nikhilesh Since mbox is now accessed from multiple threads, use lock to synchronize access. Signed-off-by: Pavan Nikhilesh Signed-off-by: Shijith Thotton --- drivers/common/cnxk/roc_sso.c | 174 + drivers/common/cnxk/roc_sso_priv.h | 1

[PATCH v4 5/5] event/cnxk: support to set runtime queue attributes

2022-05-16 Thread Shijith Thotton
Added API to set queue attributes at runtime and API to get weight and affinity. Signed-off-by: Shijith Thotton --- doc/guides/eventdevs/features/cnxk.ini | 1 + drivers/event/cnxk/cn10k_eventdev.c| 4 ++ drivers/event/cnxk/cn9k_eventdev.c | 4 ++ drivers/event/cnxk/cnxk_eventdev.c

[PATCH] drivers: fix cnxk event qos devarg processing

2022-05-20 Thread Shijith Thotton
Fixed qos parameters getting over written and IAQ/TAQ threshold calculation. Fixes: 910da32c53a9 ("event/cnxk: add device start") Cc: sta...@dpdk.org Signed-off-by: Shijith Thotton --- drivers/common/cnxk/roc_sso.c | 4 ++-- drivers/event/cnxk/cnxk_eventdev.c | 8 2 fil

[PATCH] app/test-eventdev: wait for workers before cryptodev destroy

2022-06-02 Thread Shijith Thotton
Destroying cryptodev resources before exiting workers are not safe. Moved cryptodev destroy after worker thread exit in main thread. Fixes: de2bc16e1bd1 ("app/eventdev: add crypto producer mode") Signed-off-by: Shijith Thotton --- app/test-eventdev/evt_main.c | 6 +++--- 1 file

[PATCH] common/cnxk: alloc link map array if HWS is available

2022-06-02 Thread Shijith Thotton
Link map array is required only if work slots are available. Signed-off-by: Shijith Thotton --- drivers/common/cnxk/roc_sso.c | 45 +++ 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/drivers/common/cnxk/roc_sso.c b/drivers/common/cnxk/roc_sso.c

Re: [dpdk-dev] [PATCH] app/test: fix event timer adapter create unit test

2021-10-21 Thread Shijith Thotton
>> >> Removed freeing of unallocated mempool in event timer adapter create unit >> test. >> >> Fixes: d1f3385d0076 ("test: add event timer adapter auto-test") >> >> Signed-off-by: Shijith Thotton >Acked-by: Erik Gabriel Carrillo Thomas, Please merge this patch.

Re: [dpdk-dev] [PATCH v3] eventdev: update crypto adapter metadata structures

2021-09-13 Thread Shijith Thotton
tal structure size is 16 bytes. >> >> Response info can be set like below in test app: >> m_data.response_info = response_info.event; >> >> The main aim of this patch is to decouple response info from request info. >The decoupling was required as it was doing memcpy. >If

[dpdk-dev] [PATCH v2] drivers: add external clock support for cnxk timer

2021-09-15 Thread Shijith Thotton
To configure tim with external clock, requested resolution should be adjusted based on core and external clock frequency for accuracy. tim_ext_clk is the devarg used to pass external clock frequency. E.g. -a 0002:0e:00.0,tim_ext_clk=12288 Signed-off-by: Shijith Thotton Signed-off-by: Pavan

Re: [dpdk-dev] [PATCH v2] examples/l3fwd: add changes to use event vector

2021-09-22 Thread Shijith Thotton
>04/09/2021 09:46, Shijith Thotton: >> +* ``--enable-vector:`` Optional, Enable event vectorization. Only valid if >> -- >mode=eventdev. > >As for the IPsec example, the option name --event-vector >would be more appropriate because "vector" can refer to somet

[dpdk-dev] [PATCH v3] examples/l3fwd: add changes to use event vector

2021-09-26 Thread Shijith Thotton
0x03 --mode=eventdev \ --eventq-sched=ordered --event-vector --event-vector-size 16 Signed-off-by: Shijith Thotton --- v3: * Added the prefix "event" to vector options. v2: * Fixed setting event vector attribute. doc/guides/sample_app_ug/l3_forward.rst| 7 + examples/l3f

[dpdk-dev] [PATCH v2] examples/l2fwd-event: changes to use event vector

2021-09-26 Thread Shijith Thotton
-- -p 0x03 --mode=eventdev \ --eventq-sched=ordered --event-vector --event-vector-size 16 Signed-off-by: Shijith Thotton --- v2: * Added the prefix "event" to vector options. doc/guides/sample_app_ug/l2_forward_event.rst | 13 +- examples/l2fwd-event/l2fwd_common.h

[dpdk-dev] [PATCH v4] doc: remove event crypto metadata deprecation note

2021-09-27 Thread Shijith Thotton
Proposed change to event crypto metadata is not done as per deprecation note. Instead, comments are updated in spec to improve readability. Signed-off-by: Shijith Thotton --- v4: * Removed changes as per deprecation note. * Updated spec comments. v3: * Updated ABI section of release notes. v2

[dpdk-dev] [PATCH] test/event_crypto: fix event crypto metadata write

2021-09-27 Thread Shijith Thotton
Using memcpy to update event crypto metadata fields (request/response) will result in one overwriting the other. To avoid this, fields of each structure should be updated one by one. Fixes: 3c2c535ecfc0 ("test: add event crypto adapter auto-test") Signed-off-by: Shijith Thotton ---

[dpdk-dev] [PATCH v1] net/octeontx/base: fix debug build with clang

2021-07-08 Thread Shijith Thotton
From: David Marchand Remove conflicting declaration of this symbol. Fixes: d0d654986018 ("net/octeontx: support event Rx adapter") Cc: sta...@dpdk.org Signed-off-by: David Marchand --- drivers/net/octeontx/base/octeontx_pkivf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/oc

[dpdk-dev] [PATCH] crypto/octeontx: enable build on non Linux OS

2021-07-22 Thread Shijith Thotton
Enabled build of Octeontx crypto PMD on non linux OS. Other Octeontx PMDs are enabled already. This is to avoid ABI test failure on an OS once we add dependency between a driver which is built to another which is not. Signed-off-by: Shijith Thotton --- drivers/crypto/octeontx/meson.build | 4

[dpdk-dev] [PATCH] eal: add macro to swap two numbers

2021-07-28 Thread Shijith Thotton
Added a macro to swap two numbers and updated common autotest for the same. Signed-off-by: Shijith Thotton --- Needed-for: drivers: add external clock support for cnxk timer app/test/test_common.c | 4 lib/eal/include/rte_common.h | 8 2 files changed, 12 insertions

[dpdk-dev] [PATCH] drivers: add external clock support for cnxk timer

2021-07-28 Thread Shijith Thotton
To configure tim with external clock, requested resolution should be adjusted based on core and external clock frequency for accuracy. tim_ext_clk is the devarg used to pass external clock frequency. E.g. -a 0002:0e:00.0,tim_ext_clk=12288 Signed-off-by: Shijith Thotton Signed-off-by: Pavan

[dpdk-dev] [PATCH] doc: announce change in crypto adapter metadata

2021-08-04 Thread Shijith Thotton
In crypto adapter metadata, first 8 bytes of request info is a space holder for response info. For better clarity, reserved field should be removed from request info. New space for response info can be made by changing type of event crypto metadata to structure from union. Signed-off-by: Shijith

[dpdk-dev] [RFC] eventdev: update crypto adapter metadata structures

2021-08-04 Thread Shijith Thotton
the ordering issue mentioned above. This patch removes the reserve field from request info and makes event crypto metadata type to structure from union to make space for response info. App and drivers are updated as per metadata change. Signed-off-by: Shijith Thotton --- app/test

[dpdk-dev] [PATCH] event/cnxk: reduce max timer chunk pool cache size

2021-08-04 Thread Shijith Thotton
Reduced max chunk pool cache size from RTE_MEMPOOL_CACHE_MAX_SIZE(512) to 128. If chunk pool cache is empty, it gets filled during arm. Filling 512 entries at a time will fail arm if timeout is shorter. Fixes: 0e792433d051 ("event/cnxk: create and free timer adapter") Signed-off-b

[dpdk-dev] [PATCH] event/cnxk: fix SSO and TIM argument parsing

2021-08-06 Thread Shijith Thotton
Type of kvargs value and handler function argument should match to avoid spilling memory. Fixes: 7ffa7379965e ("event/cnxk: add option to configure getwork mode") Signed-off-by: Shijith Thotton --- drivers/event/cnxk/cnxk_eventdev.c | 6 +++--- drivers/event/cnxk/cnxk_tim_evdev.h |

[PATCH] app/eventdev: add crypto producer mode

2021-12-20 Thread Shijith Thotton
--crypto_adptr_mode 1 --test=perf_atq \ --stlist=a --wlcores 1 --plcores 2 Signed-off-by: Shijith Thotton --- app/test-eventdev/evt_common.h | 3 + app/test-eventdev/evt_main.c | 13 +- app/test-eventdev/evt_options.c | 27 ++ app/test-eventdev/evt_options.h | 12 + app/test

[PATCH v2] app/eventdev: add crypto producer mode

2021-12-21 Thread Shijith Thotton
--crypto_adptr_mode 1 --test=perf_atq \ --stlist=a --wlcores 1 --plcores 2 Signed-off-by: Shijith Thotton --- v2: * Fix RHEL compilation warning. app/test-eventdev/evt_common.h | 3 + app/test-eventdev/evt_main.c | 13 +- app/test-eventdev/evt_options.c | 27 ++ app/test-eventdev

[PATCH] event/cnxk: add timer adapter periodic mode support

2021-12-23 Thread Shijith Thotton
Add support for event timer adapter periodic mode capability. Signed-off-by: Shijith Thotton --- Depends-on: series-20928 (event/cnxk: update min interval calculation) drivers/event/cnxk/cnxk_tim_evdev.c | 21 + drivers/event/cnxk/cnxk_tim_evdev.h | 1 + 2 files changed

RE: [PATCH v2] app/eventdev: add crypto producer mode

2022-01-02 Thread Shijith Thotton
tchsets_20534_&d=DwIFAg&c=nKjWec2 >b6R0mOyPaz7xtfQ&r=G9w4KsPaQLACBfGCL35PtiRH996yqJDxAZwrWegU2qQ&m= >dPDgmKiLC_KqhgjwZrodyFlBdlFPgckVr9IW0c7t2cIHpkw6u9pGqgElFqqwuU1v&s=E >ajYUFziZY27q6LB4p5sOGuFlty3VlOjbMsLXaQ5MeI&e= > Performance regression is reported by ni

  1   2   3   4   5   6   >