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

Enable SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL attribute #975

Merged
merged 3 commits into from
Feb 1, 2022

Conversation

tbgowda
Copy link
Contributor

@tbgowda tbgowda commented Nov 29, 2021

Enable SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL attribute for all platforms based on capability

  • Remove Mellanox specific checks
  • Check whether the attribute is supported
  • Call SAI API if it is supported, else ignore

Test Done:

Tested with corresponding support in SAI to check if attribute is being set correctly.

Enable SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL attribute for all platforms based on capability

Signed-off-by: Thushar Gowda <24815472+tbgowda@users.noreply.github.com>
@ghost
Copy link

ghost commented Nov 29, 2021

CLA assistant check
All CLA requirements met.

@tbgowda
Copy link
Contributor Author

tbgowda commented Dec 16, 2021

Hello, can this be merged? It looks like there is a baseline failure with the vstest unrelated to these changes?

@yxieca
Copy link
Contributor

yxieca commented Dec 27, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tbgowda
Copy link
Contributor Author

tbgowda commented Jan 7, 2022

Hi @yxieca , The failing tests seem to be baseline. I see that other PRs are also failing the same tests. Please let me know if it is fixed, I will sync to the latest refpoint and re-trigger the run. On the other hand, if it is indeed a known issue, could you please help merge this PR?

@yxieca
Copy link
Contributor

yxieca commented Jan 19, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sachinv-msft
Copy link

@yxieca @kcudnik can this PR please be merged?

@yxieca yxieca merged commit f484cf9 into sonic-net:master Feb 1, 2022
yxieca pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Feb 1, 2022
Why I did it
Fixes #8980 partly.

The corresponding changes in sonic-sairedis is here :
sonic-net/sonic-sairedis#975

How I did it
Include changes from both repos and build an image for verification.

How to verify it
Trigger fast-reboot with the changes, see the attribute SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL being set at the SAI level.

Signed-off-by: Thushar Gowda <24815472+tbgowda@users.noreply.github.com>
tbgowda added a commit to tbgowda/sonic-sairedis that referenced this pull request Feb 2, 2022
…net#975)

Enable SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL attribute for all platforms based on capability

Signed-off-by: Thushar Gowda <24815472+tbgowda@users.noreply.github.com>
qiluo-msft pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Feb 8, 2022
Why I did it
Fixes #8980 partly.

The corresponding changes in sonic-sairedis is here :
sonic-net/sonic-sairedis#975

How I did it
Include changes from both repos and build an image for verification.

How to verify it
Trigger fast-reboot with the changes, see the attribute SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL being set at the SAI level.

Signed-off-by: Thushar Gowda <24815472+tbgowda@users.noreply.github.com>
@qiluo-msft
Copy link
Contributor

This commit could not be cleanly cherry-picked to 202012. Please submit another PR.

kcudnik pushed a commit that referenced this pull request May 13, 2022
Enable SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL attribute for all platforms based on capability

Remove Mellanox specific checks
Check whether the attribute is supported
Call SAI API if it is supported, else ignore
Cherry-picking #975
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
…net#975)

Enable SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL attribute for all platforms based on capability

Signed-off-by: Thushar Gowda <24815472+tbgowda@users.noreply.github.com>
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
…net#975)

Enable SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL attribute for all platforms based on capability

Signed-off-by: Thushar Gowda <24815472+tbgowda@users.noreply.github.com>
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