IB/fmr: Use device's max_map_map_per_fmr attribute in FMR pool.
authorOr Gerlitz <ogerlitz@voltaire.com>
Sun, 18 Jun 2006 03:37:37 +0000 (20:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:37 +0000 (20:37 -0700)
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 <ogerlitz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found