diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2016-05-23 15:20:54 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-06-23 11:02:44 -0400 |
commit | a9017e232ff9eaabeb50eb89841d99310cfc98dc (patch) | |
tree | f39391e60b3067a66e61bce385a9b8c43b650699 /include/rdma/ib_verbs.h | |
parent | c5f9092936fe88b39e2eddccedeb1c51883fcd31 (diff) | |
download | lwn-a9017e232ff9eaabeb50eb89841d99310cfc98dc.tar.gz lwn-a9017e232ff9eaabeb50eb89841d99310cfc98dc.zip |
IB/core: Extend create QP to get indirection table
Extend create QP to get Receive Work Queue (WQ) indirection table.
QP can be created with external Receive Work Queue indirection table,
in that case it is ready to receive immediately.
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r-- | include/rdma/ib_verbs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index e305c9a36663..9b2fafe5eb38 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -1017,6 +1017,7 @@ struct ib_qp_init_attr { * Only needed for special QP types, or when using the RW API. */ u8 port_num; + struct ib_rwq_ind_table *rwq_ind_tbl; }; struct ib_qp_open_attr { @@ -1511,6 +1512,7 @@ struct ib_qp { void *qp_context; u32 qp_num; enum ib_qp_type qp_type; + struct ib_rwq_ind_table *rwq_ind_tbl; }; struct ib_mr { |