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>
This commit is contained in:

committed by
Doug Ledford

parent
c5f9092936
commit
a9017e232f
@@ -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 {
|
||||
|
Reference in New Issue
Block a user