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

Re-enable support for new SAI API sai_query_attribute_capability() #651

Merged
merged 1 commit into from
Aug 6, 2020
Merged

Conversation

gechiang
Copy link
Contributor

@gechiang gechiang commented Aug 5, 2020

Previously the code to support query SAI attribute capabilities were commented out due to discovered missing BRCM Vendor SAI API missing in their 3.7.5.1 debian package that caused linking error during image build.
See #645 for details on the SAI attribute capability query support.

Since BRCM has provided the patch for the missing API stub code and included them in BRCM SAI 3.7.5.1-2 (see sonic-net/sonic-buildimage#5101), I am raising this PR to re-enable the calling to Vendor SAI API sai_query_attribute_capability().

I have tested this with the new BRCM SAI 3.7.5.1-2 debians and ensured that the linking issue was fixed by that patch.

@gechiang gechiang requested review from kcudnik and rlhui August 5, 2020 17:50
@gechiang
Copy link
Contributor Author

gechiang commented Aug 5, 2020

retest vs please

@gechiang
Copy link
Contributor Author

gechiang commented Aug 6, 2020

Looks like the VS build/test is broken. The change I made has nothing to do with any of the failure. Infact. The change has no functional impact to VS at all...

@gechiang gechiang requested a review from lguohan August 6, 2020 04:48
@gechiang
Copy link
Contributor Author

gechiang commented Aug 6, 2020

Guohan Confirmed that the VS Testing was broken by another PR not related to this one.
Since this change is very limited in the area that is not VS related, If code review looks good we should go ahead with the merge.
If one of you can kindly do the 3 line change code review and grant merge permission that would be great.
Thanks!

@gechiang
Copy link
Contributor Author

gechiang commented Aug 6, 2020

retest vs please

1 similar comment
@gechiang
Copy link
Contributor Author

gechiang commented Aug 6, 2020

retest vs please

@gechiang gechiang merged commit 276b9ae into sonic-net:master Aug 6, 2020
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
…onic-net#651)

Previously the code to support query SAI attribute capabilities were commented out due to discovered missing BRCM Vendor SAI API missing in their 3.7.5.1 debian package that caused linking error during image build.
See sonic-net#645 for details on the SAI attribute capability query support.

Since BRCM has provided the patch for the missing API stub code and included them in BRCM SAI 3.7.5.1-2 (see sonic-net/sonic-buildimage#5101), I am raising this PR to re-enable the calling to Vendor SAI API sai_query_attribute_capability().

I have tested this with the new BRCM SAI 3.7.5.1-2 debians and ensured that the linking issue was fixed by that patch.
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.

2 participants