Whamcloud - gitweb
LU-10129 lnd: set device capabilities 09/30309/4
authorAmir Shehata <amir.shehata@intel.com>
Tue, 28 Nov 2017 00:13:51 +0000 (16:13 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 17 Dec 2017 06:17:33 +0000 (06:17 +0000)
commit70a73c52d5a780e580e49ccfa778c4beab340c9c
tree20e199bd64925805b09dfbb30fa40e8dd1d1dc91
parent3442db6faf685fbdbd092bdfdc8d273e4990a141
LU-10129 lnd: set device capabilities

MLX-4, MLX-5 and OPA support different capabilities. Query the
device and cache the capabilities of the device for future use.

MLX5 can support fast registration and gaps
MLX4 and OPA only support FMR

Test-Parameters: trivial
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I70d468f8af52d263139e7b51341bf4b5150b89c1
Reviewed-on: https://review.whamcloud.com/30309
Reviewed-by: Alexey Lyashkov <c17817@cray.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h