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

mhagen at iol.unh.edu mhagen at iol.unh.edu
Wed May 2 12:25:19 PDT 2007


Patch to add support for the iWARP verbs SEND with INV and SEND with SE
and INV.

Signed-off-by: Mikkel Hagen <mhagen at iol.unh.edu>

--- linux-2.6.21.1/include/rdma/ib_verbs.h	2007-05-02 15:17:24.000000000
-0400
+++ linux-2.6.21.1/include/rdma/ib_verbs.h	2007-05-02 15:19:05.000000000
-0400
@@ -611,7 +611,8 @@ enum ib_send_flags {
 	IB_SEND_FENCE		= 1,
 	IB_SEND_SIGNALED	= (1<<1),
 	IB_SEND_SOLICITED	= (1<<2),
-	IB_SEND_INLINE		= (1<<3)
+	IB_SEND_INLINE		= (1<<3),
+	IB_SEND_INVALIDATE	= (1<<4)
 };

 struct ib_sge {
@@ -646,6 +647,9 @@ struct ib_send_wr {
 			u16	pkey_index; /* valid for GSI only */
 			u8	port_num;   /* valid for DR SMPs on switch only */
 		} ud;
+		struct {
+			u32	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