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

pyverbs: Expose fd of ibv_comp_channel. #1564

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

heiner
Copy link
Contributor

@heiner heiner commented Feb 19, 2025

This allows using pollfd to wait with a timeout, e.g. as in https://www.rdmamojo.com/2013/03/09/ibv_get_cq_event/

I found it hard to use ibv_get_cq_event in a race-free way without setting the fd to O_NONBLOCK.

This allows using pollfd to wait with a timeout, e.g. as in
https://www.rdmamojo.com/2013/03/09/ibv_get_cq_event/

Signed-off-by: Heiner <[email protected]>
@heiner heiner force-pushed the pyverbs-comp_channel-fd branch from f93cb53 to 71e7499 Compare February 19, 2025 19:47
@jgunthorpe jgunthorpe merged commit 4e4674c into linux-rdma:master Feb 20, 2025
14 checks passed
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