From: Bart Van Assche Date: Tue, 11 Aug 2015 00:09:36 +0000 (-0700) Subject: IB/srp: Create an insecure all physical rkey only if needed X-Git-Tag: omap-for-v4.3/fixes-rc1~52^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f6fb93fde24f01a940283bdf55024e576ee87d;p=pandora-kernel.git 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 [bvanassche: reworked and rebased this patch] Signed-off-by: Bart Van Assche Signed-off-by: Doug Ledford --- Reading git-diff-tree failed