rdma-core:stable-v32

Last commit made on 2024-06-10
Get this branch:
git clone -b stable-v32 https://git.launchpad.net/rdma-core

Branch merges

Branch information

Name:
stable-v32
Repository:
lp:rdma-core

Recent commits

2b16db3... by Danila Chernetsov <email address hidden>

mlx5: fix error message in mlx5 verbs

[ Upstream commit eb208611b8d08883832889612d9ae597984de336 ]

The error message contains incorrect information about the error cause

Fixes: 0c7ac1083831 ("Add XRC support")
Signed-off-by: Danila Chernetsov <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

6d4fde7... by zengyijing <email address hidden>

fix potential CQ deadlock in mlx5 provider

[ Upstream commit e677dc6645bdbdbc3298200b8507e9827f8cb994 ]

We saw deadlock in mlx5_destroy_qp() if ibv_start_poll() returns EBUSY failure.
According to reference (https://man7.org/linux/man-pages/man3/ibv_create_cq_ex.3.html), if ibv_start_poll() returns error, ibv_end_poll() shouldn't be called.
Therefore, we must release the CQ lock in mlx5_start_poll() if mlx5dv_get_clock_info() returns error e.g. EBUSY.

Fixes: 4745c807 ("mlx5: Implement read_completion_wallclock_ns")
Signed-off-by: Yijing Zeng <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

4f96b4e... by Nicolas Morey <email address hidden>

Bump to version 32.13

Signed-off-by: Nicolas Morey <email address hidden>

a8b5d06... by Junxian Huang <email address hidden>

libhns: Fix several context locks issue

[ Upstream commit 6772962084dd1ee0ec277d79c63673f8736aa94f ]

Fix several context lock issue:

1. db_list_mutex is used without init currently. Add its init to
   hns_roce_alloc_context().

2. pthread_mutex_init()/pthread_spin_init() may return error value.
   Check the return value in hns_roce_alloc_context().

3. Add destruction for these context locks.

4. Encapsulate init and destruction functions for these context locks.

Fixes: 13eae8889690 ("libhns: Support rq record doorbell")
Fixes: 887b78c80224 ("libhns: Add initial main frame")
Signed-off-by: Junxian Huang <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

c507655... by Mark Zhang <email address hidden>

librdmacm: Fix an overflow bug in qsort comparison function

[ Upstream commit c4a5ac8bba611206e062c0955fb605bfc0f48b0f ]

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: e5d371cb0af0 ("librdmacm: Globally store and sort IB device list")
Signed-off-by: Mark Zhang <email address hidden>
Reviewed-by: Leon Romanovsky <email address hidden>
Signed-off-by: Yishai Hadas <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

652267c... by Oren Sidi <email address hidden>

librdmacm: Ack the pending event in sync UD connection

[ Upstream commit 9a0fc3afdc9988e4949ee1e2a0fe41058166362a ]

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: 332b203d1a30 ("librdmacm: Do not wait in rdma_accept for UD QPs")
Signed-off-by: Oren Sidi <email address hidden>
Reviewed-by: Leon Romanovsky <email address hidden>
Reviewed-by: Sean Hefty <email address hidden>
Signed-off-by: Yishai Hadas <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

26480a5... by Honggang LI <honggangli@163.com>

librdmacm: adjust ECE function name in man page

[ Upstream commit 1a302c7df2ad7851b8d5886c773f93a9370edc88 ]

Replace `ibv_get_ece()` with `ibv_query_ece()`.

Fixes: 97f8668eb53e ("librdmacm: Document ECE API")
Signed-off-by: Honggang LI <honggangli@163.com>
Signed-off-by: Nicolas Morey <email address hidden>

50026e2... by Kamal Heib <email address hidden>

providers/qedr: Fix qelr_alloc_context error flow

[ Upstream commit 7ffc47dd1ebe4c18c9a93bafbdbb408a5c2964d9 ]

Fix the error flow of qelr_alloc_context() by making sure to free the
allocated resources.

Fixes: cae4a99ae679 ("libqedr: add support for XRC-SRQ's.")
Signed-off-by: Kamal Heib <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

0ceabd5... by Nicolas Morey <email address hidden>

Bump to version 32.12

Signed-off-by: Nicolas Morey <email address hidden>

6835f90... by Yevgeny Kliteynik <email address hidden>

mlx5: DR, Use the right GVMI number for drop action

[ Upstream commit c16e771d900118180f8e3cdf22cc517ab72db75d ]

When FW provides ICM addresses for drop RX/TX, the provided capability
is 64 bits that contain its GVMI as well as the ICM address itself. In
case of TX DROP this GVMI is different from the GVMI that the domain is
operating on.

This patch fixes the action to use this GVMI ID, as provided by FW.

Fixes: 828351a7da47 ("mlx5: Expose steering action functionality")
Signed-off-by: Yevgeny Kliteynik <email address hidden>
Reviewed-by: Erez Shitrit <email address hidden>
Signed-off-by: Yishai Hadas <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>