Skip to content

[PATCH v2] api: packet: deprecate packet vectors - #2406

Open
TuomasTaipale wants to merge 2 commits into
OpenDataPlane:masterfrom
TuomasTaipale:dev/packet_vec_depr
Open

TuomasTaipale wants to merge 2 commits into
OpenDataPlane:masterfrom
TuomasTaipale:dev/packet_vec_depr

Conversation

@TuomasTaipale

@TuomasTaipale TuomasTaipale commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Deprecate packet vectors. The newer event vector API is now the main vectorization interface.

Additionally, introduce odp_event_aggr_capability_t::source capability for signaling ability for different event sources to generate event vectors if configured with an event aggregator queue. This replaces the capability structures defined for the now deprecated packet vectors.

v2:

  • Rebased
  • Matias' comments

@github-actions github-actions Bot changed the title api: packet: deprecate packet vectors [PATCH v1] api: packet: deprecate packet vectors Sep 25, 2026
@MatiasElo MatiasElo added this to the v1.52.0 milestone Sep 29, 2026
Comment thread test/validation/api/pool/pool.c Outdated
Comment thread include/odp/api/spec/pool_types.h Outdated
Comment thread include/odp/api/spec/pool_types.h Outdated
Comment thread include/odp/api/spec/classification.h
Comment thread include/odp/api/spec/event_vector_types.h Outdated
Comment thread include/odp/api/spec/event_vector_types.h Outdated
Comment thread include/odp/api/spec/event_vector_types.h Outdated
Comment thread include/odp/api/abi-default/event_types.h
Comment thread include/odp/api/spec/packet.h Outdated
Comment thread test/validation/api/event/event.c Outdated
Deprecate packet vectors. The newer event vector API is now the main
vectorization interface.

Signed-off-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Add new `odp_event_aggr_capability_t::source` capability for signaling
ability for different event sources to generate event vectors if
configured with an event aggregator queue.

Signed-off-by: Tuomas Taipale <tuomas.taipale@nokia.com>
@github-actions github-actions Bot changed the title [PATCH v1] api: packet: deprecate packet vectors [PATCH v2] api: packet: deprecate packet vectors Oct 9, 2026
@PavanNikhilesh

Copy link
Copy Markdown
Contributor

Acked-by: Pavan Nikhilesh Bhagavatula pbhagavatula@marvell.com

@MatiasElo MatiasElo added the API spec OK API specification is ready. Needs implementation and test updates. label Oct 16, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API spec OK API specification is ready. Needs implementation and test updates.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants