linux/drivers/infiniband/hw/erdma
Boshi Yu a6c346760a RDMA/erdma: Support create_ah/destroy_ah in non-sleepable contexts
The RDMA CM module might invoke erdma_create_ah() or erdma_destroy_ah()
in a non-sleepable context. Both of these functions will call the
erdma_post_cmd_wait(), which can potentially sleep and occasionally lead
to a hard lockup. Therefore, post the create_ah and destroy_ah commands in
polling mode if the RDMA_CREATE_AH_SLEEPABLE and RDMA_DESTROY_AH_SLEEPABLE
flags are not set, respectively.

Reviewed-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Boshi Yu <boshiyu@linux.alibaba.com>
Link: https://patch.msgid.link/20241226084141.74823-5-boshiyu@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2024-12-30 13:42:52 -05:00
..
erdma.h RDMA/erdma: Support non-sleeping erdma_post_cmd_wait() 2024-12-30 13:42:52 -05:00
erdma_cm.c RDMA/erdma: Refactor the code of the modify_qp interface 2024-12-16 08:20:05 -05:00
erdma_cm.h RDMA/erdma: Unify byte ordering APIs usage 2023-03-22 13:10:46 +02:00
erdma_cmdq.c RDMA/erdma: Support non-sleeping erdma_post_cmd_wait() 2024-12-30 13:42:52 -05:00
erdma_cq.c RDMA/erdma: Support UD QPs and UD WRs 2024-12-16 08:20:05 -05:00
erdma_eq.c RDMA/erdma: Support non-sleeping erdma_post_cmd_wait() 2024-12-30 13:42:52 -05:00
erdma_hw.h RDMA/erdma: Support UD QPs and UD WRs 2024-12-16 08:20:05 -05:00
erdma_main.c RDMA/erdma: Support non-sleeping erdma_post_cmd_wait() 2024-12-30 13:42:52 -05:00
erdma_qp.c RDMA/erdma: Support non-sleeping erdma_post_cmd_wait() 2024-12-30 13:42:52 -05:00
erdma_verbs.c RDMA/erdma: Support create_ah/destroy_ah in non-sleepable contexts 2024-12-30 13:42:52 -05:00
erdma_verbs.h RDMA/erdma: Refactor the code of the modify_qp interface 2024-12-16 08:20:05 -05:00
Kconfig RDMA/erdma: Probe the erdma RoCEv2 device 2024-12-16 08:20:05 -05:00
Makefile RDMA/erdma: Add driver to kernel build environment 2022-07-27 16:04:05 -03:00