Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH v6] api: cls: add pmr/cos create/destroy multi functions #1912

Merged
merged 10 commits into from
Oct 20, 2023

Conversation

MatiasElo
Copy link
Collaborator

@MatiasElo MatiasElo commented Sep 20, 2023

V2:

  • Changed odp_cls_cos_create_multi() parameter const odp_cls_cos_param_t *param[] to const odp_cls_cos_param_t param[]
  • Changed odp_cls_pmr_create_multi() parameter const odp_pmr_create_opt_t *opt[] to const odp_pmr_create_opt_t opt[]

V3:

  • Added odp_cos_destroy_multi() and odp_cls_pmr_destroy_multi() APIs

V4:

  • Added implementation and validation tests

@odpbuild odpbuild changed the title api: cls: add pmr/cos create multi functions [PATCH v1] api: cls: add pmr/cos create multi functions Sep 20, 2023
@odpbuild odpbuild changed the title [PATCH v1] api: cls: add pmr/cos create multi functions [PATCH v2] api: cls: add pmr/cos create multi functions Sep 22, 2023
@odpbuild odpbuild changed the title [PATCH v2] api: cls: add pmr/cos create multi functions [PATCH v3] api: cls: add pmr/cos create multi functions Sep 27, 2023
@MatiasElo MatiasElo changed the title [PATCH v3] api: cls: add pmr/cos create multi functions [PATCH v3] api: cls: add pmr/cos create/destroy multi functions Sep 27, 2023
@odpbuild odpbuild changed the title [PATCH v3] api: cls: add pmr/cos create/destroy multi functions [PATCH v4] api: cls: add pmr/cos create/destroy multi functions Sep 29, 2023
@MatiasElo MatiasElo added the API next API change for next release label Oct 18, 2023
@odpbuild odpbuild changed the title [PATCH v4] api: cls: add pmr/cos create/destroy multi functions [PATCH v5] api: cls: add pmr/cos create/destroy multi functions Oct 19, 2023
@MatiasElo MatiasElo added API Ready API change ready to be merged (with the next API version increment) and removed API next API change for next release labels Oct 19, 2023
Add new odp_cls_pmr_create_multi() function for creating multiple packet
matching rules with a single call. Depending on the implementation, using
the multi variant can decrease per PMR rule create latency.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Kiran Kumar K <kirankumark@marvell.com>
Implement new odp_cls_pmr_create_multi() function for creating multiple
packet matching rules with a single call.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Add new odp_cls_cos_create_multi() function for creating multiple class-of-
services with a single call.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Kiran Kumar K <kirankumark@marvell.com>
Implement new odp_cls_cos_create_multi() function for creating multiple
class-of-services with a single call.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Add new odp_cos_destroy_multi() function for destroying multiple CoSes
with a single call.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Kiran Kumar K <kirankumark@marvell.com>
Implement new odp_cos_destroy_multi() function for destroying multiple
CoSes with a single call.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Add new odp_cls_pmr_destroy_multi() function for destroying multiple PMRs
with a single call.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Kiran Kumar K <kirankumark@marvell.com>
Implement new odp_cls_pmr_destroy_multi() function for destroying multiple
PMRs with a single call.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Add validation tests for new odp_cls_cos_create_multi() and
odp_cos_destroy_multi() APIs.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Add validation tests for new odp_cls_pmr_create_multi() and
odp_cls_pmr_destroy_multi() APIs.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
@odpbuild odpbuild changed the title [PATCH v5] api: cls: add pmr/cos create/destroy multi functions [PATCH v6] api: cls: add pmr/cos create/destroy multi functions Oct 20, 2023
@MatiasElo MatiasElo enabled auto-merge (rebase) October 20, 2023 17:21
@MatiasElo MatiasElo merged commit 8afd898 into OpenDataPlane:master Oct 20, 2023
174 checks passed
@MatiasElo MatiasElo deleted the dev/api-cls-functions branch October 23, 2023 05:24
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.

3 participants