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

[dash-p4] Refactor routing type and routing actions in P4 to make it align more explicitly with the DASH pipeline design. #522

Merged
merged 18 commits into from
Feb 27, 2024

Conversation

r12f
Copy link
Collaborator

@r12f r12f commented Feb 24, 2024

This commit refactors the table actions in outbound pipeline to make it align more explicitly to how DASH pipeline is modeled today.

The change includes:

  • Extract the table actions related to routing types out of the control block into a separate file.
  • Split the routing type actions into a list of routing actions.

For how routing types and routing actions work, please refer to the SONiC DASH HLD.

This commit doesn't change any SAI header definitions and libsai (except a few action id change, due to moving actions):
image

image

@r12f r12f marked this pull request as draft February 24, 2024 15:43
@r12f r12f changed the title [dash-p4] Refactor outbound pipeline to make it align more explicitly with the DASH pipeline design. [dash-p4] Refactor routing type and routing actions in P4 to make it align more explicitly with the DASH pipeline design. Feb 24, 2024
@r12f r12f force-pushed the user/r12f/routing-types branch from acdd76d to f8ed559 Compare February 26, 2024 22:17
@r12f r12f marked this pull request as ready for review February 26, 2024 22:18
@r12f
Copy link
Collaborator Author

r12f commented Feb 27, 2024

woot! thanks for the review Marian!

@r12f r12f merged commit 3a10145 into sonic-net:main Feb 27, 2024
4 checks passed
@r12f r12f deleted the user/r12f/routing-types branch February 27, 2024 17:56
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