summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_wqe.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@mellanox.co.il>2005-11-29 11:33:46 -0800
committerRoland Dreier <rolandd@cisco.com>2005-11-29 11:33:46 -0800
commite0ae9ecf469fdd3c1ad999efbf4fe6b782f49900 (patch)
tree9896d3c1093ded78c62da6b9a52b71e282c763e0 /drivers/infiniband/hw/mthca/mthca_wqe.h
parent267ee88ed34c76dc527eeb3d95f9f9558ac99973 (diff)
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>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_wqe.h')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_wqe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_wqe.h b/drivers/infiniband/hw/mthca/mthca_wqe.h
index 73f1c0b9021..e7d2c1e8619 100644
--- a/drivers/infiniband/hw/mthca/mthca_wqe.h
+++ b/drivers/infiniband/hw/mthca/mthca_wqe.h
@@ -50,7 +50,8 @@ enum {
enum {
MTHCA_INVAL_LKEY = 0x100,
- MTHCA_TAVOR_MAX_WQES_PER_RECV_DB = 256
+ MTHCA_TAVOR_MAX_WQES_PER_RECV_DB = 256,
+ MTHCA_ARBEL_MAX_WQES_PER_SEND_DB = 255
};
struct mthca_next_seg {