Skip to content

Commit

Permalink
Assign values to sai_switch_attr_t enum fields
Browse files Browse the repository at this point in the history
This stack is towards supporting FDB Source User Meta.

This patch:

opencomputeproject#1259 introduced
explicit numbering to enum fields to avoid breaking warmboot across SAI
spec enhancements while maintaining readability. It fixed saiacl.h and
saihash.h.

Introduce similar explicit numbering for enum sai_switch_attr_t
Subsequent stacked commit needs to insert a new enum field in the
middle.

Signed-off-by: Shrikrishna Khare <skhare@fb.com>
  • Loading branch information
shri-khare committed Jan 9, 2022
1 parent 7fd4b0a commit 0b9de82
Showing 1 changed file with 272 additions and 260 deletions.

0 comments on commit 0b9de82

Please sign in to comment.