IB/core: add a need_inval flag to struct ib_mr
authorSteve Wise <swise@chelsio.com>
Tue, 3 May 2016 16:01:08 +0000 (18:01 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 17:37:19 +0000 (13:37 -0400)
commitd4a85c309b33f93cb211f2fa9d26fa77d0bb7b5e
treee8a272aaa3a9a9bf3d6d355af58bcb4cf09bca82
parentfffb0383cf0b433ad029d19e6e9d6f1f46523ace
IB/core: add a need_inval flag to struct ib_mr

This is the first step toward moving MR invalidation decisions
to the core.  It will be needed by the upcoming RW API.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h