Skip to content

Extend and set event queue attributes at runtime

Shijith Thotton dpdk-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 4 repliesIn review
  2. v35 patches 4 repliesSuperseded
  3. v26 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches12 repliesSuperseded

Changes in v4 from the cover letter

* Removed EBUSY from rte_event_queue_attr_set() return vals.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5eventdev: support to set queue attributes at runtimedoc/guides/eventdevs/features/default.ini doc/guides/rel_notes/release_22_07.rst lib/eventdev/eventdev_pmd.h +3 more+88 -14 replies
2/5eventdev: add weight and affinity to queue attributesdoc/guides/rel_notes/release_22_07.rst lib/eventdev/eventdev_pmd.h lib/eventdev/rte_eventdev.c +1 more+77 -20 replies
3/5test/event: test cases to test runtime queue attributeapp/test/test_eventdev.c+201 -00 replies
4/5common/cnxk: use lock when accessing mbox of SSOdrivers/common/cnxk/roc_sso.c drivers/common/cnxk/roc_sso_priv.h drivers/common/cnxk/roc_tim.c+215 -940 replies
5/5event/cnxk: support to set runtime queue attributesdoc/guides/eventdevs/features/cnxk.ini drivers/event/cnxk/cn10k_eventdev.c drivers/event/cnxk/cn9k_eventdev.c +2 more+113 -60 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchJerin JacobRay Kinsella
1/5A-b A-b
2/5A-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] Extend and set event queue attributes at runtime

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.

v4:
* Removed EBUSY from rte_event_queue_attr_set() return vals.

v3:
* Updated release notes.
* Removed deprecation patch from series.
* Used event enq/deq to test queue priority.

v2:
* Modified attr_value type from u32 to u64 for set().
* Removed RTE_EVENT_QUEUE_ATTR_MAX macro.
* Fixed 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/cnxk: support to set runtime queue attributes

 app/test/test_eventdev.c                  | 201 ++++++++++++++++++++++
 doc/guides/eventdevs/features/cnxk.ini    |   1 +
 doc/guides/eventdevs/features/default.ini |   1 +
 doc/guides/rel_notes/release_22_07.rst    |  12 ++
 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        |  91 +++++++++-
 drivers/event/cnxk/cnxk_eventdev.h        |  19 ++
 lib/eventdev/eventdev_pmd.h               |  44 +++++
 lib/eventdev/rte_eventdev.c               |  38 ++++
 lib/eventdev/rte_eventdev.h               |  70 +++++++-
 lib/eventdev/version.map                  |   3 +
 15 files changed, 694 insertions(+), 103 deletions(-)
Signature · 1 line
2.25.1