summaryrefslogtreecommitdiff
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorSteve Wise <swise@chelsio.com>2016-05-03 18:01:08 +0200
committerDoug Ledford <dledford@redhat.com>2016-05-13 13:37:19 -0400
commitd4a85c309b33f93cb211f2fa9d26fa77d0bb7b5e (patch)
treee8a272aaa3a9a9bf3d6d355af58bcb4cf09bca82 /include/rdma/ib_verbs.h
parentfffb0383cf0b433ad029d19e6e9d6f1f46523ace (diff)
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>
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r--include/rdma/ib_verbs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 400a8a0422a4..3f66647749ca 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -1446,6 +1446,7 @@ struct ib_mr {
u64 iova;
u32 length;
unsigned int page_size;
+ bool need_inval;
union {
struct ib_uobject *uobject; /* user */
struct list_head qp_entry; /* FR */