linux/drivers/infiniband
Junxian Huang 6afa2c0bfb RDMA/hns: Check atomic wr length
8 bytes is the only supported length of atomic. Add this check in
set_rc_wqe(). Besides, stop processing WQEs and return from
set_rc_wqe() if there is any error.

Fixes: 384f881851 ("RDMA/hns: Add atomic support")
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20240710133705.896445-2-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2024-07-11 13:25:11 +03:00
..
core RDMA/core: Introduce "name_assign_type" for an IB device 2024-07-04 07:59:53 +03:00
hw RDMA/hns: Check atomic wr length 2024-07-11 13:25:11 +03:00
sw RDMA/core: Introduce "name_assign_type" for an IB device 2024-07-04 07:59:53 +03:00
ulp IB/isert: remove the handling of last WQE reached event 2024-06-26 10:53:29 -03:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile