kernel-ark/drivers/infiniband
Michael S. Tsirkin ab28b171ea IB/mthca: Fix posting lists of 256 receive requests to SRQ for Tavor
If we post a list of length exactly a multiple of 256, nreq in
doorbell gets set to 256 which is wrong: it should be encoded by 0.
This is because we only zero it out on the next WR, which may not be
there.  The solution is to ring the doorbell after posting a WQE, not
before posting the next one.

This is the same bug that we just fixed for QPs with non-shared RQ.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-05-24 13:43:37 -07:00
..
core IB/uverbs: Don't leak ref to mm on error path 2006-05-17 22:20:50 -07:00
hw IB/mthca: Fix posting lists of 256 receive requests to SRQ for Tavor 2006-05-24 13:43:37 -07:00
ulp IB/srp: Complete correct SCSI commands on device reset 2006-05-17 09:20:48 -07:00
Kconfig
Makefile