[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>
This commit is contained in:

committed by
Roland Dreier

父節點
64044bcf75
當前提交
ae57e24a40
@@ -49,7 +49,8 @@ enum {
|
||||
};
|
||||
|
||||
enum {
|
||||
MTHCA_INVAL_LKEY = 0x100
|
||||
MTHCA_INVAL_LKEY = 0x100,
|
||||
MTHCA_TAVOR_MAX_WQES_PER_RECV_DB = 256
|
||||
};
|
||||
|
||||
struct mthca_next_seg {
|
||||
|
Reference in New Issue
Block a user