bianbu-linux-6.6/drivers/infiniband/sw/siw
Bernard Metzler b43a76f423 RDMA/siw: Fix broken RDMA Read Fence/Resume logic.
Code unconditionally resumed fenced SQ processing after next RDMA Read
completion, even if other RDMA Read responses are still outstanding, or
ORQ is full. Also adds comments for better readability of fence
processing, and removes orq_get_tail() helper, which is not needed
anymore.

Fixes: 8b6a361b8c ("rdma/siw: receive path")
Fixes: a531975279 ("rdma/siw: main include file")
Link: https://lore.kernel.org/r/20220130170815.1940-1-bmt@zurich.ibm.com
Reported-by: Jared Holzman <jared.holzman@excelero.com>
Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-02-01 09:54:28 -04:00
..
iwarp.h RDMA: Delete not-used static inline functions 2021-03-22 09:31:19 -03:00
Kconfig RDMA/core: remove use of dma_virt_ops 2020-11-17 15:22:07 -04:00
Makefile
siw.h RDMA/siw: Fix broken RDMA Read Fence/Resume logic. 2022-02-01 09:54:28 -04:00
siw_cm.c RDMA: Remove redundant 'flush_workqueue()' calls 2021-10-12 13:21:23 -03:00
siw_cm.h
siw_cq.c RDMA/siw: Simplify QP representation 2020-01-03 15:54:09 -04:00
siw_main.c RDMA/siw: make use of the helper function kthread_run_on_cpu() 2022-01-15 16:30:23 +02:00
siw_mem.c RDMA/siw: Fix a use after free in siw_alloc_mr 2021-04-27 15:19:21 -03:00
siw_mem.h RDMA: Delete not-used static inline functions 2021-03-22 09:31:19 -03:00
siw_qp.c RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
siw_qp_rx.c RDMA/siw: Fix broken RDMA Read Fence/Resume logic. 2022-02-01 09:54:28 -04:00
siw_qp_tx.c RDMA/siw: Convert siw_tx_hdt() to kmap_local_page() 2021-07-15 14:42:21 -03:00
siw_verbs.c RDMA/siw: Fix refcounting leak in siw_create_qp() 2022-01-28 11:41:17 -04:00
siw_verbs.h RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00