[openib-general] [PATCH] [uverbs] declare qp_access with enum type

Michael S. Tsirkin mst at mellanox.co.il
Mon Feb 28 05:12:23 PST 2005


Declare qp_access_flags with the appropriate enum type.
Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>

Index: userspace/libibverbs/include/infiniband/verbs.h
===================================================================
--- userspace/libibverbs/include/infiniband/verbs.h	(revision 1922)
+++ userspace/libibverbs/include/infiniband/verbs.h	(working copy)
@@ -264,7 +264,7 @@
 	uint32_t		rq_psn;
 	uint32_t		sq_psn;
 	uint32_t		dest_qp_num;
-	int			qp_access_flags;
+	enum ibv_access_flags	qp_access_flags;
 	struct ibv_qp_cap	cap;
 	struct ibv_ah_attr	ah_attr;
 	struct ibv_ah_attr	alt_ah_attr;

-- 
MST - Michael S. Tsirkin



More information about the general mailing list