Closed r12f closed 8 months ago
Ok, the PR is ready for review.
@chrispsommers , with this all tables are off the @name
annotation.
@jafingerhut and @fruffy, this change should help solving the issue #347 . (@KrisNey-MSFT as FYI as well)
[like] Kristina Moore reacted to your message:
From: Riff @.> Sent: Tuesday, December 12, 2023 9:02:52 PM To: sonic-net/DASH @.> Cc: Kristina Moore @.>; Mention @.> Subject: Re: [sonic-net/DASH] [sai-gen] Deprecate the name annotations in favor of SaiTable (PR #479)
Ok, the PR is ready for review.
@chrispsommershttps://github.com/chrispsommers , with this all tables are off the @name annotation. @jafingerhuthttps://github.com/jafingerhut and @fruffyhttps://github.com/fruffy, this change should help solving the issue #347https://github.com/sonic-net/DASH/issues/347 . @.***https://github.com/KrisNey-MSFT as FYI as well)
— Reply to this email directly, view it on GitHubhttps://github.com/sonic-net/DASH/pull/479#issuecomment-1852806884, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJSI6EIS2YHY3N4SVHRC4DYJDA7ZAVCNFSM6AAAAABASC2II6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJSHAYDMOBYGQ. You are receiving this because you were mentioned.Message ID: @.***>
Since #480 is approved, which contains all changes in this PR. For keeping the changes clean, I am going to merge this PR first, rebase #480 , then merge #480 afterwards.
This PR has 2 updates:
@name
annotations in favor of@SaiTable
.api_order
attribute in@SaiTable
annotation to help us enforce the order of the generated APIs.The second change is a must have, otherwise for any API set that contains multiple type of entries (generated from multiple tables), the order could be changed between changes and break the ABI compatibility as the screenshot shows below:
The doc is also updated to capture the use of this new attribute.
For generated content updates:
No updates on SAI header files:
For libsai, table id will be updated as previous change.