Searched refs:ibwq (Results 1 – 4 of 4) sorted by relevance
56 static int _mlx4_ib_modify_wq(struct ib_wq *ibwq, enum ib_wq_state new_state,1329 to_mcq(qp->ibwq.cq); in get_cqs()1343 struct ib_wq *ibwq = qp->ibqp.rwq_ind_tbl->ind_tbl[i]; in destroy_qp_rss() local1344 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in destroy_qp_rss()1980 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bringup_rss_rwqs() local1981 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs()1997 if ((wq->rss_usecnt == 0) && (ibwq->state == IB_WQS_RDY)) { in bringup_rss_rwqs()1998 err = _mlx4_ib_modify_wq(ibwq, IB_WQS_RDY, udata); in bringup_rss_rwqs()2013 struct ib_wq *ibwq = ind_tbl->ind_tbl[j]; in bringup_rss_rwqs() local2014 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs()[all …]
325 struct ib_wq ibwq; member
300 struct ib_wq ibwq; member1083 static inline struct mlx5_ib_rwq *to_mrwq(struct ib_wq *ibwq) in to_mrwq() argument1085 return container_of(ibwq, struct mlx5_ib_rwq, ibwq); in to_mrwq()
4827 struct mlx5_ib_dev *dev = to_mdev(rwq->ibwq.device); in mlx5_ib_wq_event()4830 if (rwq->ibwq.event_handler) { in mlx5_ib_wq_event()4831 event.device = rwq->ibwq.device; in mlx5_ib_wq_event()4832 event.element.wq = &rwq->ibwq; in mlx5_ib_wq_event()4842 rwq->ibwq.event_handler(&event, rwq->ibwq.wq_context); in mlx5_ib_wq_event()5133 rwq->ibwq.wq_num = rwq->core_qp.qpn; in mlx5_ib_create_wq()5134 rwq->ibwq.state = IB_WQS_RESET; in mlx5_ib_create_wq()5144 rwq->ibwq.event_handler = init_attr->event_handler; in mlx5_ib_create_wq()5145 return &rwq->ibwq; in mlx5_ib_create_wq()5334 rwq->ibwq.state = (wq_state == MLX5_RQC_STATE_ERR) ? IB_WQS_ERR : wq_state; in mlx5_ib_modify_wq()