summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/amso1100
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.co.il>2009-05-28 01:36:16 +0400
committerRoland Dreier <rolandd@cisco.com>2009-05-28 01:36:16 +0400
commitc1f67a88bf62fac0f4151c007b361199c2cd1988 (patch)
tree5bb527966e1a6cd2a3c06f6df70199df948e3817 /drivers/infiniband/hw/amso1100
parent210af919c949a7d6bd330916ef376cec2907d81e (diff)
downloadlinux-c1f67a88bf62fac0f4151c007b361199c2cd1988.tar.xz
IB/mthca: Add module parameter for number of MTTs per segment
The current MTT allocator uses kmalloc() to allocate a buffer for its buddy allocator, and thus is limited in the amount of MTT segments that it can control. As a result, the size of memory that can be registered is limited too. This patch uses a module parameter to control the number of MTT entries that each segment represents, allowing more memory to be registered with the same number of segments. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/amso1100')
0 files changed, 0 insertions, 0 deletions