android_kernel_xiaomi_sm8350/drivers/infiniband/hw/mthca
Michael S. Tsirkin 8b7e15772a IB/mthca: Fix handling of send CQE with error for QPs connected to SRQ
mthca_free_err_wqe() currently treats both send and receive CQEs
identically if a QP is using an SRQ.  But for Tavor hardware, send
CQEs with error can be chained together even if the RQ is part of SRQ,
so we may miss some CQEs.

Fix by following the WQE chain for all send CQEs even for non-SRQ QPs.

This fixes crashes in IPoIB CM:
<https://bugs.openfabrics.org//show_bug.cgi?id=604>

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-05-29 16:07:09 -07:00
..
Kconfig
Makefile
mthca_allocator.c
mthca_av.c IB/mthca: Set GRH:HopLimit when building MLX headers 2007-05-19 08:51:56 -07:00
mthca_catas.c
mthca_cmd.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mthca_cmd.h
mthca_config_reg.h
mthca_cq.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mthca_dev.h IB: Return "maybe missed event" hint from ib_req_notify_cq() 2007-05-06 21:18:11 -07:00
mthca_doorbell.h
mthca_eq.c
mthca_mad.c
mthca_main.c IB/mthca: Fix use-after-free on device restart 2007-05-19 08:51:56 -07:00
mthca_mcg.c
mthca_memfree.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mthca_memfree.h PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
mthca_mr.c IB/mthca: Fix mthca_write_mtt() on HCAs with hidden memory 2007-04-24 16:31:04 -07:00
mthca_pd.c
mthca_profile.c IB/mthca: Merge MR and FMR space on 64-bit systems 2007-02-12 16:16:29 -08:00
mthca_profile.h
mthca_provider.c IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
mthca_provider.h IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
mthca_qp.c IB/mthca: Fix handling of send CQE with error for QPs connected to SRQ 2007-05-29 16:07:09 -07:00
mthca_reset.c
mthca_srq.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mthca_uar.c
mthca_user.h
mthca_wqe.h