From: Pavan Nikhilesh
A collection of event queues linked to an event port can be associated
with unique identifier called as a link profile, multiple such profiles
can be configured based on the event device capability using the function
`rte_event_port_profile_links_set` which takes arguments s
From: Pavan Nikhilesh
A collection of event queues linked to an event port can be
associated with a unique identifier called as a link profile, multiple
such profiles can be created based on the event device capability
using the function `rte_event_port_profile_links_set` which takes
arguments si
From: Pavan Nikhilesh
Implement event link profiles support on CN10K and CN9K.
Both the platforms support up to 2 link profiles.
Signed-off-by: Pavan Nikhilesh
---
doc/guides/eventdevs/cnxk.rst | 1 +
doc/guides/eventdevs/features/cnxk.ini | 3 +-
doc/guides/rel_notes/release_23_11.
From: Pavan Nikhilesh
Add test case to verify event link profiles.
Signed-off-by: Pavan Nikhilesh
---
app/test/test_eventdev.c | 117 +++
1 file changed, 117 insertions(+)
diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c
index c51c93bdbd..0e
From: Pavan Nikhilesh
A collection of event queues linked to an event port can be associated
with unique identifier called as a link profile, multiple such profiles
can be configured based on the event device capability using the function
`rte_event_port_profile_links_set` which takes arguments s
From: Pavan Nikhilesh
A collection of event queues linked to an event port can be
associated with a unique identifier called as a link profile, multiple
such profiles can be created based on the event device capability
using the function `rte_event_port_profile_links_set` which takes
arguments si
From: Pavan Nikhilesh
Implement event link profiles support on CN10K and CN9K.
Both the platforms support up to 2 link profiles.
Signed-off-by: Pavan Nikhilesh
---
doc/guides/eventdevs/cnxk.rst | 1 +
doc/guides/eventdevs/features/cnxk.ini | 3 +-
doc/guides/rel_notes/release_23_11.
From: Pavan Nikhilesh
Add test case to verify event link profiles.
Signed-off-by: Pavan Nikhilesh
---
app/test/test_eventdev.c | 117 +++
1 file changed, 117 insertions(+)
diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c
index c51c93bdbd..0e
From: Pavan Nikhilesh
Port link and unlink rely on info get API to validate max
supported profiles, the default max profiles is initialized
in ``rte_dev_info_get`` API, use it instead of invoking
driver callback.
Fixes: 162aa4e1b479 ("eventdev: introduce link profiles")
Signed-off-by: Pavan Nik
From: Pavan Nikhilesh
Port link and unlink rely on info get API to validate max
supported profiles, the default max profiles is initialized
in ``rte_dev_info_get`` API, use it instead of invoking
driver callback.
Fixes: 162aa4e1b479 ("eventdev: introduce link profiles")
Signed-off-by: Pavan Nik
From: Pavan Nikhilesh
Since most of the drivers overwrite the info structure passed
from the common layer it is not possible to set defaults in
``rte_event_dev_info_get`` API.
Initialize default max_profiles_per_port in the driver layer.
Fixes: 162aa4e1b479 ("eventdev: introduce link profiles")
From: Pavan Nikhilesh
Update fc check to count SQEs instead of SQBs while waiting for
space.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_tx_worker.h | 33 ++--
drivers/event/cnxk/cn9k_worker.h | 33 +---
2 files changed, 51 in
From: Pavan Nikhilesh
Increase xstats ID width from 32 to 64 bits. This also
fixes the xstats ID datatype discrepancy between reset and
rest of the xstats family.
Signed-off-by: Pavan Nikhilesh
Acked-by: Morten Brørup
Reviewed-by: Mattias Rönnblom
---
v2 Changes:
- Fix compilation on 32 bit
From: Pavan Nikhilesh
Fix incorrect mbuf offset calculation when HEADROOM exceeds 128B
while processing event vectors.
Fixes: 7fbbc981d54f("event/cnxk: support vectorized Rx event fast path")
Signed-off-by: Pavan Nikhilesh
Change-Id: I1c33c8a5cce29c3ea7eb0411f4e1bedf42053167
---
drivers/net/c
From: Pavan Nikhilesh
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 Nikhilesh
Acked-by: Shijith Thott
From: Pavan Nikhilesh
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/l3fwd_lpm_altivec.h |
From: Pavan Nikhilesh
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
---
examples/l3fwd/l3fwd_fib.c | 130 +
From: Pavan Nikhilesh
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/l3fwd/l3fwd_lpm.c | 39 +
From: Pavan Nikhilesh
Use em vector path to process event vector.
Signed-off-by: Pavan Nikhilesh
Acked-by: Shijith Thotton
---
examples/l3fwd/l3fwd_em.c| 13 +++--
examples/l3fwd/l3fwd_em.h| 29 +--
examples/l3fwd/l3fwd_em_hlm.h| 72 +---
From: Pavan Nikhilesh
Fix incorrect mbuf offset calculation when HEADROOM exceeds 128B
while processing event vectors.
Fixes: 7fbbc981d54f("event/cnxk: support vectorized Rx event fast path")
Signed-off-by: Pavan Nikhilesh
---
v2 Changes:
- Remove internal Change-Id.
drivers/net/cnxk/cn10k
From: Pavan Nikhilesh
Update Linux core isolation guide to include isolation from
timers, RCU processing and IRQs.
Signed-off-by: Pavan Nikhilesh
Acked-by: Jerin Jacob
---
v4 Changes:
- Give names to Links to make them clickable. (Thomas)
- Fix link formatting.
v3 Changes:
- Add addition
From: Pavan Nikhilesh
Remove unnecessary locks as locking is now taken care by
mbox_get and mbox_put.
Signed-off-by: Pavan Nikhilesh
---
Depends-on: 26537
drivers/common/cnxk/roc_sso.c | 25 -
drivers/common/cnxk/roc_sso_priv.h | 1 -
2 files changed, 26 deletio
From: Pavan Nikhilesh
Fix timer burst arm routine writing improper updates to
the bucket.
Fixes: 5f644e1bd14c ("event/cnxk: add timer arm timeout burst")
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cnxk_tim_worker.h | 81 ++--
1 file changed, 42 insertions(+)
From: Pavan Nikhilesh
Increase the timer arm burst size to 16 and chunk size
for optimum performance.
Use fixed size chunk pool cache to avoid high alloc cycles.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cnxk_tim_evdev.c | 7 ++-
drivers/event/cnxk/cnxk_tim_evdev.h | 5 ++--
From: Pavan Nikhilesh
Fix event timer fast-path ops not being initialized in secondary
process.
Fixes: dd519f83dd96 ("event/cnxk: add timer adapter capabilities")
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cnxk_tim_evdev.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/
From: Pavan Nikhilesh
A collection of event queues linked to an event port can be associated
with unique identifier called as a profile, multiple such profiles can
be configured based on the event device capability using the function
`rte_event_port_profile_links_set` which takes arguments simila
From: Pavan Nikhilesh
A collection of event queues linked to an event port can be
associated with a unique identifier called as a profile, multiple
such profiles can be created based on the event device capability
using the function `rte_event_port_profile_links_set` which takes
arguments similar
From: Pavan Nikhilesh
Implement event link profiles support on CN10K and CN9K.
Both the platforms support up to 2 link profiles.
Signed-off-by: Pavan Nikhilesh
---
doc/guides/eventdevs/cnxk.rst | 1 +
doc/guides/eventdevs/features/cnxk.ini | 3 +-
doc/guides/rel_notes/release_23_11.
From: Pavan Nikhilesh
Add test case to verify event link profiles.
Signed-off-by: Pavan Nikhilesh
---
app/test/test_eventdev.c | 117 +++
1 file changed, 117 insertions(+)
diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c
index 29354a24c9..b3
From: Pavan Nikhilesh
Use rte_mempool for DMA chunk pool to allow using mempool cache.
Convert logtype register macro for all cnxk drivers to
RTE_LOG_REGISTER_DEFAULT.
Signed-off-by: Pavan Nikhilesh
---
Depends-on: 29324
v5 Changes:
- Use RTE_LOG_REGISTER_DEFAULT for registering logging.
v4
From: Pavan Nikhilesh
Rewrite DMA fastpath to use NEON instructions and reduce number
of words read from config.
Signed-off-by: Pavan Nikhilesh
---
drivers/dma/cnxk/cnxk_dmadev.c| 454 +++--
drivers/dma/cnxk/cnxk_dmadev.h| 89 +-
drivers/dma/cnxk/cnxk_dmade
From: Pavan Nikhilesh
Remove expensive fastpath checks from op release, remove
explicit release in CN9K tx routine.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn9k_worker.h | 17 -
drivers/event/cnxk/cnxk_worker.h | 6 --
2 files changed, 23 deletions(-)
diff -
From: Pavan Nikhilesh
Invalidate GWC on event port i.e., HWS reset to prevent
invalid response from SSO.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_sso.c | 31 +
drivers/common/cnxk/roc_sso.h | 2 ++
drivers/common/cnxk/version.map |
From: Pavan Nikhilesh
Using labels in asm generates them as regular function and shades
callstack in tools like gdb or perf.
Use local label instead for better visibility.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_sso_dp.h | 12 ++--
1 file changed, 6 insertions(+), 6
From: Pavan Nikhilesh
To use the mempool cache, use rte_mempool for the DMA chunk pool.
Move the mempool creation to device start to limit the number of
chunks allocated based on the total number of descriptors
configured across all the vchans.
Remove unnecessary state tracking flags as the libr
From: Pavan Nikhilesh
Rewrite DMA fastpath to use NEON instructions and reduce number
of words read from config.
Signed-off-by: Pavan Nikhilesh
---
drivers/dma/cnxk/cnxk_dmadev.c| 428 ++---
drivers/dma/cnxk/cnxk_dmadev.h| 59 +++-
drivers/dma/cnxk/cnxk_dmadev_
From: Pavan Nikhilesh
To use the mempool cache, use rte_mempool for the DMA chunk pool.
Move the mempool creation to device start to limit the number of
chunks allocated based on the total number of descriptors
configured across all the vchans.
Remove unnecessary state tracking flags as the libr
From: Pavan Nikhilesh
Rewrite DMA fastpath to use NEON instructions and reduce number
of words read from config.
Signed-off-by: Pavan Nikhilesh
---
drivers/dma/cnxk/cnxk_dmadev.c| 428 ++---
drivers/dma/cnxk/cnxk_dmadev.h| 59 +++-
drivers/dma/cnxk/cnxk_dmadev_
From: Pavan Nikhilesh
To use the mempool cache, use rte_mempool for the DMA chunk pool.
Move the mempool creation to device start to limit the number of
chunks allocated based on the total number of descriptors
configured across all the vchans.
Remove unnecessary state tracking flags as the libr
From: Pavan Nikhilesh
Rewrite DMA fastpath to use NEON instructions and reduce number
of words read from config.
Signed-off-by: Pavan Nikhilesh
---
drivers/dma/cnxk/cnxk_dmadev.c| 428 ++---
drivers/dma/cnxk/cnxk_dmadev.h| 59 +++-
drivers/dma/cnxk/cnxk_dmadev_
From: Pavan Nikhilesh
Flush currently held flow context on event port cleanup.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 18 ++
drivers/event/cnxk/cn9k_eventdev.c | 25 +++--
2 files changed, 33 insertions(+), 10 deletions(-)
From: Pavan Nikhilesh
Split XAQ counts into reserved and cached to allow more events
to be inflight.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_sso.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/common/cnxk/roc_sso.c b/drivers/common/cnxk/r
From: Pavan Nikhilesh
A collection of event queues linked to an event port can be associated
with unique identifier called as a profile, multiple such profiles can
be configured based on the event device capability using the function
`rte_event_port_profile_links_set` which takes arguments simila
From: Pavan Nikhilesh
A collection of event queues linked to an event port can be
associated with a unique identifier called as a profile, multiple
such profiles can be created based on the event device capability
using the function `rte_event_port_profile_links_set` which takes
arguments similar
From: Pavan Nikhilesh
Implement event link profiles support on CN10K and CN9K.
Both the platforms support up to 2 link profiles.
Signed-off-by: Pavan Nikhilesh
---
doc/guides/eventdevs/cnxk.rst | 1 +
doc/guides/eventdevs/features/cnxk.ini | 3 +-
doc/guides/rel_notes/release_23_11.
From: Pavan Nikhilesh
Add test case to verify event link profiles.
Signed-off-by: Pavan Nikhilesh
---
app/test/test_eventdev.c | 117 +++
1 file changed, 117 insertions(+)
diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c
index c51c93bdbd..0e
From: Pavan Nikhilesh
A collection of event queues linked to an event port can be associated
with unique identifier called as a link profile, multiple such profiles
can be configured based on the event device capability using the function
`rte_event_port_profile_links_set` which takes arguments s
From: Pavan Nikhilesh
A collection of event queues linked to an event port can be
associated with a unique identifier called as a link profile, multiple
such profiles can be created based on the event device capability
using the function `rte_event_port_profile_links_set` which takes
arguments si
From: Pavan Nikhilesh
Implement event link profiles support on CN10K and CN9K.
Both the platforms support up to 2 link profiles.
Signed-off-by: Pavan Nikhilesh
---
doc/guides/eventdevs/cnxk.rst | 1 +
doc/guides/eventdevs/features/cnxk.ini | 3 +-
doc/guides/rel_notes/release_23_11.
From: Pavan Nikhilesh
Add test case to verify event link profiles.
Signed-off-by: Pavan Nikhilesh
---
app/test/test_eventdev.c | 117 +++
1 file changed, 117 insertions(+)
diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c
index c51c93bdbd..0e
From: Pavan Nikhilesh
The workslot structure elements were shuffled around to maintain
uniformity between CN9K and CN10K which moved the TAG data offset
from first dword to third dword.
Fixes: 182767f70ef2 ("event/cnxk: add event port flow context APIs")
Signed-off-by: Pavan Nikhilesh
---
Plea
From: Pavan Nikhilesh
Add config support to cross compile for Marvell CN10K SoC.
Marvell CN10K SoC is based on ARM Neoverse N2 cores.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Pavan Nikhilesh
Acked-by: Jerin Jacob
---
v2 Changes:
- Rebase with ToT.
config/arm/arm64_cn10k_linux_gcc |
From: Pavan Nikhilesh
This patchset adds support for Marvell CN106XX SoC based on 'common/cnxk'
driver. In future, CN9K a.k.a octeontx2 will also be supported by same
driver when code is ready and 'event/octeontx2' will be deprecated.
v2 Changes:
- Split Rx/Tx adapter into seperate patch set to
From: Pavan Nikhilesh
Add meson build infra structure along with the event device
SSO initialization and teardown functions.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
MAINTAINERS| 6 +++
doc/guides/eventdevs/cnxk.rst | 55 +
From: Shijith Thotton
Add the info_get function to return details on the queues, flow,
prioritization capabilities, etc. which this device has.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cnxk_eventdev.c | 24
drivers/event/cnx
From: Shijith Thotton
Add platform specific 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: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 35 ++
From: Pavan Nikhilesh
Add platform specific event device probe and remove, also add
event device info get function.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cn10k_eventdev.c | 101 +++
drivers/event/cnxk/cn9k_eventdev.c | 10
From: Pavan Nikhilesh
Add configuration validation, port and queue configuration
functions.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_eventdev.c | 70 ++
drivers/event/cnxk/cnxk_eventdev.h | 6 +++
2 files changed, 7
From: Shijith Thotton
Add setup and release functions for event queues i.e.
SSO HWGRPs.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 2 ++
drivers/event/cnxk/cn9k_eventdev.c | 2 ++
drivers/event/cnxk/cnxk_eventdev.c | 19
From: Pavan Nikhilesh
Allocate buffers in DRAM that hold inflight events.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 7 ++
drivers/event/cnxk/cn9k_eventdev.c | 7 ++
drivers/event/cnxk/cnxk_eventdev.c | 105 +++
From: Shijith Thotton
SSO HWGRPs i.e. queue uses DRAM & SRAM buffers to hold in-flight
events. By default the buffers are assigned to the SSO HWGRPs to
satisfy minimum HW requirements. SSO is free to assign the remaining
buffers to HWGRPs based on a preconfigured threshold.
We can control the QoS
From: Shijith Thotton
The number of events for a *open system* event device is specified
as -1 as per the eventdev specification.
Since, SSO inflight events are only limited by DRAM size, the
xae_cnt devargs parameter is introduced to provide upper limit for
in-flight events.
Example:
--
From: Shijith Thotton
Add SSO HWS aka event port setup and release functions.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 121 +++
drivers/event/cnxk/cn9k_eventdev.c | 147
drivers/ev
From: Pavan Nikhilesh
Add devargs to configure the platform specific getwork mode.
CN9K getwork mode by default is set to use dual workslot mode.
Add option to force single workslot mode.
Example:
--dev "0002:0e:00.0,single_ws=1"
CN10K supports multiple getwork prefetch modes, by defaul
From: Pavan Nikhilesh
Add SSO HW device operations used for enqueue/dequeue.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_worker.c | 7 +
drivers/event/cnxk/cn10k_worker.h | 151 +
drivers/event/cnxk/cn9k_worker.c | 7 +
drivers/event/cnxk/cn9k_worker.h
From: Shijith Thotton
Add platform specific event port, queue link and unlink APIs.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 64 +-
drivers/event/cnxk/cn9k_eventdev.c | 101
drivers/e
From: Pavan Nikhilesh
Add SSO GWS fastpath event device enqueue functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 16 +++-
drivers/event/cnxk/cn10k_worker.c | 54 ++
drivers/event/cnxk/cn10k_worker.h | 12 +++
drivers/event/cnxk/cn9k_eventde
From: Pavan Nikhilesh
Add SSO GWS event dequeue fastpath functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 10 ++-
drivers/event/cnxk/cn10k_worker.c | 54 +
drivers/event/cnxk/cn10k_worker.h | 12 +++
drivers/event/cnxk/cn9k_eventdev.c | 1
From: Shijith Thotton
Add eventdev start function along with few cleanup API's to maintain
sanity.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cn10k_eventdev.c | 127
drivers/event/cnxk/cn9k_eventdev.c | 113 ++
From: Shijith Thotton
Add event device stop and close callback functions.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cn10k_eventdev.c | 15 +
drivers/event/cnxk/cn9k_eventdev.c | 14 +
drivers/event/cnxk/cnxk_eventdev.c | 48
From: Pavan Nikhilesh
Add selftest to verify sanity of SSO and also add function to
dump internal state of SSO.
Signed-off-by: Pavan Nikhilesh
---
app/test/test_eventdev.c| 14 +
drivers/event/cnxk/cn10k_eventdev.c |8 +
drivers/event/cnxk/cn9k_eventdev.c
From: Pavan Nikhilesh
Add support for retrieving statistics from SSO HWS and HWGRP.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_sso.c| 63 +
drivers/common/cnxk/roc_sso.h| 19 ++
drivers/event/cnxk/cnxk_eventdev.h | 15 ++
drivers/event/cnxk/
From: Shijith Thotton
Add event timer adapter aka TIM initialization on SSO probe.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
doc/guides/eventdevs/cnxk.rst | 6
drivers/event/cnxk/cnxk_eventdev.c | 3 ++
drivers/event/cnxk/cnxk_eventdev.h | 2 ++
drivers
From: Shijith Thotton
Add function to retrieve event timer adapter capabilities.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cn10k_eventdev.c | 2 ++
drivers/event/cnxk/cn9k_eventdev.c | 2 ++
drivers/event/cnxk/cnxk_tim_evdev.c | 22 +++
From: Shijith Thotton
When the application calls timer adapter create the following is used:
- Allocate a TIM LF based on number of LF's provisioned.
- Verify the config parameters supplied.
- Allocate memory required for
* Buckets based on min and max timeout supplied.
* Allocate
From: Pavan Nikhilesh
If the chunks are allocated from NPA then TIM can automatically free
them when traversing the list of chunks.
Add devargs to disable NPA and use software mempool to manage chunks.
Example:
--dev "0002:0e:00.0,tim_disable_npa=1"
Signed-off-by: Shijith Thotton
Signe
From: Pavan Nikhilesh
Add internal SSO functions to allow event adapters to resize SSO buffers
that are used to hold in-flight events in DRAM.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_eventdev.c | 33
drivers/event/cnxk/cnxk_
From: Shijith Thotton
Add TIM event timer adapter info get function.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cnxk_tim_evdev.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/event/cnxk/cnxk_tim_evdev.c
b/drivers/event/cn
From: Shijith Thotton
Add devargs to control default chunk size and max numbers of
timer rings to attach to a given RVU PF.
Example:
--dev "0002:1e:00.0,tim_chnk_slots=1024"
--dev "0002:1e:00.0,tim_rings_lmt=4"
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
From: Pavan Nikhilesh
Add TIM bucket operations used for event timer arm and cancel.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_tim_evdev.h | 30 +++
drivers/event/cnxk/cnxk_tim_worker.c | 6 ++
drivers/event/cnxk/cnxk_tim_worker.h | 123
From: Pavan Nikhilesh
Add event timer arm timeout burst function.
All the timers requested to be armed have the same timeout.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_tim_evdev.c | 7 ++
drivers/event/cnxk/cnxk_tim_evdev.h | 12 +++
driver
From: Pavan Nikhilesh
Add function to cancel event timer that has been armed.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_tim_evdev.c | 1 +
drivers/event/cnxk/cnxk_tim_evdev.h | 5
drivers/event/cnxk/cnxk_tim_worker.c | 30 ++
From: Pavan Nikhilesh
Add event timer arm routine.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_tim_evdev.c | 18 ++
drivers/event/cnxk/cnxk_tim_evdev.h | 23 ++
drivers/event/cnxk/cnxk_tim_worker.c | 95 +
drivers/event/cnxk/cnxk_tim_
From: Shijith Thotton
Add event timer adapter statistics get and reset functions.
Stats are disabled by default and can be enabled through devargs.
Example:
--dev "0002:1e:00.0,tim_stats_ena=1"
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
doc/guides/eventdevs/cnx
From: Shijith Thotton
Add event timer adapter start and stop functions.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_tim_evdev.c | 71 -
1 file changed, 70 insertions(+), 1 deletion(-)
diff --git a/drivers/event/cnxk/cn
From: Shijith Thotton
Add devargs to control each event timer adapter i.e. TIM rings internal
parameters uniquely. The following dict format is expected
[ring-chnk_slots-disable_npa-stats_ena]. 0 represents default values.
Example:
--dev "0002:1e:00.0,tim_ring_ctl=[2-1023-1-0]"
Signed-o
From: Pavan Nikhilesh
This patchset adds support for Marvell CN106XX SoC based on 'common/cnxk'
driver. In future, CN9K a.k.a octeontx2 will also be supported by same
driver when code is ready and 'event/octeontx2' will be deprecated.
v3 Changes:
- Fix documentation, copyright.
- Update release
From: Pavan Nikhilesh
Add meson build infra structure along with the event device
SSO initialization and teardown functions.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
Acked-by: Ray Kinsella
---
MAINTAINERS| 6 +++
doc/guides/eventdevs/cnxk.rst
From: Shijith Thotton
Add the info_get function to return details on the queues, flow,
prioritization capabilities, etc. which this device has.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cnxk_eventdev.c | 24
drivers/event/cnx
From: Pavan Nikhilesh
Add platform specific event device probe and remove, also add
event device info get function.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cn10k_eventdev.c | 101 +++
drivers/event/cnxk/cn9k_eventdev.c | 10
From: Pavan Nikhilesh
Allocate buffers in DRAM that hold inflight events.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 7 ++
drivers/event/cnxk/cn9k_eventdev.c | 7 ++
drivers/event/cnxk/cnxk_eventdev.c | 105 +++
From: Shijith Thotton
Add platform specific 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: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 35 ++
From: Pavan Nikhilesh
Add configuration validation, port and queue configuration
functions.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_eventdev.c | 70 ++
drivers/event/cnxk/cnxk_eventdev.h | 6 +++
2 files changed, 7
From: Shijith Thotton
Add setup and release functions for event queues i.e.
SSO HWGRPs.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 2 ++
drivers/event/cnxk/cn9k_eventdev.c | 2 ++
drivers/event/cnxk/cnxk_eventdev.c | 19
From: Shijith Thotton
The number of events for a *open system* event device is specified
as -1 as per the eventdev specification.
Since, SSO inflight events are only limited by DRAM size, the
xae_cnt devargs parameter is introduced to provide upper limit for
in-flight events.
Example:
--
From: Shijith Thotton
SSO HWGRPs i.e. queue uses DRAM & SRAM buffers to hold in-flight
events. By default the buffers are assigned to the SSO HWGRPs to
satisfy minimum HW requirements. SSO is free to assign the remaining
buffers to HWGRPs based on a preconfigured threshold.
We can control the QoS
From: Shijith Thotton
Add SSO HWS a.k.a event port setup and release functions.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 121 +++
drivers/event/cnxk/cn9k_eventdev.c | 147
drivers/
From: Shijith Thotton
Add platform specific event port, queue link and unlink APIs.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 64 +-
drivers/event/cnxk/cn9k_eventdev.c | 101
drivers/e
From: Pavan Nikhilesh
Add devargs to configure the platform specific getwork mode.
CN9K getwork mode by default is set to use dual workslot mode.
Add option to force single workslot mode.
Example:
--dev "0002:0e:00.0,single_ws=1"
CN10K supports multiple getwork prefetch modes, by defaul
From: Pavan Nikhilesh
Add SSO HW device operations used for enqueue/dequeue.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_worker.c | 7 +
drivers/event/cnxk/cn10k_worker.h | 151 +
drivers/event/cnxk/cn9k_worker.c | 7 +
drivers/event/cnxk/cn9k_worker.h
1 - 100 of 1788 matches
Mail list logo