linux_dsm_epyc7002/drivers/infiniband/hw
Raju Rangoju 11a27e2121 iw_cxgb4: complete the cached SRQ buffers
If TP fetches an SRQ buffer but ends up not using it before the connection
is aborted, then it passes the index of that SRQ buffer to the host in
ABORT_REQ_RSS or ABORT_RPL CPL message.

But, if the srqidx field is zero in the received ABORT_RPL or
ABORT_REQ_RSS CPL, then we need to read the tcb.rq_start field to see if
it really did have an RQE cached. This works around a case where HW does
not include the srqidx in the ABORT_RPL/ABORT_REQ_RSS CPL.

The final value of rq_start is the one present in TCB with the
TF_RX_PDU_OUT bit cleared. So, we need to read the TCB, examine the
TF_RX_PDU_OUT (bit 49 of t_flags) in order to determine if there's a rx
PDU feedback event pending.

Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-02-08 17:02:05 -07:00
..
bnxt_re RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
cxgb3 RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
cxgb4 iw_cxgb4: complete the cached SRQ buffers 2019-02-08 17:02:05 -07:00
hfi1 drivers/IB,hfi1: do not se mmap_sem 2019-02-07 12:54:02 -07:00
hns RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
i40iw RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
mlx4 RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
mlx5 RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
mthca RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
nes RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
ocrdma RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
qedr RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
qib drivers/IB,qib: optimize mmap_sem usage 2019-02-07 12:54:02 -07:00
usnic RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
vmw_pvrdma RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00