diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2006-05-18 18:32:54 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-05-18 11:37:03 -0700 |
commit | 23f3bc0f2c1e26215b671499c07047c325d54d9c (patch) | |
tree | a76e595b413de71d7f6fae1d959566447e1f6c5e /block/scsi_ioctl.c | |
parent | 0cb4fe8d2658dc0bd1accfbb74ee288a9d6788f4 (diff) |
IB/mthca: Fix posting lists of 256 receive requests for Tavor
If we post a list of length 256 exactly, 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.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions