alistair23-linux/drivers/infiniband/hw
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
..
amso1100 IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
cxgb3 IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
ehca IB/ehca: Fix number of send WRs reported for new QP 2007-05-24 14:02:39 -07:00
ipath IB/ipath: Fix potential deadlock with multicast spinlocks 2007-05-19 08:51:53 -07:00
mlx4 IB/mlx4: Initialize send queue entry ownership bits 2007-05-24 14:02:38 -07:00
mthca IB/mthca: Fix handling of send CQE with error for QPs connected to SRQ 2007-05-29 16:07:09 -07:00