summaryrefslogtreecommitdiffstats
path: root/lib/int_sqrt.c
diff options
context:
space:
mode:
authorDotan Barak <dotanb@mellanox.co.il>2006-03-20 19:08:26 +0100
committerRoland Dreier <rolandd@cisco.com>2006-03-20 19:08:26 +0100
commite10e271bfd295bf805dc294460868e1deb938211 (patch)
treed2821657636e831e602f86baeabc3523a8e41285 /lib/int_sqrt.c
parentIB/mad: Fix oopsable race on device removal (diff)
downloadlinux-e10e271bfd295bf805dc294460868e1deb938211.tar.xz
linux-e10e271bfd295bf805dc294460868e1deb938211.zip
IB/mthca: Correct reported SRQ size in MemFree case.
MemFree devices need to reserve one shared receive queue (SRQ) work request for internal use, so the capacity returned from the create_srq and query_srq methods should be srq->max - 1. Signed-off-by: Dotan Barak <dotanb@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'lib/int_sqrt.c')
0 files changed, 0 insertions, 0 deletions