android_kernel_xiaomi_sm8350/drivers/infiniband/ulp/srp
Roland Dreier 47f2bce902 [IB] srp: don't post receive if no send buf available
Have __srp_get_tx_iu() fail if the target port's request limit will
not allow the initiator to post a send.  This avoids continuing on and
posting a receive, and then failing to post a corresponding send.  If
that happens, then the initiator will end up with an extra receive
posted, and if this happens to much, the receive queue will overflow.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2005-11-15 00:19:21 -08:00
..
ib_srp.c [IB] srp: don't post receive if no send buf available 2005-11-15 00:19:21 -08:00
ib_srp.h [IB] srp: increase max_luns 2005-11-11 14:06:01 -08:00
Kbuild IB: Add SCSI RDMA Protocol (SRP) initiator 2005-11-02 14:07:13 -08:00
Kconfig IB: Add SCSI RDMA Protocol (SRP) initiator 2005-11-02 14:07:13 -08:00