Merged
Conversation
Contributor
|
in general, can we get better description for the pr? |
5479758 to
da05b00
Compare
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Contributor
Author
Updated, thanks! |
f2fd3b4 to
c062704
Compare
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
bingwang-ms
reviewed
Dec 16, 2021
bingwang-ms
reviewed
Dec 16, 2021
bingwang-ms
reviewed
Dec 16, 2021
bingwang-ms
reviewed
Dec 16, 2021
bingwang-ms
reviewed
Dec 16, 2021
bingwang-ms
reviewed
Dec 16, 2021
bingwang-ms
reviewed
Dec 16, 2021
bingwang-ms
reviewed
Dec 16, 2021
bingwang-ms
reviewed
Dec 16, 2021
bingwang-ms
reviewed
Dec 16, 2021
bingwang-ms
reviewed
Dec 16, 2021
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
yxieca
reviewed
Dec 19, 2021
yxieca
reviewed
Dec 19, 2021
yxieca
reviewed
Dec 19, 2021
yxieca
reviewed
Dec 19, 2021
1a2520e to
7edbd5e
Compare
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
zjswhhh
reviewed
Dec 22, 2021
| icmpPayload->command = htonl(static_cast<uint32_t> (Command::COMMAND_NONE)); | ||
| computeChecksum(icmpHeader, sizeof(icmphdr) + sizeof(*icmpPayload)); | ||
| resetTxBufferTlv(); | ||
| appendTlvSentinel(); |
Collaborator
There was a problem hiding this comment.
Do we only append TlvCommand when it's COMMAND_SWITCH_ACTIVE instead of having it in every heartbeat (COMMAND_NONE)? Shouldn't we have it in every heartbeat?
Contributor
Author
There was a problem hiding this comment.
Yes, currently the logic is to put command tlv only if there is need to send COMMAND_SWITCH_ACTIVE. Since now we remove the fixed command field from IcmpPayload and wrap it as a TLV, no TlvCommand is the same a TlvCommand with COMMAND_NONE.
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
yxieca
reviewed
Jan 7, 2022
yxieca
approved these changes
Jan 11, 2022
yxieca
pushed a commit
that referenced
this pull request
Jan 14, 2022
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
zjswhhh
pushed a commit
to zjswhhh/sonic-linkmgrd
that referenced
this pull request
Jan 19, 2022
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
zjswhhh
added a commit
to zjswhhh/sonic-linkmgrd
that referenced
this pull request
Jan 19, 2022
This reverts commit 12b9951.
zjswhhh
pushed a commit
to zjswhhh/sonic-linkmgrd
that referenced
this pull request
Jan 24, 2022
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Summary:
Fixes # (issue)
Type of change
Approach
What is the motivation for this PR?
Add TLV support for the ICMP payload.
How did you do it?
This PR introduces a few changes to
IcmpPayloadIcmpPayloadformat as:TlvCommandandTlvSentinelTlvCommandis used for signaling peer ToR to switch statusTlvSentinelis used for marking the end of the ICMP packetHow did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation