Skip to content

ntb_hw_switchtec: remove unnecessary shared MW reinit in crosslink case#53

Merged
wesleywesley merged 1 commit intodevelfrom
peer_reinit_xlink
Dec 17, 2018
Merged

ntb_hw_switchtec: remove unnecessary shared MW reinit in crosslink case#53
wesleywesley merged 1 commit intodevelfrom
peer_reinit_xlink

Conversation

@wesleywesley
Copy link
Copy Markdown
Contributor

The reinit of shared MW when receive FORCE_LINK_DOWN message is
required for non-crosslink case, because the LUT settings for shared
MW of peer is reset after reboot.
But in crosslink case, the LUT setttings in the virtual partition
will not be impact by the peer's reboot, therefore it is unnecessary
to reinit it.

Signed-off-by: Wesley Sheng wesley.sheng@microchip.com

@wesleywesley wesleywesley requested review from a user, kelvin-cao and lsgunth December 14, 2018 03:07
The reinit of shared MW when receive FORCE_LINK_DOWN message is
required for non-crosslink case, because the LUT settings for shared
MW of peer is reset after reboot.
But in crosslink case, the LUT setttings in the virtual partition
will not be impact by the peer's reboot, therefore it is unnecessary
to reinit it.

Signed-off-by: Wesley Sheng <wesley.sheng@microchip.com>
@wesleywesley wesleywesley merged commit e2a4d10 into devel Dec 17, 2018
@wesleywesley wesleywesley deleted the peer_reinit_xlink branch February 13, 2019 06:12
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