]> err.no Git - linux-2.6/blobdiff - drivers/infiniband/hw/mthca/mthca_user.h
Merge branch 'for-2.6.26' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer...
[linux-2.6] / drivers / infiniband / hw / mthca / mthca_user.h
index 02cc0a766f3ac767db1aba8333816ec58b402775..e1262c942db8c6ae31c91ec5b006454e239b2331 100644 (file)
@@ -61,6 +61,16 @@ struct mthca_alloc_pd_resp {
        __u32 reserved;
 };
 
+struct mthca_reg_mr {
+/*
+ * Mark the memory region with a DMA attribute that causes
+ * in-flight DMA to be flushed when the region is written to:
+ */
+#define MTHCA_MR_DMASYNC       0x1
+       __u32 mr_attrs;
+       __u32 reserved;
+};
+
 struct mthca_create_cq {
        __u32 lkey;
        __u32 pdn;