diff options
author | Eli Cohen <eli@mellanox.co.il> | 2009-05-27 14:36:16 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-05-27 14:36:16 -0700 |
commit | c1f67a88bf62fac0f4151c007b361199c2cd1988 (patch) | |
tree | 5bb527966e1a6cd2a3c06f6df70199df948e3817 /net/atm/common.h | |
parent | 210af919c949a7d6bd330916ef376cec2907d81e (diff) |
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 'net/atm/common.h')
0 files changed, 0 insertions, 0 deletions