diff mbox

[V1,libibverbs,6/7] Expose device capabilities for Memory Window type two

Message ID 1454935402-15192-7-git-send-email-yishaih@mellanox.com (mailing list archive)
State Accepted
Headers show

Commit Message

Yishai Hadas Feb. 8, 2016, 12:43 p.m. UTC
At that step Memory Window type two is ready to be used, exposing
its device capabilities.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
---
 include/infiniband/verbs.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h
index b9102a6..8eb1f08 100644
--- a/include/infiniband/verbs.h
+++ b/include/infiniband/verbs.h
@@ -119,6 +119,9 @@  enum ibv_device_cap_flags {
 	IBV_DEVICE_MEM_WINDOW           = 1 << 17,
 	IBV_DEVICE_UD_IP_CSUM		= 1 << 18,
 	IBV_DEVICE_XRC			= 1 << 20,
+	IBV_DEVICE_MEM_MGT_EXTENSIONS	= 1 << 21,
+	IBV_DEVICE_MEM_WINDOW_TYPE_2A	= 1 << 23,
+	IBV_DEVICE_MEM_WINDOW_TYPE_2B	= 1 << 24,
 	IBV_DEVICE_RC_IP_CSUM		= 1 << 25,
 	IBV_DEVICE_RAW_IP_CSUM		= 1 << 26,
 	IBV_DEVICE_MANAGED_FLOW_STEERING = 1 << 29