Skip to content

Conversation

@MatiasElo
Copy link
Collaborator

@MatiasElo MatiasElo commented Sep 23, 2025

V2:

  • Implementation and validation tests

@odpbuild odpbuild changed the title api: event_vector: small clarifications and additions [PATCH v1] api: event_vector: small clarifications and additions Sep 23, 2025
@MatiasElo MatiasElo added this to the v1.49.0 milestone Sep 23, 2025
@PavanNikhilesh
Copy link
Contributor

Acked-by: Pavan Nikhilesh pbhagavatula@marvell.com

@MatiasElo MatiasElo force-pushed the dev/api-event-vector branch from 81d1d70 to e3fc800 Compare December 18, 2025 11:32
@odpbuild odpbuild changed the title [PATCH v1] api: event_vector: small clarifications and additions [PATCH v2] api: event_vector: small clarifications and additions Dec 18, 2025
@MatiasElo MatiasElo force-pushed the dev/api-event-vector branch from e3fc800 to 55a1ff8 Compare December 18, 2025 14:38
@odpbuild odpbuild changed the title [PATCH v2] api: event_vector: small clarifications and additions [PATCH v3] api: event_vector: small clarifications and additions Dec 18, 2025
Copy link
Collaborator

@psavol psavol left a comment

Choose a reason for hiding this comment

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

Reviewed API commits

@MatiasElo MatiasElo force-pushed the dev/api-event-vector branch from 55a1ff8 to e97033e Compare December 19, 2025 12:55
@odpbuild odpbuild changed the title [PATCH v3] api: event_vector: small clarifications and additions [PATCH v4] api: event_vector: small clarifications and additions Dec 19, 2025
@MatiasElo MatiasElo added the API Ready API change ready to be merged (with the next API version increment) label Dec 19, 2025
Clarify that event aggregation is performed automatically for incoming
packets when aggregation is enabled in packet input queue parameters.

Also, clarify that odp_pktin_event_queue() returns always base input queue
handles, not aggregator handles.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Clarify that event aggregation is performed automatically for classified
packets when aggregation is enabled in CoS parameters. Also, clarify that
in this case classifier accessor functions still return base queue handles,
not aggregator handles.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Add new 'type' and 'aggr_config' fields to odp_queue_info_t and document
struct contents better for event aggregator queues.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Remove old event aggregator specific odp_queue_info() validation tests to
prepare for updated API specification.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Update odp_queue_info() implementation to follow the updated API
specification.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Test that odp_pktin_event_queue() still returns normal queue handles when
event aggregation is enabled.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Update odp_queue_info() validation tests to follow the updated API
specification.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
@MatiasElo MatiasElo force-pushed the dev/api-event-vector branch from e97033e to 0e2e224 Compare December 29, 2025 07:33
@odpbuild odpbuild changed the title [PATCH v4] api: event_vector: small clarifications and additions [PATCH v5] api: event_vector: small clarifications and additions Dec 29, 2025
@MatiasElo MatiasElo merged commit d5ddd28 into OpenDataPlane:master Dec 29, 2025
164 checks passed
@MatiasElo MatiasElo deleted the dev/api-event-vector branch December 29, 2025 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Ready API change ready to be merged (with the next API version increment)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants