Skip to content

[PATCH v5] api: timer: add flow control parameter for periodic timer timeout events#2311

Open
MatiasElo wants to merge 2 commits intoOpenDataPlane:masterfrom
MatiasElo:dev/timer-flow-control
Open

[PATCH v5] api: timer: add flow control parameter for periodic timer timeout events#2311
MatiasElo wants to merge 2 commits intoOpenDataPlane:masterfrom
MatiasElo:dev/timer-flow-control

Conversation

@MatiasElo
Copy link
Copy Markdown
Collaborator

@MatiasElo MatiasElo commented Feb 9, 2026

V3:

  • Improved validation tests

@odpbuild odpbuild changed the title api: timer: add flow control parameter for periodic timer timeout events [PATCH v1] api: timer: add flow control parameter for periodic timer timeout events Feb 9, 2026
@MatiasElo MatiasElo added this to the v1.50.0 milestone Mar 12, 2026
@MatiasElo MatiasElo force-pushed the dev/timer-flow-control branch from efa4667 to 74ffc46 Compare March 17, 2026 08:17
@odpbuild odpbuild changed the title [PATCH v1] api: timer: add flow control parameter for periodic timer timeout events [PATCH v2] api: timer: add flow control parameter for periodic timer timeout events Mar 17, 2026
@MatiasElo MatiasElo force-pushed the dev/timer-flow-control branch from 74ffc46 to c0f4f85 Compare March 20, 2026 09:59
@odpbuild odpbuild changed the title [PATCH v2] api: timer: add flow control parameter for periodic timer timeout events [PATCH v3] api: timer: add flow control parameter for periodic timer timeout events Mar 20, 2026

static int check_periodic_sched_flow_control_support(void)
{
if (global_mem->timer_capa.periodic.max_pools && global_mem->timer_capa.queue_type_sched &&
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When merging, need to remember to use the new support bits introduced in #2323 (instead of max_pools).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, it's better to merge the more complex changes first and then rebase this one.


static int check_periodic_plain_flow_control_support(void)
{
if (global_mem->timer_capa.periodic.max_pools && global_mem->timer_capa.queue_type_plain &&
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When merging, need to remember to use the new support bits introduced in #2323 (instead of max_pools).

Add new odp_timer_pool_param_t.periodic.max_pending_tmo parameter and
matching capabilities odp_timer_capability_t.periodic.min/max_pending_tmo
for configuring flow control for periodic timer pools.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
@MatiasElo MatiasElo force-pushed the dev/timer-flow-control branch from c0f4f85 to 93d864f Compare March 26, 2026 07:48
@odpbuild odpbuild changed the title [PATCH v3] api: timer: add flow control parameter for periodic timer timeout events [PATCH v4] api: timer: add flow control parameter for periodic timer timeout events Mar 26, 2026
Add validation tests for periodic timer pool flow control.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
@MatiasElo MatiasElo force-pushed the dev/timer-flow-control branch from 93d864f to 68d3684 Compare March 26, 2026 07:50
@odpbuild odpbuild changed the title [PATCH v4] api: timer: add flow control parameter for periodic timer timeout events [PATCH v5] api: timer: add flow control parameter for periodic timer timeout events Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants