diff options
| author | Jack Morgenstein <[email protected]> | 2007-06-21 13:39:10 -0700 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2007-06-21 13:39:10 -0700 |
| commit | c8681f14013d3ad2fc4fb4e30cfd4ea548f7a249 (patch) | |
| tree | 4ea047565dcc3340dcd473fca5579a5cb2de349a /include/linux/debugobjects.h | |
| parent | 13ef5f44c3931dff1d75443a875e97b588d4b8f0 (diff) | |
IB/mlx4: Correct max_srq_wr returned from mlx4_ib_query_device()
We need to keep a spare entry in the SRQ so that there always is a
next WQE available when posting receives (so that we can tell the
difference between a full queue and an empty queue). So subtract 1
from the value HW gives us before reporting the limit on SRQ entries
to consumers.
Found by Mellanox QA.
Signed-off-by: Jack Morgenstein <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions