[PATCH 0/6] Extend and set event queue attributes at runtime
Jerin Jacob
jerinjacobk at gmail.com
Tue Mar 29 20:49:40 CEST 2022
On Tue, Mar 29, 2022 at 6:42 PM Shijith Thotton <sthotton at marvell.com> wrote:
>
> This series adds support for setting event queue attributes at runtime
> and adds two new event queue attributes weight and affinity. Eventdev
> capability RTE_EVENT_DEV_CAP_RUNTIME_QUEUE_ATTR is added to expose the
> capability to set attributes at runtime and rte_event_queue_attr_set()
> API is used to set the attributes.
>
> Attributes weight and affinity are not yet added to rte_event_queue_conf
> structure to avoid ABI break and will be added in 22.11. Till then, PMDs
> using the new attributes are expected to manage them.
>
> Test application changes and example implementation are added as last
> three patches.
+ @Van Haaren, Harry @Jayatheerthan, Jay @Erik Gabriel Carrillo
@Gujjar, Abhinandan S @McDaniel, Timothy @Hemant Agrawal @Nipun
Gupta @Mattias Rönnblom @lingma @Ray Kinsella
> Pavan Nikhilesh (1):
> common/cnxk: use lock when accessing mbox of SSO
>
> Shijith Thotton (5):
> eventdev: support to set queue attributes at runtime
> eventdev: add weight and affinity to queue attributes
> doc: announce change in event queue conf structure
> test/event: test cases to test runtime queue attribute
> event/cnxk: support to set runtime queue attributes
>
> app/test/test_eventdev.c | 146 ++++++++++++++++++
> doc/guides/eventdevs/features/cnxk.ini | 1 +
> doc/guides/eventdevs/features/default.ini | 1 +
> doc/guides/rel_notes/deprecation.rst | 3 +
> drivers/common/cnxk/roc_sso.c | 174 ++++++++++++++++------
> drivers/common/cnxk/roc_sso_priv.h | 1 +
> drivers/common/cnxk/roc_tim.c | 134 +++++++++++------
> drivers/event/cnxk/cn10k_eventdev.c | 4 +
> drivers/event/cnxk/cn9k_eventdev.c | 4 +
> drivers/event/cnxk/cnxk_eventdev.c | 81 +++++++++-
> drivers/event/cnxk/cnxk_eventdev.h | 16 ++
> lib/eventdev/eventdev_pmd.h | 44 ++++++
> lib/eventdev/rte_eventdev.c | 43 ++++++
> lib/eventdev/rte_eventdev.h | 75 +++++++++-
> lib/eventdev/version.map | 3 +
> 15 files changed, 627 insertions(+), 103 deletions(-)
>
> --
> 2.25.1
>
More information about the dev
mailing list