[ofa-general] [PATCH] infiniband: add userspace support for invalidate stag
mhagen at iol.unh.edu
mhagen at iol.unh.edu
Fri May 4 12:42:09 PDT 2007
---
ofa_1_2_user-20070502-0200/src/userspace/libibverbs/src/cmd.c 2007-05-02
05:00:25.000000000 -0400
+++
ofa_1_2_user-20070502-0200/src/userspace/libibverbs/src/cmd.c 2007-05-04
15:19:36.000000000 -0400
@@ -857,6 +857,11 @@ int ibv_cmd_post_send(struct ibv_qp *ibq
tmp->wr.atomic.swap = i->wr.atomic.swap;
tmp->wr.atomic.rkey = i->wr.atomic.rkey;
break;
+ case IBV_WR_SEND:
+ if(tmp->send_flags & IBV_SEND_INVALIDATE) {
+ tmp->wr.invalidate.rkey =
+ i->wr.invalidate.rkey;
+ }
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