[ofa-general] [PATCH] infiniband: add userspace support for invalidate stag

mhagen at iol.unh.edu mhagen at iol.unh.edu
Fri May 4 12:40:55 PDT 2007


---
ofa_1_2_user-20070502-0200/src/userspace/libibverbs/include/infiniband/verbs.h	2007-05-03
10:11:23.000000000 -0400
+++
ofa_1_2_user-20070502-0200/src/userspace/libibverbs/include/infiniband/verbs.h	2007-05-03
10:12:32.000000000 -0400
@@ -492,7 +492,8 @@ enum ibv_send_flags {
 	IBV_SEND_FENCE		= 1 << 0,
 	IBV_SEND_SIGNALED	= 1 << 1,
 	IBV_SEND_SOLICITED	= 1 << 2,
-	IBV_SEND_INLINE		= 1 << 3
+	IBV_SEND_INLINE		= 1 << 3,
+	IBV_SEND_INVALIDATE	= 1 << 4
 };

 struct ibv_sge {
@@ -525,6 +526,9 @@ struct ibv_send_wr {
 			uint32_t	remote_qpn;
 			uint32_t	remote_qkey;
 		} ud;
+		struct {
+			uint32_t	rkey;
+		} invalidate;
 	} wr;
 };



-- 
Mikkel Hagen
Project Assistant - Fibre Channel/SAS/SATA Consortiums
Research and Development Engineer - iWARP Consortium
FC/SAS/SATA:1-603-862-0701  iWARP:1-603-862-5083  Fax:1-603-862-4181
UNH-IOL
121 Technology Drive, Suite 2
Durham, NH 03824




More information about the general mailing list