From: Sagi Grimberg Date: Thu, 6 Aug 2015 15:33:02 +0000 (+0300) Subject: IB/iser: Unify fast memory registration flows X-Git-Tag: omap-for-v4.3/fixes-rc1~52^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32467c420bb68776ebaa53ddf6712e1dba7bb5da;p=pandora-kernel.git IB/iser: Unify fast memory registration flows iser_reg_rdma_mem_[fastreg|fmr] share a lot of code, and logically do the same thing other than the buffer registration method itself (iser_fast_reg_mr vs. iser_fast_reg_fmr). The DIF logic is not implemented in the FMR flow as there is no existing device that supports FMRs and Signature feature. This patch unifies the flow in a single routine iser_reg_rdma_mem and just split to fmr/frwr for the buffer registration itself. Also, for symmetry reasons, unify iser_unreg_rdma_mem (which will call the relevant device specific unreg routine). Signed-off-by: Sagi Grimberg Signed-off-by: Adir Lev Signed-off-by: Doug Ledford --- Reading git-diff-tree failed