X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=include%2Frdma%2Frdma_vt.h;h=dd0ed8048bb42bb8ffb9cde469979f87bef7afaf;hb=6aa293d8ff0939802a6c86cee6cd152c1b0a7a0d;hp=3584d0816fcd76ca6a5b50f85b629ab8bb0cc5d5;hpb=d7563c55ef9fc1fd2301b8708b3c1f53509d6745;p=linux.git diff --git a/include/rdma/rdma_vt.h b/include/rdma/rdma_vt.h index 3584d0816fcd..dd0ed8048bb4 100644 --- a/include/rdma/rdma_vt.h +++ b/include/rdma/rdma_vt.h @@ -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. */