]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/rdma/rdma_vt.h
Merge branch 'for-linus-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
[linux.git] / include / rdma / rdma_vt.h
index 3584d0816fcd76ca6a5b50f85b629ab8bb0cc5d5..dd0ed8048bb42bb8ffb9cde469979f87bef7afaf 100644 (file)
@@ -268,6 +268,13 @@ struct rvt_driver_provided {
         */
        void * (*qp_priv_alloc)(struct rvt_dev_info *rdi, struct rvt_qp *qp);
 
+       /*
+        * Init a struture allocated with qp_priv_alloc(). This should be
+        * called after all qp fields have been initialized in rdmavt.
+        */
+       int (*qp_priv_init)(struct rvt_dev_info *rdi, struct rvt_qp *qp,
+                           struct ib_qp_init_attr *init_attr);
+
        /*
         * Free the driver's private qp structure.
         */