Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/mana/
Dwq.c63 return &wq->ibwq; in mana_ib_create_wq()
81 int mana_ib_destroy_wq(struct ib_wq *ibwq, struct ib_udata *udata) in mana_ib_destroy_wq() argument
83 struct mana_ib_wq *wq = container_of(ibwq, struct mana_ib_wq, ibwq); in mana_ib_destroy_wq()
84 struct ib_device *ib_dev = ibwq->device; in mana_ib_destroy_wq()
Dqp.c114 struct ib_wq *ibwq; in mana_ib_create_qp_rss() local
187 ibwq = ind_tbl->ind_tbl[i]; in mana_ib_create_qp_rss()
188 wq = container_of(ibwq, struct mana_ib_wq, ibwq); in mana_ib_create_qp_rss()
190 ibcq = ibwq->cq; in mana_ib_create_qp_rss()
246 ibwq = ind_tbl->ind_tbl[i]; in mana_ib_create_qp_rss()
247 wq = container_of(ibwq, struct mana_ib_wq, ibwq); in mana_ib_create_qp_rss()
445 struct ib_wq *ibwq; in mana_ib_destroy_qp_rss() local
453 ibwq = ind_tbl->ind_tbl[i]; in mana_ib_destroy_qp_rss()
454 wq = container_of(ibwq, struct mana_ib_wq, ibwq); in mana_ib_destroy_qp_rss()
Dmana_ib.h36 struct ib_wq ibwq; member
108 int mana_ib_destroy_wq(struct ib_wq *ibwq, struct ib_udata *udata);
/Linux-v6.6/drivers/infiniband/hw/mlx4/
Dqp.c56 static int _mlx4_ib_modify_wq(struct ib_wq *ibwq, enum ib_wq_state new_state,
1364 to_mcq(qp->ibwq.cq); in get_cqs()
1378 struct ib_wq *ibwq = qp->ibqp.rwq_ind_tbl->ind_tbl[i]; in destroy_qp_rss() local
1379 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in destroy_qp_rss()
2013 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bringup_rss_rwqs() local
2014 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs()
2030 if ((wq->rss_usecnt == 0) && (ibwq->state == IB_WQS_RDY)) { in bringup_rss_rwqs()
2031 err = _mlx4_ib_modify_wq(ibwq, IB_WQS_RDY, udata); in bringup_rss_rwqs()
2046 struct ib_wq *ibwq = ind_tbl->ind_tbl[j]; in bringup_rss_rwqs() local
2047 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs()
[all …]
Dmlx4_ib.h326 struct ib_wq ibwq; member
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h391 struct ib_wq ibwq; member
1222 static inline struct mlx5_ib_rwq *to_mrwq(struct ib_wq *ibwq) in to_mrwq() argument
1224 return container_of(ibwq, struct mlx5_ib_rwq, ibwq); in to_mrwq()
Dqp.c5127 struct mlx5_ib_dev *dev = to_mdev(rwq->ibwq.device); in mlx5_ib_wq_event()
5130 if (rwq->ibwq.event_handler) { in mlx5_ib_wq_event()
5131 event.device = rwq->ibwq.device; in mlx5_ib_wq_event()
5132 event.element.wq = &rwq->ibwq; in mlx5_ib_wq_event()
5142 rwq->ibwq.event_handler(&event, rwq->ibwq.wq_context); in mlx5_ib_wq_event()
5439 rwq->ibwq.wq_num = rwq->core_qp.qpn; in mlx5_ib_create_wq()
5440 rwq->ibwq.state = IB_WQS_RESET; in mlx5_ib_create_wq()
5450 rwq->ibwq.event_handler = init_attr->event_handler; in mlx5_ib_create_wq()
5451 return &rwq->ibwq; in mlx5_ib_create_wq()
5639 rwq->ibwq.state = (wq_state == MLX5_RQC_STATE_ERR) ? IB_WQS_ERR : wq_state; in mlx5_ib_modify_wq()