commit | 6c8c1aa25d213a288df381f431ce5b6a155146ec | [log] [tgz] |
---|---|---|
author | Or Gerlitz <ogerlitz@voltaire.com> | Sat Jun 17 20:37:37 2006 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Sat Jun 17 20:37:37 2006 -0700 |
tree | 379670131076d3ca0af68f9e91f6f038e86e0e96 | |
parent | d4cb0784fd1ea99ef3d20526811bd5608146fe60 [diff] |
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 <ogerlitz@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>