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

UCT/IB: complete RX CQ cleanup on device failure #231

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

evgeny-leksikov
Copy link
Collaborator

fix a stuck on CQ resources cleanup in case of device fatal error

Copy link
Owner

@yosefe yosefe left a comment

Choose a reason for hiding this comment

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

pls add a similar w/a to integration4 as well

@@ -298,6 +298,10 @@ static void uct_ib_async_event_handler(int fd, void *arg)
level = UCS_LOG_LEVEL_DEBUG;
break;
case IBV_EVENT_DEVICE_FATAL:
ucs_assert(event.element.port_num == 0);
Copy link
Owner

Choose a reason for hiding this comment

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

why needed?
maybe just pass 0 instead of event.element.port_num?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@evgeny-leksikov
Copy link
Collaborator Author

pls add a similar w/a to integration4 as well

ok

@yosefe yosefe merged commit 0610d17 into yosefe:integration3 Jan 10, 2022
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.

3 participants