diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2005-11-29 22:33:46 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-11-29 22:33:46 +0300 |
commit | e0ae9ecf469fdd3c1ad999efbf4fe6b782f49900 (patch) | |
tree | 9896d3c1093ded78c62da6b9a52b71e282c763e0 /drivers/infiniband/hw/mthca/mthca_wqe.h | |
parent | 267ee88ed34c76dc527eeb3d95f9f9558ac99973 (diff) | |
download | linux-e0ae9ecf469fdd3c1ad999efbf4fe6b782f49900.tar.xz |
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.h | 3 |
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 73f1c0b9021e..e7d2c1e86199 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 { |