sonic-net / DASH

Disaggregated APIs for SONiC Hosts
Apache License 2.0
77 stars 88 forks source link

[sai-gen] Update SAI API header file generation to use SAI spec #578

Closed r12f closed 2 weeks ago

r12f commented 1 month ago

Moving SAI API header file generation from using the P4 table information to SAI spec.

This change contains several minor fixes to the SAI specs:

Some typical changes (all comment changes, APIs are not changed and kept in the same order):

image

image

r12f commented 2 weeks ago

adding Ze into review, since his DPU image work is getting affected if the SAI API is not backward compatible.

r12f commented 2 weeks ago

@Pterosaur , without this change, the header generation will remain broken.