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 10, 2022
1 parent 7fd4b0a commit d63017a
Showing 1 changed file with 210 additions and 209 deletions.
Loading

0 comments on commit d63017a

Please sign in to comment.