From: Sagi Grimberg Date: Wed, 5 Mar 2014 17:43:40 +0000 (+0200) Subject: IB/iser: Push the decision what memory key to use into fast_reg_mr routine X-Git-Tag: v3.15-rc1~103^2^4~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d11ec4ecf022f49df33a784f0cf445638573f577;p=pandora-kernel.git IB/iser: Push the decision what memory key to use into fast_reg_mr routine This is a preparation step for T10-PI offload support. We prefer to push the desicion of which mkey to use (global or fastreg) to iser_fast_reg_mr. We choose to do this since in T10-PI we may need to register for protection buffers and in this case we wish to simplify iser_fast_reg_mr instead of repeating the logic of which key to use. This patch does not change any functionality. Signed-off-by: Sagi Grimberg Signed-off-by: Alex Tabachnik Signed-off-by: Roland Dreier --- Reading git-diff-tree failed