Add userspace support for iWARP verbs Send w/ INV and Send w/ SE and INV.

Signed-off-by: Mikkel Hagen <[EMAIL PROTECTED]>


--- 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

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to