From: Pavan Nikhilesh
Add event vector adapter support to CN20K event device.
Signed-off-by: Pavan Nikhilesh
---
v2 Changes:
- Add depends on series tag.
- Fix compilation.
v3 Changes:
- Rebase.
- Fix errors from check-meson.py
v4 Changes:
- Rebase.
v5 Changes:
- Update documentation and
From: Pavan Nikhilesh
Fix missing feature matrix addition for event device DMA and
vector adapters.
Fixes: 66a30a29387a ("eventdev/dma: introduce DMA adapter")
Fixes: e12c3754da7a ("eventdev/vector: introduce event vector adapter")
Signed-off-by: Pavan Nikhilesh
---
.gitignore
From: Pavan Nikhilesh
Add event vector adapter support to CN20K event device.
Signed-off-by: Pavan Nikhilesh
---
v2 Changes:
- Add depends on series tag.
- Fix compilation.
v3 Changes:
- Rebase.
- Fix errors from check-meson.py
v4 Changes:
- Rebase.
drivers/common/cnxk/roc_sso.c
From: Pavan Nikhilesh
Update event vector adapter test to depend on service
core cycles instead of system cycles when waiting for
events.
Reorder event_type check to make sure event received
is a vector before dereferencing vector structure.
Bugzilla ID: 1720
Fixes: de09387f1313 ("eventdev/vecto
From: Pavan Nikhilesh
Add event vector adapter support to CN20K event device.
Signed-off-by: Pavan Nikhilesh
---
v2 Changes:
- Add depends on series tag.
- Fix compilation.
v3 Changes:
- Rebase.
- Fix errors from check-meson.py
drivers/common/cnxk/roc_sso.c | 4 +-
drivers/comm
From: Pavan Nikhilesh
Add event vector adapter support to CN20K event device.
Signed-off-by: Pavan Nikhilesh
---
Depends-on: series-35336 (introduce event vector adapter)
v2 Changes:
- Add depends on series tag.
- Fix compilation.
drivers/common/cnxk/roc_sso.c | 4 +-
drivers/c
From: Pavan Nikhilesh
When event device PMD doesn't support vector adapter,
the library will fallback to software implementation
which relies on service core to check for timeouts
and vectorizes the objects on enqueue.
Signed-off-by: Pavan Nikhilesh
---
app/test/meson.build
From: Pavan Nikhilesh
Add event vector adapter support to CN20K event device.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_sso.c | 4 +-
drivers/common/cnxk/roc_sso.h | 2 +-
drivers/event/cnxk/cn20k_eventdev.c| 4 +
drivers/event/cnxk/cnxk_vector_adpt
From: Pavan Nikhilesh
The event vector adapter supports offloading the creation of event vectors
by vectorizing objects (mbufs/ptrs/u64s).
An event vector adapter has the following working model:
┌──┐
Enqueue│ Vector ├─┐
───►│ adapter 0│ │
└──┘
From: Pavan Nikhilesh
Add performance test for event vector adapter.
Signed-off-by: Pavan Nikhilesh
---
app/test-eventdev/evt_common.h | 9 +-
app/test-eventdev/evt_options.c| 14 ++
app/test-eventdev/evt_options.h| 1 +
app/test-eventdev/test_perf_atq.c | 61
From: Pavan Nikhilesh
The event vector adapter offloads creation of event vectors
i.e., aggregation of 8B objects (mbufs/ptrs/u64s) into a
rte_event_vector from the CPU thereby reducing the overhead
of allocating the vector and maintaining vector state.
Applications can create a vector adapter a
From: Pavan Nikhilesh
Add performance test for event vector adapter.
Signed-off-by: Pavan Nikhilesh
---
app/test-eventdev/evt_common.h | 9 +-
app/test-eventdev/evt_options.c| 14 ++
app/test-eventdev/evt_options.h| 1 +
app/test-eventdev/test_perf_atq.c | 61
From: Pavan Nikhilesh
When event device PMD doesn't support vector adapter,
the library will fallback to software implementation
which relies on service core to check for timeouts
and vectorizes the objects on enqueue.
Signed-off-by: Pavan Nikhilesh
---
app/test/meson.build
From: Pavan Nikhilesh
The event vector adapter supports offloading creation of
event vectors by vectorizing objects (mbufs/ptrs/u64s).
Applications can create a vector adapter associated with
an event queue and enqueue objects to be vectorized.
When the vector reaches the configured size or when
From: Pavan Nikhilesh
The event vector adapter supports offloading the creation of event vectors
by vectorizing objects (mbufs/ptrs/u64s).
An event vector adapter has the following working model:
┌──┐
│ Vector ├─┐
│ adapter0 │ │
└──┘ │
From: Pavan Nikhilesh
Add enqueue dequeue operations tests.
Signed-off-by: Pavan Nikhilesh
---
app/test/test_dmadev.c | 160 +
app/test/test_dmadev_api.c | 76 --
2 files changed, 228 insertions(+), 8 deletions(-)
diff --git a/app/test/
From: Pavan Nikhilesh
Migrate all invocations of rte_event_dma_adapter_op
API to rte_dma_op.
Signed-off-by: Pavan Nikhilesh
Acked-by: Amit Prakash Shukla
---
app/test-eventdev/test_perf_common.c | 6 +-
app/test-eventdev/test_perf_common.h | 4 +-
app/test/test_event_dma_a
From: Pavan Nikhilesh
Implement DMA enqueue/dequeue operations when
application enables it via configuration.
Signed-off-by: Pavan Nikhilesh
---
drivers/dma/cnxk/cnxk_dmadev.c| 78
drivers/dma/cnxk/cnxk_dmadev.h| 7 ++
drivers/dma/cnxk/cnxk_dmadev_fp.c | 189 +++
From: Pavan Nikhilesh
Add enqueue/dequeue operations that use struct rte_dma_op
to communicate with the DMA device.
These operations need to be enabled at DMA device configuration
time by setting the flag rte_dma_conf::enable_enq_deq if the
device supports RTE_DMA_CAPA_OPS_ENQ_DEQ capability.
W
From: Pavan Nikhilesh
This patch adds a option to measure performanc of
enq/deq operations in the benchmark app.
Signed-off-by: Pavan Nikhilesh
---
app/test-dma-perf/benchmark.c | 137 +++---
app/test-dma-perf/config.ini | 3 +
app/test-dma-perf/main.c | 13
From: Pavan Nikhilesh
Introduce DMA enqueue/dequeue operations to the DMA device library.
Add configuration flags to rte_dma_config instead of boolean for
individual features.
The enqueue/dequeue operations allow applications to communicate with the
DMA device using the rte_dma_op structure, pr
From: Pavan Nikhilesh
Update rte_lcore_has_role() to return false instead of a
negative value for invalid lcore IDs, removing the need
for callers to pre-validate the ID.
Fixes: b0a1502a277c ("eal: make semantics of lcore role function more
intuitive")
Cc: sta...@dpdk.org
Suggested-by: Morten
From: Pavan Nikhilesh
Migrate all invocations of rte_event_dma_adapter_op
API to rte_dma_op.
Signed-off-by: Pavan Nikhilesh
Acked-by: Amit Prakash Shukla
---
app/test-eventdev/test_perf_common.c | 6 +-
app/test-eventdev/test_perf_common.h | 4 +-
app/test/test_event_dma_a
From: Pavan Nikhilesh
Implement DMA enqueue/dequeue operations when
application enables it via configuration.
Signed-off-by: Pavan Nikhilesh
---
drivers/dma/cnxk/cnxk_dmadev.c| 78
drivers/dma/cnxk/cnxk_dmadev.h| 7 ++
drivers/dma/cnxk/cnxk_dmadev_fp.c | 189 +++
From: Pavan Nikhilesh
This patch adds a option to measure performanc of
enq/deq operations in the benchmark app.
Signed-off-by: Pavan Nikhilesh
---
app/test-dma-perf/benchmark.c | 137 +++---
app/test-dma-perf/config.ini | 3 +
app/test-dma-perf/main.c | 13
From: Pavan Nikhilesh
Add enqueue dequeue operations tests.
Signed-off-by: Pavan Nikhilesh
---
app/test/test_dmadev.c | 160 +
app/test/test_dmadev_api.c | 76 --
2 files changed, 228 insertions(+), 8 deletions(-)
diff --git a/app/test/
From: Pavan Nikhilesh
Add enqueue/dequeue operations that use struct rte_dma_op
to communicate with the DMA device.
These operations need to be enabled at DMA device configuration
time by setting the flag rte_dma_conf::enable_enq_deq if the
device supports RTE_DMA_CAPA_OPS_ENQ_DEQ capability.
W
From: Pavan Nikhilesh
Introduce DMA enqueue/dequeue operations to the DMA device library.
Add configuration flags to rte_dma_config instead of boolean for
individual features.
The enqueue/dequeue operations allow applications to communicate with the
DMA device using the rte_dma_op structure, pr
From: Pavan Nikhilesh
Replace GCC inbuilt atomic functions with rte_atomic_xxx API.
Signed-off-by: Pavan Nikhilesh
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 68 +--
drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 25 +
drivers/net/cnxk/cn10k_ethdev.c |
From: Pavan Nikhilesh
Deprecate rte_dma_conf structure to allow for a more flexible
configuration of DMA devices.
The new structure will have a flags field instead of multiple
boolean fields for each feature.
Signed-off-by: Pavan Nikhilesh
---
doc/guides/rel_notes/deprecation.rst | 6 ++
1
From: Pavan Nikhilesh
Migrate all invocations of rte_event_dma_adapter_op
API to rte_dma_op.
Signed-off-by: Pavan Nikhilesh
Acked-by: Amit Prakash Shukla
---
app/test-eventdev/test_perf_common.c | 6 +-
app/test-eventdev/test_perf_common.h | 4 +-
app/test/test_event_dma_a
From: Pavan Nikhilesh
Implement DMA enqueue/dequeue operations when
application enables it via configuration.
Signed-off-by: Pavan Nikhilesh
---
drivers/dma/cnxk/cnxk_dmadev.c| 58 ++---
drivers/dma/cnxk/cnxk_dmadev.h| 7 ++
drivers/dma/cnxk/cnxk_dmadev_fp.c | 140 ++
From: Pavan Nikhilesh
Add enqueue/dequeue operations that use struct rte_dma_op
to communicate with the dma device.
These operations need to be enabled at dma device configuration
time by setting the flag rte_dma_conf::enable_enq_deq if the
device supports RTE_DMA_CAPA_OPS_ENQ_DEQ capability.
The
From: Pavan Nikhilesh
Introduce DMA enqueue/dequeue operations to the DMA device library.
Add configuration flags to rte_dma_config instead of boolean for
individual features.
The enqueue/dequeue operations allow applications to communicate with the
DMA device using the rte_dma_op structure, pr
From: Pavan Nikhilesh
The event vector adapter supports offloading the creation of event vectors
by vectorizing objects (mbufs/ptrs/u64s).
An event vector adapter has the following working model:
??? Vector ?
??? adapter0
From: Pavan Nikhilesh
Add additional HW state checks in timer arm routine to ensure
HW-SW synchronization.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cnxk_tim_worker.h | 140 ++-
1 file changed, 73 insertions(+), 67 deletions(-)
diff --git a/drivers/event/cn
From: Pavan Nikhilesh
Add performance test for event vector adapter.
Signed-off-by: Pavan Nikhilesh
---
app/test-eventdev/evt_common.h | 9 +-
app/test-eventdev/evt_options.c| 14 ++
app/test-eventdev/evt_options.h| 1 +
app/test-eventdev/test_perf_atq.c | 61
From: Pavan Nikhilesh
When event device PMD doesn't support vector adapter,
the library will fallback to software implementation
which relies on service core to check for timeouts
and vectorizes the objects on enqueue.
Signed-off-by: Pavan Nikhilesh
---
app/test/meson.build
From: Pavan Nikhilesh
The event vector adapter supports offloading creation of
event vectors by vectorizing objects (mbufs/ptrs/u64s).
Applications can create a vector adapter associated with
an event queue and enqueue objects to be vectorized.
When the vector reaches the configured size or when
From: Pavan Nikhilesh
Since driver/common/cnxk has common code that is
used across multiple platforms, allow use of
GCC builtin atomic functions.
Signed-off-by: Pavan Nikhilesh
---
Rest of drivers i.e., drivers/*/cnxk have been migrated to use stdatomics in:
https://patchwork.dpdk.org/projec
From: Pavan Nikhilesh
Replace GCC inbuilt atomic functions with rte_atomic_xxx API.
Signed-off-by: Pavan Nikhilesh
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 36 ++-
drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 20 +--
drivers/net/cnxk/cn10k_tx.h | 42
From: Pavan Nikhilesh
Implement DMA enqueue/dequeue operations when
application enables it via configuration.
Signed-off-by: Pavan Nikhilesh
---
drivers/dma/cnxk/cnxk_dmadev.c| 25 +-
drivers/dma/cnxk/cnxk_dmadev.h| 7 ++
drivers/dma/cnxk/cnxk_dmadev_fp.c | 140 +
From: Pavan Nikhilesh
Introduce DMA enqueue/dequeue operations to the DMA device library.
The enqueue/dequeue operations allow applications to communicate with the
DMA device using the rte_dma_op structure, providing a more flexible and
efficient way to manage DMA operations.
The programming mo
From: Pavan Nikhilesh
Migrate all invocations of rte_event_dma_adapter_op
API to rte_dma_op.
Signed-off-by: Pavan Nikhilesh
Acked-by: Amit Prakash Shukla
---
app/test-eventdev/test_perf_common.c | 6 +-
app/test-eventdev/test_perf_common.h | 4 +-
app/test/test_event_dma_a
From: Pavan Nikhilesh
Add enqueue/dequeue operations that use struct rte_dma_op
to communicate with the dma device.
These operations need to be enabled at dma device configuration
time by setting the flag rte_dma_conf::enable_enq_deq if the
device supports RTE_DMA_CAPA_OPS_ENQ_DEQ capability.
The
From: Pavan Nikhilesh
The event vector adapter supports offloading creation of
event vectors by vectorizing objects (mbufs/ptrs/u64s).
Applications can create a vector adapter associated with
an event queue and enqueue objects to be vectorized.
When the vector reaches the configured size or when
From: Pavan Nikhilesh
When event device PMD doesn't support vector adapter,
the library will fallback to software implementation
which relies on service core to check for timeouts
and vectorizes the objects on enqueue.
Signed-off-by: Pavan Nikhilesh
---
lib/eventdev/eventdev_pmd.h
From: Pavan Nikhilesh
The event vector adapter supports offloading the creation of event vectors
by vectorizing objects (mbufs/ptrs/u64s).
An event vector adapter has the following working model:
┌──┐
│ Vector ├─┐
│ adapter0 │ │
└──┘ │
From: Pavan Nikhilesh
Add crypto as extra march feature to cn9k soc.
Signed-off-by: Pavan Nikhilesh
---
config/arm/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 7f85b088c9..a97a28ebb7 100644
--- a/config/arm/meson.build
++
From: Pavan Nikhilesh
Fix extra_march_features not being added to
mcpu flags when SoC configuration advertises
them.
Fixes: c02c01dbf907 ("config/arm: prefer strict use of -mcpu if supported")
Signed-off-by: Pavan Nikhilesh
---
config/arm/meson.build | 11 ---
1 file changed, 8 insert
From: Pavan Nikhilesh
SKIP_FILES should include the path of the file along with the name.
Update the regex to match the entire path.
Fixes: dd88f51a5725 ("devtools: forbid DPDK API in cnxk base driver")
Fixes: 2b843cac232e ("drivers: use per line logging in helpers")
Signed-off-by: Pavan Nikhil
From: Pavan Nikhilesh
SKIP_FILES should include the path of the file.
Update the regex to match the path.
Fixes: dd88f51a5725 ("devtools: forbid DPDK API in cnxk base driver")
Signed-off-by: Pavan Nikhilesh
---
devtools/checkpatches.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
From: Pavan Nikhilesh
Fix incorrect template macros used for dual workslot
functions.
Fixes: a83fc0f4e118 ("event/cnxk: remove single event enqueue and dequeue")
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn9k_worker.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
From: Pavan Nikhilesh
Free memory allocated for the node when xstats memory
allocation fails.
Coverity issue: 445529
Fixes: 070db97e017b ("graph: support node xstats")
Signed-off-by: Pavan Nikhilesh
---
v2 Changes:
- Fix one more leak. (Huichao cai)
lib/graph/node.c | 4 ++--
1 file changed,
From: Pavan Nikhilesh
Free memory allocated for the node when xstats memory
allocation fails.
Coverity issue: 445529
Fixes: 070db97e017b ("graph: support node xstats")
Signed-off-by: Pavan Nikhilesh
---
lib/graph/node.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/g
From: Pavan Nikhilesh
Add CN20K event port profile switch.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 1 +
drivers/event/cnxk/cn20k_worker.c | 11 +++
drivers/event/cnxk/cn20k_worker.h | 1 +
3 files changed, 13 insertions(+)
diff --git a/drivers/ev
From: Pavan Nikhilesh
Add SSO HW info mbox to get hardware capabilities, and reuse
them instead of depending on hardcoded values.
Remove redundant includes.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_mbox.h | 28 ++
drivers/common/cnxk/roc_sso.c
From: Pavan Nikhilesh
Add event device stop and close callback functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/event/cnxk/cn20k_eventdev.c
b/drivers/event/cnxk/cn20k_eventdev.c
From: Pavan Nikhilesh
Add CN20K start function along with few cleanup API's to maintain
sanity.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 103 +--
drivers/event/cnxk/cn20k_eventdev.c | 76
drivers/event/cnxk/cnxk_comm
From: Pavan Nikhilesh
Add CN20K event port quiesce function.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 60 +
1 file changed, 60 insertions(+)
diff --git a/drivers/event/cnxk/cn20k_eventdev.c
b/drivers/event/cnxk/cn20k_eventdev.c
inde
From: Pavan Nikhilesh
Update event timer base code to support configuring
HW accelerated timer arm and cancel.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/hw/tim.h| 5 ++
drivers/common/cnxk/roc_mbox.h | 38 -
drivers/common/cnxk/roc_tim.c | 84 ++
From: Pavan Nikhilesh
Add setup and release functions for event queues i.e. SSO HWGRPs.
Allocate buffers in DRAM that hold inflight events.
Register device args to modify inflight event buffer count,
HWGRP QoS and stash.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c |
From: Pavan Nikhilesh
Add CN20K event port preschedule modify and preschedule
functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/hw/ssow.h | 1 +
drivers/event/cnxk/cn20k_eventdev.c | 2 ++
drivers/event/cnxk/cn20k_worker.c | 30 +
drivers/e
From: Pavan Nikhilesh
Add CN20K event device configuration that attaches the requested
number of SSO HWS(event ports) and HWGRP(event queues) LFs to
the RVU PF/VF.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 36 +
1 file changed, 36 inse
From: Pavan Nikhilesh
Add configuration APIs for CN20K SSO event
aggregator which allows SSO to generate event
vectors.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/hw/sso.h| 33
drivers/common/cnxk/roc_mbox.h | 21 +++
drivers/common/cnxk/roc_model.h | 13 ++
From: Pavan Nikhilesh
Replace gcc inbuilt __atomic_xxx intrinsics with rte_atomic_xxx API.
Signed-off-by: Pavan Nikhilesh
---
v2 Changes:
- Rebase and remove single dequeue and enqueue functions.
v3 Changes:
- Remove __atomic builtins.
v4 Changes:
- Rebase onto next-event tree.
v5 Changes:
- Re
From: Pavan Nikhilesh
Add CN20K SSO GWS fastpath event device enqueue functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 20 +-
drivers/event/cnxk/cn20k_worker.c | 384
drivers/event/cnxk/cn20k_worker.h | 21 ++
drivers/event/
From: Pavan Nikhilesh
Add SSO HWS a.k.a event port setup, release, link, unlink
functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 63 ++-
drivers/event/cnxk/cn20k_eventdev.c | 174
drivers/event/cnxk/cn20k_eventdev.h
From: Pavan Nikhilesh
Add platform specific event device probe and remove, also add
event device info get function.
Signed-off-by: Pavan Nikhilesh
---
doc/guides/eventdevs/cnxk.rst | 23 ---
doc/guides/rel_notes/release_24_11.rst | 4 ++
drivers/common/cnxk/roc_sso.c | 1
From: Pavan Nikhilesh
Add CN20K SSO GWS event dequeue fastpath functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 5 +
drivers/event/cnxk/cn20k_worker.c | 54 +++
drivers/event/cnxk/cn20k_worker.h | 137 +++-
3 files chang
From: Pavan Nikhilesh
Add event timer adapter support for CN20K platform.
Implement new HWWQE insertion feature supported by CN20K platform.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_tim.c| 6 +-
drivers/event/cnxk/cn20k_eventdev.c | 16 ++-
drivers/event/cnxk/cn20
From: Pavan Nikhilesh
Add Event vector support for CN20K Rx/Tx adapter.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 185 ++-
drivers/event/cnxk/cn20k_tx_worker.h | 84 ++
drivers/event/cnxk/cn20k_worker.h| 63
From: Pavan Nikhilesh
Add support for event eth Tx adapter.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 126 +++
drivers/event/cnxk/cn20k_eventdev.h | 4 +
drivers/event/cnxk/cn20k_tx_worker.h | 16
3 files changed, 146 insertions(
From: Pavan Nikhilesh
Add support for event eth Tx adapter fastpath operations.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 29 +++
drivers/event/cnxk/cn20k_tx_worker.h | 176 +++
drivers/event/cnxk/meson.build | 20
From: Pavan Nikhilesh
Add support for event eth Rx adapter fastpath operations.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 122 -
drivers/event/cnxk/cn20k_worker.c | 54 --
drivers/event/cnxk/cn20k_worker.h | 165
From: Pavan Nikhilesh
Add support for CN20K event eth Rx adapter.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 121 +++-
drivers/event/cnxk/cn20k_eventdev.h | 4 +
2 files changed, 124 insertions(+), 1 deletion(-)
diff --git a/drivers/even
From: Pavan Nikhilesh
Add selftest to verify SSO, xstats to get queue specific
stats and add function to dump internal state of SSO.
Signed-off-by: Pavan Nikhilesh
---
app/test/test_eventdev.c| 7 +++
drivers/event/cnxk/cn20k_eventdev.c | 12
drive
From: Pavan Nikhilesh
Add support for event eth Rx adapter fastpath operations.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 122 -
drivers/event/cnxk/cn20k_worker.c | 54 --
drivers/event/cnxk/cn20k_worker.h | 165
From: Pavan Nikhilesh
Add event timer adapter support for CN20K platform.
Implement new HWWQE insertion feature supported by CN20K platform.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_tim.c| 6 +-
drivers/event/cnxk/cn20k_eventdev.c | 16 ++-
drivers/event/cnxk/cn20
From: Pavan Nikhilesh
Add platform specific event device probe and remove, also add
event device info get function.
Signed-off-by: Pavan Nikhilesh
---
doc/guides/eventdevs/cnxk.rst | 23 ---
doc/guides/rel_notes/release_24_11.rst | 4 ++
drivers/common/cnxk/roc_sso.c | 1
From: Pavan Nikhilesh
Add support for event eth Tx adapter fastpath operations.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 29 +++
drivers/event/cnxk/cn20k_tx_worker.h | 176 +++
drivers/event/cnxk/meson.build | 20
From: Pavan Nikhilesh
Add CN20K SSO GWS event dequeue fastpath functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 5 +
drivers/event/cnxk/cn20k_worker.c | 54 +++
drivers/event/cnxk/cn20k_worker.h | 137 +++-
3 files chang
From: Pavan Nikhilesh
Add selftest to verify SSO, xstats to get queue specific
stats and add function to dump internal state of SSO.
Signed-off-by: Pavan Nikhilesh
---
app/test/test_eventdev.c| 7 +++
drivers/event/cnxk/cn20k_eventdev.c | 12
drive
From: Pavan Nikhilesh
Add support for CN20K event eth Rx adapter.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 121 +++-
drivers/event/cnxk/cn20k_eventdev.h | 4 +
2 files changed, 124 insertions(+), 1 deletion(-)
diff --git a/drivers/even
From: Pavan Nikhilesh
Add support for CN20K event eth Rx adapter.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 121 +++-
drivers/event/cnxk/cn20k_eventdev.h | 4 +
2 files changed, 124 insertions(+), 1 deletion(-)
diff --git a/drivers/even
From: Pavan Nikhilesh
Add setup and release functions for event queues i.e. SSO HWGRPs.
Allocate buffers in DRAM that hold inflight events.
Register device args to modify inflight event buffer count,
HWGRP QoS and stash.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c |
From: Pavan Nikhilesh
Add configuration APIs for CN20K SSO event
aggregator which allows SSO to generate event
vectors.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/hw/sso.h| 33
drivers/common/cnxk/roc_mbox.h | 21 +++
drivers/common/cnxk/roc_model.h | 13 ++
From: Pavan Nikhilesh
Add Event vector support for CN20K Rx/Tx adapter.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 185 ++-
drivers/event/cnxk/cn20k_tx_worker.h | 84 ++
drivers/event/cnxk/cn20k_worker.h| 63
From: Pavan Nikhilesh
Update event timer base code to support configuring
HW accelerated timer arm and cancel.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/hw/tim.h| 5 ++
drivers/common/cnxk/roc_mbox.h | 38 -
drivers/common/cnxk/roc_tim.c | 84 ++
From: Pavan Nikhilesh
Add support for event eth Tx adapter.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 126 +++
drivers/event/cnxk/cn20k_eventdev.h | 4 +
drivers/event/cnxk/cn20k_tx_worker.h | 16
3 files changed, 146 insertions(
From: Pavan Nikhilesh
Add CN20K event port preschedule modify and preschedule
functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/hw/ssow.h | 1 +
drivers/event/cnxk/cn20k_eventdev.c | 2 ++
drivers/event/cnxk/cn20k_worker.c | 30 +
drivers/e
From: Pavan Nikhilesh
Add event device stop and close callback functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/event/cnxk/cn20k_eventdev.c
b/drivers/event/cnxk/cn20k_eventdev.c
From: Pavan Nikhilesh
Add CN20K start function along with few cleanup API's to maintain
sanity.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 103 +--
drivers/event/cnxk/cn20k_eventdev.c | 76
drivers/event/cnxk/cnxk_comm
From: Pavan Nikhilesh
Add CN20K event port profile switch.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 1 +
drivers/event/cnxk/cn20k_worker.c | 11 +++
drivers/event/cnxk/cn20k_worker.h | 1 +
3 files changed, 13 insertions(+)
diff --git a/drivers/ev
From: Pavan Nikhilesh
Add CN20K event port quiesce function.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 60 +
1 file changed, 60 insertions(+)
diff --git a/drivers/event/cnxk/cn20k_eventdev.c
b/drivers/event/cnxk/cn20k_eventdev.c
inde
From: Pavan Nikhilesh
Add CN20K SSO GWS fastpath event device enqueue functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 20 +-
drivers/event/cnxk/cn20k_worker.c | 384
drivers/event/cnxk/cn20k_worker.h | 21 ++
drivers/event/
From: Pavan Nikhilesh
Add SSO HWS a.k.a event port setup, release, link, unlink
functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 63 ++-
drivers/event/cnxk/cn20k_eventdev.c | 174
drivers/event/cnxk/cn20k_eventdev.h
From: Pavan Nikhilesh
Replace gcc inbuilt __atomic_xxx intrinsics with rte_atomic_xxx API.
Signed-off-by: Pavan Nikhilesh
---
Depends-on: series-33602 ("event/cnxk: fix getwork write data on reconfig")
v2 Changes:
- Rebase and remove single dequeue and enqueue functions.
v3 Changes:
- Remove _
From: Pavan Nikhilesh
Add CN20K event device configuration that attaches the requested
number of SSO HWS(event ports) and HWGRP(event queues) LFs to
the RVU PF/VF.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn20k_eventdev.c | 36 +
1 file changed, 36 inse
From: Pavan Nikhilesh
Add SSO HW info mbox to get hardware capabilities, and reuse
them instead of depending on hardcoded values.
Remove redundant includes.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_mbox.h | 28 ++
drivers/common/cnxk/roc_sso.c
1 - 100 of 1256 matches
Mail list logo