[ofa-general] Re: [PATCH] infiniband: add userspace support for invalidate stag
mhagen at iol.unh.edu
mhagen at iol.unh.edu
Mon May 7 09:59:59 PDT 2007
Add userspace support for iWARP verbs Send w/ INV and Send w/ SE and INV.
Signed-off-by: Mikkel Hagen <mhagen at iol.unh.edu>
--- linux-2.6.21.1/drivers/infiniband/core/uverbs_cmd.c 2007-05-04
14:25:50.000000000 -0400
+++ linux-2.6.21.1/drivers/infiniband/core/uverbs_cmd.c 2007-05-04
14:47:42.000000000 -0400
@@ -1507,6 +1507,12 @@ ssize_t ib_uverbs_post_send(struct ib_uv
next->wr.atomic.swap =
user_wr->wr.atomic.swap;
next->wr.atomic.rkey =
user_wr->wr.atomic.rkey;
break;
+ case IB_WR_SEND:
+ if(next->send_flags & IB_SEND_INVALIDATE) {
+ next->wr.invalidate.rkey =
+ user_wr->wr.invalidate.rkey;
+ }
+ break;
default:
break;
}
--
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