linux/drivers/infiniband/hw
Jack Morgenstein c8681f1401 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 <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-06-21 13:39:10 -07:00
..
amso1100 [IPV4]: Convert IPv4 devconf to an array 2007-06-07 13:39:13 -07:00
cxgb3
ehca IB/ehca: Fix number of send WRs reported for new QP 2007-05-24 14:02:39 -07:00
ipath
mlx4 IB/mlx4: Correct max_srq_wr returned from mlx4_ib_query_device() 2007-06-21 13:39:10 -07:00
mthca IB/mthca, mlx4_core: Fix typo in comment 2007-06-07 11:51:59 -07:00