summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/iser/iser_verbs.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2015-08-06 18:33:02 +0300
committerDoug Ledford <dledford@redhat.com>2015-08-30 18:12:31 -0400
commit32467c420bb68776ebaa53ddf6712e1dba7bb5da (patch)
tree8c9b19f1c5a5e6e624444e745e45a35a9fbe701d /drivers/infiniband/ulp/iser/iser_verbs.c
parent81722909c8f78ee2db62373a74ec2ecb709c112e (diff)
downloadop-kernel-dev-32467c420bb68776ebaa53ddf6712e1dba7bb5da.zip
op-kernel-dev-32467c420bb68776ebaa53ddf6712e1dba7bb5da.tar.gz
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 <sagig@mellanox.com> Signed-off-by: Adir Lev <adirl@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iser_verbs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud