IB/mad: Remove ib_get_dma_mr calls
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Thu, 30 Jul 2015 23:22:16 +0000 (17:22 -0600)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:33 +0000 (18:12 -0400)
commit4be90bc60df47f6268b594c4fb6c90f0ff2f519f
tree1a25d794b7a64a5340e74badc7a5c1b19ab08426
parent96249d70dd70496084c7ec1465ec449cd032955a
IB/mad: 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>
drivers/infiniband/core/mad.c
drivers/infiniband/core/mad_priv.h
include/rdma/ib_mad.h