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

[fec] Get FEC mode when port is already admin down #1403

Merged
merged 2 commits into from
Aug 17, 2020

Conversation

daall
Copy link
Contributor

@daall daall commented Aug 17, 2020

Signed-off-by: Danny Allen daall@microsoft.com

What I did
I added a line to fetch the FEC mode from the map before setting it.

Why I did it
This check was missed in an earlier PR, causing tests to fail in sairedis like so: https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/sonic-sairedis-build/1196/testReport/junit/test_port/TestPort/test_PortFec/

How I verified it
Re-run VS tests with this change.

Details if related
We're not totally sure why this was caught in the sairedis PR tests and not the swss PR tests. Investigation ongoing.

Signed-off-by: Danny Allen <daall@microsoft.com>
@prsunny
Copy link
Collaborator

prsunny commented Aug 17, 2020

@vadymhlushko-mlnx

prsunny
prsunny previously approved these changes Aug 17, 2020
@vadymhlushko-mlnx
Copy link
Contributor

This PR is created due to my fault in swss_PR_1399, forgot to get fec_mode before applying it when a port in down state

@daall
Copy link
Contributor Author

daall commented Aug 17, 2020

retest this please

@daall daall merged commit 5d7b001 into sonic-net:master Aug 17, 2020
@daall daall deleted the fec_fix branch August 17, 2020 23:25
abdosi pushed a commit that referenced this pull request Aug 19, 2020
Signed-off-by: Danny Allen <daall@microsoft.com>
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
Update SAI submodule v1.9 with the following fixes

7594e53 (HEAD, origin/v1.9) Skip brcm teardown assertion (sonic-net#1423) (sonic-net#1428)
0c33f4a [FIX]Fix the circular reference issue when build sai header py (sonic-net#1427)
7e0fc24 Add support for building under Doxygen 1.9.1 (sonic-net#1414) (sonic-net#1424)
8ecf3ef [Fix]Correct enum check on branch 1.9 (sonic-net#1418)
e2b2f39 Add Thrift 0.14.1 compatibility (sonic-net#1403) (sonic-net#1416)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants