[PATCH 6/9] IB/core: add a need_inval flag to struct ib_mr

Christoph Hellwig
2016-02-29T22:20:07Z

From: Steve Wise <swise@chelsio.com>

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>
---
include/rdma/ib_verbs.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 1e68dae..2b94cea 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -1431,6 +1431,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 */
--
2.1.4