diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2006-05-24 18:27:07 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-05-24 13:43:37 -0700 |
commit | ab28b171eabc0a414e0404844453c11af3caed10 (patch) | |
tree | 35c7037516ec32da168468823c1fbba96a930eb2 /drivers/infiniband/hw/mthca/mthca_av.c | |
parent | da8bacf6d59288ef3e41389db24886c928dcbd33 (diff) |
IB/mthca: Fix posting lists of 256 receive requests to SRQ for Tavor
If we post a list of length exactly a multiple of 256, nreq in
doorbell gets set to 256 which is wrong: it should be encoded by 0.
This is because we only zero it out on the next WR, which may not be
there. The solution is to ring the doorbell after posting a WQE, not
before posting the next one.
This is the same bug that we just fixed for QPs with non-shared RQ.
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_av.c')
0 files changed, 0 insertions, 0 deletions