diff options
author | Chuck Lever | 2015-08-03 19:03:30 +0200 |
---|---|---|
committer | Anna Schumaker | 2015-08-05 22:21:27 +0200 |
commit | d1ed857e5707e073973cfb1b8df801053a356518 (patch) | |
tree | d5c82bf45923217d43e29404cd8f4b603e4faa57 /net/sunrpc/xprtrdma/xprt_rdma.h | |
parent | xprtrdma: Remove last ib_reg_phys_mr() call site (diff) | |
download | kernel-qcow2-linux-d1ed857e5707e073973cfb1b8df801053a356518.tar.gz kernel-qcow2-linux-d1ed857e5707e073973cfb1b8df801053a356518.tar.xz kernel-qcow2-linux-d1ed857e5707e073973cfb1b8df801053a356518.zip |
xprtrdma: Clean up rpcrdma_ia_open()
Untangle the end of rpcrdma_ia_open() by moving DMA MR set-up, which
is different for each registration method, to the .ro_open functions.
This is refactoring only. No behavior change is expected.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/xprt_rdma.h')
-rw-r--r-- | net/sunrpc/xprtrdma/xprt_rdma.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h index ce4e79e4cf1d..82190118b8d9 100644 --- a/net/sunrpc/xprtrdma/xprt_rdma.h +++ b/net/sunrpc/xprtrdma/xprt_rdma.h @@ -65,9 +65,8 @@ struct rpcrdma_ia { struct ib_device *ri_device; struct rdma_cm_id *ri_id; struct ib_pd *ri_pd; - struct ib_mr *ri_bind_mem; + struct ib_mr *ri_dma_mr; u32 ri_dma_lkey; - int ri_have_dma_lkey; struct completion ri_done; int ri_async_rc; unsigned int ri_max_frmr_depth; |