summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@nvidia.com>2026-09-15 17:09:26 +0300
committerLeon Romanovsky <leon@kernel.org>2026-09-28 08:13:09 -0400
commit4354ab7a85d1ddd45a8a3337227fad5b37b44902 (patch)
tree5e6267a4b43f8a1ff226f46f8f46504d14e2e815 /tools/lib/python/kdoc/python_version.py
parentdfc5334af5667e2ef24c54ec9ce88c4eb1cdba64 (diff)
RDMA/mlx5: Fix mlx5_ib_dev_res_init() failure when XRC cap is absent
mlx5_ib_dev_res_init() returns -EOPNOTSUPP when the firmware XRC capability is absent, failing driver probe on XRC-less devices. Make XRC optional throughout the devr resource path: initialize cq_lock and srq_lock unconditionally (needed for every QP creation), skip xrcd allocation and the XRC-type placeholder SRQ (s0) when xrc=0, and guard their cleanup paths accordingly. Fixes: f4375443b786 ("RDMA/mlx5: Get XRCD number directly for the internal use") Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://patch.msgid.link/20260915140933.40580-9-yishaih@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions