aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/verbs.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2015-08-10 17:09:36 -0700
committerDoug Ledford <dledford@redhat.com>2015-08-30 18:12:39 -0400
commit03f6fb93fde24f01a940283bdf55024e576ee87d (patch)
tree946ef8372221dfd5a56a1f1b7df2d98f0e1ae474 /drivers/infiniband/core/verbs.c
parentIB/srp: Register the indirect data buffer descriptor (diff)
downloadlinux-dev-03f6fb93fde24f01a940283bdf55024e576ee87d.tar.xz
linux-dev-03f6fb93fde24f01a940283bdf55024e576ee87d.zip
IB/srp: Create an insecure all physical rkey only if needed
The SRP initiator only needs this if the insecure register_always=N performance optimization is enabled, or if FRWR/FMR is not supported in the driver. Do not create an all physical MR unless it is needed to support either of those modes. Default register_always to true so the out of the box configuration does not create an insecure all physical MR. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> [bvanassche: reworked and rebased this patch] Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/verbs.c')
0 files changed, 0 insertions, 0 deletions