>
>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
>
>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/
>
>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
>
>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
>-
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 +++---
--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
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
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
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
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
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
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
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
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
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
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
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
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
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
>
>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
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
.
- 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
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
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
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
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
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
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
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
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;
> >
> > 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
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
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
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
):
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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;
> >
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
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
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
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
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:
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
>
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
--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
; > 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
: 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
.
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
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
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
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
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
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
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
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 |
;> 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
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
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
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
.
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
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
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
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
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
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
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
>>
>> 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.
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
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
>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
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
-- -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
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
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
---
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
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
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
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
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
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
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
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 |
--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
--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
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
tchsets_20534_&d=DwIFAg&c=nKjWec2
>b6R0mOyPaz7xtfQ&r=G9w4KsPaQLACBfGCL35PtiRH996yqJDxAZwrWegU2qQ&m=
>dPDgmKiLC_KqhgjwZrodyFlBdlFPgckVr9IW0c7t2cIHpkw6u9pGqgElFqqwuU1v&s=E
>ajYUFziZY27q6LB4p5sOGuFlty3VlOjbMsLXaQ5MeI&e=
>
Performance regression is reported by ni
1 - 100 of 531 matches
Mail list logo