Whamcloud - gitweb
LU-10394 lnd: default to using MEM_REG 49/30749/5
authorAmir Shehata <amir.shehata@intel.com>
Fri, 5 Jan 2018 19:50:33 +0000 (11:50 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 9 Feb 2018 05:57:23 +0000 (05:57 +0000)
commit27116ee18c04057936837f6f0aef3f4c09c21d78
tree182e26d96c4244e31e384a7ed83c59dc7952f452
parent116c51fd3db691537fbe83a223d646ddf045bc13
LU-10394 lnd: default to using MEM_REG

There is a performance drop when using IB_MR_TYPE_SG_GAPS. To
mitigate this, we added a module parameter, use_fastreg_gaps, which
defaults to 0. When allocating the memory region if this parameter
is set to 1 and the hw has gaps support then use it and output
a warning that performance may drop. Otherwise always use
IB_MR_TYPE_MEM_REG.

Test-Parameters: trivial
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I08a8b72756b9b5b5bcb391bf3e979f6d28eb5cbb
Reviewed-on: https://review.whamcloud.com/30749
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Doug Oucharek <dougso@me.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h
lnet/klnds/o2iblnd/o2iblnd_cb.c
lnet/klnds/o2iblnd/o2iblnd_modparams.c