aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2016-05-23 08:20:54 -0400
committerDoug Ledford <dledford@redhat.com>2016-06-23 11:02:44 -0400
commita9017e232ff9eaabeb50eb89841d99310cfc98dc (patch)
treef39391e60b3067a66e61bce385a9b8c43b650699 /include/rdma
parentc5f9092936fe88b39e2eddccedeb1c51883fcd31 (diff)
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')
-rw-r--r--include/rdma/ib_verbs.h2
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 {
1017 * Only needed for special QP types, or when using the RW API. 1017 * Only needed for special QP types, or when using the RW API.
1018 */ 1018 */
1019 u8 port_num; 1019 u8 port_num;
1020 struct ib_rwq_ind_table *rwq_ind_tbl;
1020}; 1021};
1021 1022
1022struct ib_qp_open_attr { 1023struct ib_qp_open_attr {
@@ -1511,6 +1512,7 @@ struct ib_qp {
1511 void *qp_context; 1512 void *qp_context;
1512 u32 qp_num; 1513 u32 qp_num;
1513 enum ib_qp_type qp_type; 1514 enum ib_qp_type qp_type;
1515 struct ib_rwq_ind_table *rwq_ind_tbl;
1514}; 1516};
1515 1517
1516struct ib_mr { 1518struct ib_mr {