From: Sagi Grimberg Date: Tue, 14 Apr 2015 15:08:25 +0000 (+0300) Subject: IB/iser: Pass struct iser_mem_reg to iser_fast_reg_mr and iser_reg_sig_mr X-Git-Tag: omap-for-v4.2/o2_dc~38^2^3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ef8bb837dd7e60f078084d4842a43fd163fb4a2;p=pandora-kernel.git IB/iser: Pass struct iser_mem_reg to iser_fast_reg_mr and iser_reg_sig_mr Instead of passing ib_sge as output variable, we pass the mem_reg pointer to have the routines fill the rkey as well. This reduces code duplication and extra assignments. This is a preparation step to unify some registration logics together. Also, pass iser_fast_reg_mr the fastreg descriptor directly. This patch does not change any functionality. Signed-off-by: Sagi Grimberg Signed-off-by: Adir Lev Signed-off-by: Doug Ledford --- Reading git-diff-tree failed