From: Or Gerlitz Date: Sun, 18 Jun 2006 03:37:37 +0000 (-0700) Subject: IB/fmr: Use device's max_map_map_per_fmr attribute in FMR pool. X-Git-Tag: v2.6.18-rc1~1110^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c8c1aa25d213a288df381f431ce5b6a155146ec;p=pandora-kernel.git IB/fmr: Use device's max_map_map_per_fmr attribute in FMR pool. When creating a FMR pool, query the IB device and use the returned max_map_map_per_fmr attribute as for the max number of FMR remaps. If the device does not suport querying this attribute, use the original IB_FMR_MAX_REMAPS (32) default. Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed