UCP/WIREUP: Support Race EP reconfiguration - Deprecated
What
Support reconfiguration of EP in case that dest EP selected different config. This PR handles race use case.
Why ?
Solve wire compatability issues and prepare for RC/DC support.
How
- Remove unused assertions to allow non CM flow to be reconfigured.
- Lanes intersection is done by checking which lanes are already connected to a remote side (instead of comparing dst_rsc_index).
- Local-remote lanes mapping is keeping reused lanes with the same mapping, and only assigns new mapping to new lanes.
- Allow wireup_ep to be reconfigured.
- Fix AUX lane selection to support reconfiguration.
- Disable EP connection flags (LOCAL/REMOTE_CONNECTED) during reconfiguration.
@shasson5 In PR description:
- As it is not trivial, please add the "How" section.
- Motivation ("why") - also for RC/DC support preparation.
- Start sentences with capital letters.
pls consider adding gtests for non-draft version
Please review pipeline failures, they are relevant.
/azp run
Azure Pipelines successfully started running 4 pipeline(s), but failed to run 1 pipeline(s).
/azp run perf
Azure Pipelines successfully started running 1 pipeline(s).
/azp run
Azure Pipelines successfully started running 3 pipeline(s), but failed to run 1 pipeline(s).
as we discussed, this PR is not yet ready for review, will update when it is ready
@gleon99 @yosefe please review
Looks mostly ok. @yosefe ?
/azp run
Azure Pipelines successfully started running 3 pipeline(s), but failed to run 1 pipeline(s).
/azp run
Azure Pipelines successfully started running 4 pipeline(s).
@shasson5 please change the PR title so that it represents its goal and what it does (handle / fix / support / etc).
In PR description:
- dsr_rsc_index ->
dst_rsc_index. - Please add some details in the "How" part.