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

Update DASH SAI API comments #2050

Merged
merged 3 commits into from
Jul 15, 2024

Conversation

r12f
Copy link
Contributor

@r12f r12f commented Jul 12, 2024

This PR is intended to update the current comments of DASH SAI APIs.

Previously, all DASH SAI API comments are generated from P4 code using very simple rule, such as all words to upper case to pass the SAI checks. Now, we switched to python for better comment generation, which makes the comment more meaningful and readable.

Signed-off-by: r12f <r12f.code@gmail.com>
@r12f r12f force-pushed the user/r12f/dash-comments branch from fbf5fa0 to 2bb3f75 Compare July 12, 2024 07:06
Signed-off-by: r12f <r12f.code@gmail.com>
@Pterosaur
Copy link
Contributor

Hi @prsunny , could you please help review and merge this PR?

@mukeshmv
Copy link
Contributor

lgtm. This brings these SAI APIs in sync with the DASH generated APIs

inc/saiobject.h Outdated Show resolved Hide resolved
Signed-off-by: r12f <r12f.code@gmail.com>
@prsunny prsunny merged commit dff0e34 into opencomputeproject:master Jul 15, 2024
3 checks passed
siqbal1986 pushed a commit to siqbal1986/SAI that referenced this pull request Sep 30, 2024
This PR is intended to update the current comments of DASH SAI APIs.

Previously, all DASH SAI API comments are generated from P4 code using very simple rule, such as all words to upper case to pass the SAI checks. Now, we switched to python for better comment generation, which makes the comment more meaningful and readable.

Signed-off-by: siqbal1986 <shahzad.iqbal@microsoft.com>
erohsik pushed a commit to erohsik/SAI that referenced this pull request Nov 7, 2024
This PR is intended to update the current comments of DASH SAI APIs.

Previously, all DASH SAI API comments are generated from P4 code using very simple rule, such as all words to upper case to pass the SAI checks. Now, we switched to python for better comment generation, which makes the comment more meaningful and readable.
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.

6 participants