IB/mthca: fix posting of send lists of length >= 255 on mem-free HCAs
authorMichael S. Tsirkin <mst@mellanox.co.il>
Tue, 29 Nov 2005 19:33:46 +0000 (11:33 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 29 Nov 2005 19:33:46 +0000 (11:33 -0800)
commite0ae9ecf469fdd3c1ad999efbf4fe6b782f49900
tree9896d3c1093ded78c62da6b9a52b71e282c763e0
parent267ee88ed34c76dc527eeb3d95f9f9558ac99973
IB/mthca: fix posting of send lists of length >= 255 on mem-free HCAs

On mem-free HCAs, when posting a long list of send requests, a
doorbell must be rung every 255 requests.  Add code to handle this.

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_wqe.h