[IB] mthca: fix posting long lists of receive work requests
authorMichael S. Tsirkin <mst@mellanox.co.il>
Wed, 9 Nov 2005 22:59:57 +0000 (14:59 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 10 Nov 2005 18:22:51 +0000 (10:22 -0800)
commitae57e24a4006fd46b73d842ee99db9580ef74a02
tree17115437026be55dcd74641be21561fecf33dcdb
parent64044bcf75063cb5a6d42712886a712449df2ce3
[IB] mthca: fix posting long lists of receive work requests

In Tavor mode, when posting a long list of receive work requests, a
doorbell must be rung every 256 requests.  Add code to do this when
required.

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