Searched refs:ibwq (Results 1 – 4 of 4) sorted by relevance
55 static int _mlx4_ib_modify_wq(struct ib_wq *ibwq, enum ib_wq_state new_state);1297 to_mcq(qp->ibwq.cq); in get_cqs()1311 struct ib_wq *ibwq = qp->ibqp.rwq_ind_tbl->ind_tbl[i]; in destroy_qp_rss() local1312 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in destroy_qp_rss()1396 qp->ibwq.uobject->context), qp, 1); in destroy_qp_common()1407 to_mucontext(qp->ibwq.uobject->context); in destroy_qp_common()1950 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bringup_rss_rwqs() local1951 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs()1967 if ((wq->rss_usecnt == 0) && (ibwq->state == IB_WQS_RDY)) { in bringup_rss_rwqs()1968 err = _mlx4_ib_modify_wq(ibwq, IB_WQS_RDY); in bringup_rss_rwqs()[all …]
314 struct ib_wq ibwq; member
289 struct ib_wq ibwq; member961 static inline struct mlx5_ib_rwq *to_mrwq(struct ib_wq *ibwq) in to_mrwq() argument963 return container_of(ibwq, struct mlx5_ib_rwq, ibwq); in to_mrwq()
5212 struct mlx5_ib_dev *dev = to_mdev(rwq->ibwq.device); in mlx5_ib_wq_event()5215 if (rwq->ibwq.event_handler) { in mlx5_ib_wq_event()5216 event.device = rwq->ibwq.device; in mlx5_ib_wq_event()5217 event.element.wq = &rwq->ibwq; in mlx5_ib_wq_event()5227 rwq->ibwq.event_handler(&event, rwq->ibwq.wq_context); in mlx5_ib_wq_event()5490 rwq->ibwq.wq_num = rwq->core_qp.qpn; in mlx5_ib_create_wq()5491 rwq->ibwq.state = IB_WQS_RESET; in mlx5_ib_create_wq()5501 rwq->ibwq.event_handler = init_attr->event_handler; in mlx5_ib_create_wq()5502 return &rwq->ibwq; in mlx5_ib_create_wq()5693 rwq->ibwq.state = (wq_state == MLX5_RQC_STATE_ERR) ? IB_WQS_ERR : wq_state; in mlx5_ib_modify_wq()