]> err.no Git - linux-2.6/commit
IB/mthca: Fix posting >255 recv WRs for Tavor
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>
Mon, 14 May 2007 04:26:51 +0000 (07:26 +0300)
committerRoland Dreier <rolandd@cisco.com>
Mon, 14 May 2007 21:10:34 +0000 (14:10 -0700)
commit3e28c56b9b67347b42ba06f9a9373b408902beee
treea1aad69f682c6f76e989dd871dcc2e954d0ae5ab
parent6c719f5c6c823901fac2d46b83db5a69ba7e9152
IB/mthca: Fix posting >255 recv WRs for Tavor

Fix posting lists of > 255 receive WRs for Tavor: rq.next_ind must
be updated each doorbell, otherwise the next doorbell will use an
incorrect index.

Found by Ronni Zimmermann at Mellanox.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c