summaryrefslogtreecommitdiffstats
path: root/net/rds/ib.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>2015-07-30 17:22:26 -0600
committerDoug Ledford <dledford@redhat.com>2015-08-30 18:12:36 -0400
commite5580242aa8fab292579a1661463f7479275f7ff (patch)
tree2616a0aa9c3db96deec740b61f4b31acae0c47b9 /net/rds/ib.h
parent2f31fa881fbe70808b945a6d23cae1ca8eadf1b3 (diff)
downloadlinux-e5580242aa8fab292579a1661463f7479275f7ff.tar.gz
linux-e5580242aa8fab292579a1661463f7479275f7ff.tar.bz2
linux-e5580242aa8fab292579a1661463f7479275f7ff.zip
rds/ib: Remove ib_get_dma_mr calls
The pd now has a local_dma_lkey member which completely replaces ib_get_dma_mr, use it instead. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/rds/ib.h')
-rw-r--r--net/rds/ib.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/rds/ib.h b/net/rds/ib.h
index 86d88ec5d556..36f7d808ffaa 100644
--- a/net/rds/ib.h
+++ b/net/rds/ib.h
@@ -100,7 +100,6 @@ struct rds_ib_connection {
/* alphabet soup, IBTA style */
struct rdma_cm_id *i_cm_id;
struct ib_pd *i_pd;
- struct ib_mr *i_mr;
struct ib_cq *i_send_cq;
struct ib_cq *i_recv_cq;
@@ -173,7 +172,6 @@ struct rds_ib_device {
struct list_head conn_list;
struct ib_device *dev;
struct ib_pd *pd;
- struct ib_mr *mr;
struct rds_ib_mr_pool *mr_pool;
unsigned int fmr_max_remaps;
unsigned int max_fmrs;