Home
last modified time | relevance | path

Searched refs:rwq_ind_tbl (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/infiniband/core/
A Duverbs_std_types.c82 struct ib_rwq_ind_table *rwq_ind_tbl = uobject->object; in uverbs_free_rwq_ind_tbl() local
83 struct ib_wq **ind_tbl = rwq_ind_tbl->ind_tbl; in uverbs_free_rwq_ind_tbl()
84 u32 table_size = (1 << rwq_ind_tbl->log_ind_tbl_size); in uverbs_free_rwq_ind_tbl()
87 if (atomic_read(&rwq_ind_tbl->usecnt)) in uverbs_free_rwq_ind_tbl()
90 ret = rwq_ind_tbl->device->ops.destroy_rwq_ind_table(rwq_ind_tbl); in uverbs_free_rwq_ind_tbl()
97 kfree(rwq_ind_tbl); in uverbs_free_rwq_ind_tbl()
A Duverbs_std_types_qp.c90 struct ib_rwq_ind_table *rwq_ind_tbl = NULL; in UVERBS_HANDLER() local
156 rwq_ind_tbl = uverbs_attr_get_obj(attrs, in UVERBS_HANDLER()
158 if (!IS_ERR(rwq_ind_tbl)) { in UVERBS_HANDLER()
173 attr.rwq_ind_tbl = rwq_ind_tbl; in UVERBS_HANDLER()
A Duverbs_cmd.c1326 attr.rwq_ind_tbl = ind_tbl; in create_qp()
3046 struct ib_rwq_ind_table *rwq_ind_tbl; in ib_uverbs_ex_create_rwq_ind_table() local
3106 if (!rwq_ind_tbl) { in ib_uverbs_ex_create_rwq_ind_table()
3114 rwq_ind_tbl->ind_tbl = wqs; in ib_uverbs_ex_create_rwq_ind_table()
3115 rwq_ind_tbl->log_ind_tbl_size = init_attr.log_ind_tbl_size; in ib_uverbs_ex_create_rwq_ind_table()
3116 rwq_ind_tbl->uobject = uobj; in ib_uverbs_ex_create_rwq_ind_table()
3117 uobj->object = rwq_ind_tbl; in ib_uverbs_ex_create_rwq_ind_table()
3118 rwq_ind_tbl->device = ib_dev; in ib_uverbs_ex_create_rwq_ind_table()
3119 atomic_set(&rwq_ind_tbl->usecnt, 0); in ib_uverbs_ex_create_rwq_ind_table()
3133 resp.ind_tbl_num = rwq_ind_tbl->ind_tbl_num; in ib_uverbs_ex_create_rwq_ind_table()
[all …]
A Dverbs.c1225 qp->rwq_ind_tbl = attr->rwq_ind_tbl; in create_qp()
1315 if (qp->rwq_ind_tbl) in ib_qp_usecnt_inc()
1316 atomic_inc(&qp->rwq_ind_tbl->usecnt); in ib_qp_usecnt_inc()
1322 if (qp->rwq_ind_tbl) in ib_qp_usecnt_dec()
1323 atomic_dec(&qp->rwq_ind_tbl->usecnt); in ib_qp_usecnt_dec()
/linux/drivers/infiniband/hw/mlx4/
A Dqp.c1485 if (init_attr->rwq_ind_tbl) in _mlx4_ib_create_qp()
1639 if (qp->rwq_ind_tbl) { in _mlx4_ib_destroy_qp()
2077 struct ib_rwq_ind_table *rwq_ind_tbl; in __mlx4_ib_modify_qp() local
2097 rwq_ind_tbl = NULL; in __mlx4_ib_modify_qp()
2107 rwq_ind_tbl = ibqp->rwq_ind_tbl; in __mlx4_ib_modify_qp()
2315 if (!rwq_ind_tbl) { in __mlx4_ib_modify_qp()
2442 if (!rwq_ind_tbl) in __mlx4_ib_modify_qp()
2489 if (rwq_ind_tbl && in __mlx4_ib_modify_qp()
2678 if (ibqp->rwq_ind_tbl) { in _mlx4_ib_modify_qp()
2773 if (ibqp->rwq_ind_tbl && err) in _mlx4_ib_modify_qp()
[all …]
/linux/drivers/infiniband/hw/mlx5/
A Dqp.c1682 init_attr->rwq_ind_tbl->ind_tbl_num); in create_rss_raw_qp_tir()
2719 if (attr->rwq_ind_tbl) in check_valid_flow()
2789 if (attr->rwq_ind_tbl) in process_vendor_flags()
2848 if (attr->rwq_ind_tbl && cond) { in process_vendor_flags()
3171 params.is_rss_raw = !!attr->rwq_ind_tbl; in mlx5_ib_create_qp()
4519 if (ibqp->rwq_ind_tbl) in mlx5_ib_modify_qp()
4930 if (ibqp->rwq_ind_tbl) in mlx5_ib_query_qp()
5367 struct mlx5_ib_rwq_ind_table *rwq_ind_tbl = in mlx5_ib_create_rwq_ind_table() local
5418 rwq_ind_tbl->ib_rwq_ind_tbl.ind_tbl_num = rwq_ind_tbl->rqtn; in mlx5_ib_create_rwq_ind_table()
5431 mlx5_cmd_destroy_rqt(dev->mdev, rwq_ind_tbl->rqtn, rwq_ind_tbl->uid); in mlx5_ib_create_rwq_ind_table()
[all …]
/linux/include/rdma/
A Dib_verbs.h1168 struct ib_rwq_ind_table *rwq_ind_tbl; member
1778 struct ib_rwq_ind_table *rwq_ind_tbl; member

Completed in 46 milliseconds