diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2016-01-06 19:01:17 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-11 02:37:10 +0100 |
commit | 8cf4020b2ad0d19f74fed043b882da1b79f52566 (patch) | |
tree | 03de479d5faa339a0a0c346c6a3d35cc7bcd6b79 /drivers/infiniband/sw/rdmavt/qp.h | |
parent | IB/rdmavt: Add completion queue function stubs (diff) | |
download | linux-8cf4020b2ad0d19f74fed043b882da1b79f52566.tar.xz linux-8cf4020b2ad0d19f74fed043b882da1b79f52566.zip |
IB/rdmavt: Add post send and recv stubs
This adds the post sned and recv function stubs.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rdmavt/qp.h')
-rw-r--r-- | drivers/infiniband/sw/rdmavt/qp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rdmavt/qp.h b/drivers/infiniband/sw/rdmavt/qp.h index 43acba0ebf5d..10bc636d0423 100644 --- a/drivers/infiniband/sw/rdmavt/qp.h +++ b/drivers/infiniband/sw/rdmavt/qp.h @@ -63,5 +63,10 @@ int rvt_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int rvt_destroy_qp(struct ib_qp *ibqp); int rvt_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_qp_init_attr *init_attr); - +int rvt_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr, + struct ib_recv_wr **bad_wr); +int rvt_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, + struct ib_send_wr **bad_wr); +int rvt_post_srq_recv(struct ib_srq *ibsrq, struct ib_recv_wr *wr, + struct ib_recv_wr **bad_wr); #endif /* DEF_RVTQP_H */ |