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

librdmacm: Misc. fixes #1458

Merged
merged 2 commits into from May 8, 2024
Merged

librdmacm: Misc. fixes #1458

merged 2 commits into from May 8, 2024

Conversation

yishaih
Copy link
Member

@yishaih yishaih commented May 5, 2024

This PR introduces two fixes in librdmacm, details exist as part of the commit logs.

Oren Sidi and others added 2 commits May 5, 2024 10:42
When the server accepts a UD connection request in sync mode,
the event needs to be acked, otherwise destroying the
listening id would get stuck because there is a pending event.
For RC, the event is acked in ucma_complete().

Fixes: 332b203 ("librdmacm: Do not wait in rdma_accept for UD QPs")
Signed-off-by: Oren Sidi <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Reviewed-by: Sean Hefty <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
The comparison function dev_cmp() doesn't work with 64b pointers in some
cases, as it casts the pointer to int. For example it's not able to sort
this list:
  {0xfffe0c2f0b00, 0xaaac741b4a90, 0xaaac741b4d70}

Fixes: e5d371c ("librdmacm: Globally store and sort IB device list")
Signed-off-by: Mark Zhang <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
@rleon rleon merged commit 311c591 into linux-rdma:master May 8, 2024
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
3 participants