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

Revert changelog that was done for passing VS test. #1080

Merged
merged 1 commit into from
Oct 10, 2019

Conversation

prsunny
Copy link
Collaborator

@prsunny prsunny commented Oct 2, 2019

What I did
Revert changelog that was done for passing VS test as part of #977

Why I did it
Original issue is fixed as part of Azure/sonic-build-tools@e9e3957

How I verified it

Details if related

@prsunny prsunny requested a review from stcheng October 2, 2019 21:12
@prsunny
Copy link
Collaborator Author

prsunny commented Oct 2, 2019

@shine4chen , @tylerlinp FYI

@stcheng
Copy link
Contributor

stcheng commented Oct 3, 2019

retest this please

@stcheng stcheng closed this Oct 3, 2019
@stcheng stcheng reopened this Oct 3, 2019
@prsunny
Copy link
Collaborator Author

prsunny commented Oct 9, 2019

retest this please

@sonic-net sonic-net deleted a comment from stcheng Oct 9, 2019
@sonic-net sonic-net deleted a comment from stcheng Oct 9, 2019
Copy link
Collaborator

@zhenggen-xu zhenggen-xu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem was not just for VS test, it broke the swss deb package to build. Since I didn't know this PR was there, I fixed it in below PR with a little different change.

#1086

@prsunny
Copy link
Collaborator Author

prsunny commented Oct 10, 2019

Yes @zhenggen-xu , I couldn't merge this PR due to VS test failure. I think reverting this change is a better plan.

@prsunny
Copy link
Collaborator Author

prsunny commented Oct 10, 2019

retest this please

1 similar comment
@stcheng
Copy link
Contributor

stcheng commented Oct 10, 2019

retest this please

@stcheng stcheng merged commit 5b13387 into sonic-net:master Oct 10, 2019
@prsunny prsunny deleted the changelog branch October 10, 2019 21:29
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
…and (sonic-net#1080)

[CLI][PFCWD][Multi ASIC] Added multi ASIC support to the following CLI command:

>> show pfcwd config
>> show pfcwd stats.

* Added multi ASIC support to following script:

>> pfcwd

* Added unit tests for 'pfcwd show' commands.
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
…cket (sonic-net#1080)

Why I did it
When MDIO devices (external PHYs) are connected on MDIO bus from NPU, the MDIO access is through SAI switch mdio read/write APIs. The syncd calling the SAI APIs needs to act as an IPC server so that the gbsyncd programming the MDIO devices can use the APIs by the IPC mechanism.

How I did it
MdioIpcServer class is added to start a new thread, to create an unix socket, to listen on the socket, to accept connection and to read/reply IPC messages. The corresponding functions for MDIO clause 45 and clause 22 access are also added to VendorSai class.

How to verify it
We can use socat to simulate the IPC client, e.g.
docker exec -it syncd socat - UNIX-CONNECT:/var/run/sswsyncd/mdio-ipc.srv
to read MDIO clause 45 register at an address and an offset
mdio <address> <reg offset>
to write MDIO clause 45 register at an address and an offset with a value
mdio <address> <reg offset> <value>
to read MDIO clause 22 register at an address and an offset
mdio-cl22 <address> <reg offset>
to write MDIO clause 22 register at an address and an offset with a value
mdio-cl22 <address> <reg offset> <value>

Signed-off-by: Jiahua Wang <jiahua.wang@broadcom.com>
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.

3 participants