From: Eli Cohen Date: Wed, 27 May 2009 21:38:34 +0000 (-0700) Subject: mlx4_core: Add module parameter for number of MTTs per segment X-Git-Tag: v2.6.31-rc1~336^2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab6bf42e2339580b5d87746d0ff4da4b1578b03e;p=pandora-kernel.git mlx4_core: 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed