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

Stepwise refactoring of LNW definitions #134

Closed
wants to merge 5 commits into from
Closed

Conversation

ffoulkes
Copy link
Contributor

@ffoulkes ffoulkes commented May 27, 2024

Draft PR

Steps 2-5 of the refactoring process.

  1. Extract ES2K ECMP_HASH_TABLE definitions (1/5) #132 (merged)
  2. Extract ES2K NEXTHOP_TABLE definitions (2/5) #133 (merged)
  3. Extract ES2K NEIGHBOR_MOD_TABLE definitions (3/5) #135 (awaiting review)
  4. Combine versions of switchapi_pd_p4_name_routing.h
  5. Remove redundant definitions

ffoulkes added 5 commits May 23, 2024 18:56
- Extracted the LNWv2 and LNWv3 NEXTHOP_TABLE and ECMP_NEXTHOP_TABLE
  definitions into individual header files.

Signed-off-by: Derek Foster <[email protected]>
- Extracted the LNWv3 NEIGHBOR_MOD_TABLE definitions into a
  separate header file.

Signed-off-by: Derek Foster <[email protected]>
- As a result of the preceding extractions, the LNWv2 and LNWv3
  versions of switch_pd_p4_name_routing.h are identical. Moved
  the header file to the switchapi/es2k folder.

Signed-off-by: Derek Foster <[email protected]>
- Removed redundant definitions from switch_pd_p4_name_mapping.h.
  They are now defined in switch_pd_p4_name_routing.h.

Signed-off-by: Derek Foster <[email protected]>
Signed-off-by: Derek Foster <[email protected]>
@ffoulkes ffoulkes closed this May 29, 2024
@ffoulkes ffoulkes deleted the refine-lnw-defs branch May 29, 2024 15:43
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.

1 participant