UCP/WIREUP: Support EP reconfiguration for non-reused p2p scenarios
What
Support partial EP reconfiguration: only non-reused, fully wired-up scenarios. (Lanes must not be reused and must all be p2p).
Why ?
PR 2 for EP reconfiguration.
How ?
Add a new function for replacing wireup lane by moving internal AUX EP to the new lane. The following steps are performed:
- Set uct_ep to be used for new lane: a) for CM flow -> use CM EP. b) otherwise -> create a new wireup_ep.
- Move aux ep from old config to new wireup lane.
- Delete old wireup lane.
- Select lane to be used as new wireup lane: a) for CM flow -> use CM lane. b) otherwise -> select a random lane. (Will be modified in next PRs to look for a non-reused lane).
@yosefe @gleon99 please review
@shasson5 please see clang-format output.
/azp run
Azure Pipelines successfully started running 5 pipeline(s).
/azp run
Azure Pipelines successfully started running 5 pipeline(s).
@yosefe please look, as discussed
@yosefe please approve