Skip to content
Commit 6c8c1aa2 authored by Or Gerlitz's avatar Or Gerlitz Committed by Roland Dreier
Browse files

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: default avatarOr Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent d4cb0784
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment