[PATCH 02/20] event/cnxk: add CN20K specific device probe
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 15 18:17:50 CEST 2024
On Thu, 3 Oct 2024 18:52:19 +0530
<pbhagavatula at marvell.com> wrote:
> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
>
> Add platform specific event device probe and remove, also add
> event device info get function.
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
> ---
> doc/guides/eventdevs/cnxk.rst | 30 +++++----
> doc/guides/rel_notes/release_24_11.rst | 4 ++
> drivers/common/cnxk/roc_sso.c | 10 ++-
> drivers/event/cnxk/cn20k_eventdev.c | 93 ++++++++++++++++++++++++++
> drivers/event/cnxk/meson.build | 8 ++-
> 5 files changed, 128 insertions(+), 17 deletions(-)
> create mode 100644 drivers/event/cnxk/cn20k_eventdev.c
Patch series needs to be rebased, there is now a conflict in the eventdevs doc
as well as the release note but maintainers sometimes fix that during merge.
$ cat doc/guides/eventdevs/cnxk.rst.rej
--- doc/guides/eventdevs/cnxk.rst
+++ doc/guides/eventdevs/cnxk.rst
@@ -79,10 +80,11 @@ Runtime Config Options
-a 0002:0e:00.0,single_ws=1
-- ``CN10K Getwork mode``
+- ``CN10K/CN20K Getwork mode``
- CN10K supports three getwork prefetch modes no prefetch[0], prefetch
- immediately[1] and delayed prefetch on forward progress event[2].
+ CN10K/CN20K supports three getwork prefetch modes no prefetch[0],
+ prefetch immediately[1] and delayed prefetch on forward progress
+ event[2].
The default getwork mode is 2.
For example::
More information about the dev
mailing list