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

UCP/WIREUP: Support EP reconfiguration for non wired-up scenarios #10337

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

shasson5
Copy link
Contributor

What?

UCP/WIREUP: Support EP reconfiguration for non wired-up scenarios

Why?

Another step in EP reconfiguration support

Comment on lines 1845 to 1849
for (lane = 0; lane < ucp_ep_num_lanes(ep); lane++) {
if (ucp_wireup_ep_test(ucp_ep_get_lane(ep, lane))) {
return lane;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't it be better to save wireup_ep in worker, and then access it in O(1)?

continue;
}

if (dev_count++ >= max_num_devs) {
Copy link
Contributor

@roiedanino roiedanino Dec 10, 2024

Choose a reason for hiding this comment

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

why do you need dev_count? lane has the same values here

@shasson5 shasson5 added the WIP-DNM Work in progress / Do not review label Dec 10, 2024
@shasson5 shasson5 removed the WIP-DNM Work in progress / Do not review label Dec 10, 2024
@shasson5 shasson5 requested review from yosefe and gleon99 December 10, 2024 14:22
@shasson5 shasson5 removed their assignment Dec 10, 2024
@shasson5 shasson5 force-pushed the reconf4 branch 2 times, most recently from 6194b9a to 05a18e8 Compare December 12, 2024 19:39
@shasson5 shasson5 added the WIP-DNM Work in progress / Do not review label Dec 12, 2024
@shasson5 shasson5 force-pushed the reconf4 branch 2 times, most recently from 7261edc to 3eb6604 Compare January 2, 2025 16:48
@shasson5 shasson5 requested review from yosefe and gleon99 January 2, 2025 17:54
@shasson5 shasson5 removed the WIP-DNM Work in progress / Do not review label Jan 2, 2025
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