android_kernel_motorola_sm6225/drivers/infiniband/hw
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
..
ipath IB/ipath: deref correct pointer when using kernel SMA 2006-05-23 13:29:35 -07:00
mthca IB/mthca: Fix posting lists of 256 receive requests to SRQ for Tavor 2006-05-24 13:43:37 -07:00