diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2006-10-09 18:06:32 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-10-10 21:50:38 +0200 |
commit | 2cbe19d48af198f0070470a2d836828de24fe163 (patch) | |
tree | 4e6c27a49dc2aa5a4cf3c026b8cdcbfe9b15be72 /init | |
parent | IPoIB: Check for DMA mapping error for TX packets (diff) | |
download | linux-2cbe19d48af198f0070470a2d836828de24fe163.tar.xz linux-2cbe19d48af198f0070470a2d836828de24fe163.zip |
IB/mthca: Fix off-by-one in mthca SRQ creation
All HCAs (not just mem-free) need a spare SRQ entry, so bump srq->max
by 1 in all cases.
Noted by Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions