Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dqp.c56 static int _mlx4_ib_modify_wq(struct ib_wq *ibwq, enum ib_wq_state new_state,
1379 to_mcq(qp->ibwq.cq); in get_cqs()
1393 struct ib_wq *ibwq = qp->ibqp.rwq_ind_tbl->ind_tbl[i]; in destroy_qp_rss() local
1394 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in destroy_qp_rss()
2036 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bringup_rss_rwqs() local
2037 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs()
2053 if ((wq->rss_usecnt == 0) && (ibwq->state == IB_WQS_RDY)) { in bringup_rss_rwqs()
2054 err = _mlx4_ib_modify_wq(ibwq, IB_WQS_RDY, udata); in bringup_rss_rwqs()
2069 struct ib_wq *ibwq = ind_tbl->ind_tbl[j]; in bringup_rss_rwqs() local
2070 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs()
[all …]
Dmlx4_ib.h309 struct ib_wq ibwq; member
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h300 struct ib_wq ibwq; member
1062 static inline struct mlx5_ib_rwq *to_mrwq(struct ib_wq *ibwq) in to_mrwq() argument
1064 return container_of(ibwq, struct mlx5_ib_rwq, ibwq); in to_mrwq()
Dqp.c5878 struct mlx5_ib_dev *dev = to_mdev(rwq->ibwq.device); in mlx5_ib_wq_event()
5881 if (rwq->ibwq.event_handler) { in mlx5_ib_wq_event()
5882 event.device = rwq->ibwq.device; in mlx5_ib_wq_event()
5883 event.element.wq = &rwq->ibwq; in mlx5_ib_wq_event()
5893 rwq->ibwq.event_handler(&event, rwq->ibwq.wq_context); in mlx5_ib_wq_event()
6156 rwq->ibwq.wq_num = rwq->core_qp.qpn; in mlx5_ib_create_wq()
6157 rwq->ibwq.state = IB_WQS_RESET; in mlx5_ib_create_wq()
6167 rwq->ibwq.event_handler = init_attr->event_handler; in mlx5_ib_create_wq()
6168 return &rwq->ibwq; in mlx5_ib_create_wq()
6364 rwq->ibwq.state = (wq_state == MLX5_RQC_STATE_ERR) ? IB_WQS_ERR : wq_state; in mlx5_ib_modify_wq()