diff options
| author | Yishai Hadas <yishaih@nvidia.com> | 2026-09-15 17:09:28 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-09-28 08:13:15 -0400 |
| commit | 28c559d1e25de46bb6dd39e6fa1e93ea6abdf1f6 (patch) | |
| tree | c99f74d3d482505e803b8fd1da7a990371944785 /tools/lib/python/kdoc | |
| parent | 4354ab7a85d1ddd45a8a3337227fad5b37b44902 (diff) | |
RDMA/mlx5: Set WQ event handler before firmware RQ insertion
create_rq() inserts the RQ into dev->qp_table.tree, making it visible to
rsc_event_notifier() before rwq->core_qp.event was assigned. A firmware
WQ_CATAS_ERROR event in that window finds a NULL event pointer.
Move the assignment before create_rq().
Fixes: 350d0e4c7e4b ("IB/mlx5: Track asynchronous events on a receive work queue")
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://patch.msgid.link/20260915140933.40580-11-yishaih@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
