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,1325 to_mcq(qp->ibwq.cq); in get_cqs()1339 struct ib_wq *ibwq = qp->ibqp.rwq_ind_tbl->ind_tbl[i]; in destroy_qp_rss() local1340 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in destroy_qp_rss()1974 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bringup_rss_rwqs() local1975 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs()1991 if ((wq->rss_usecnt == 0) && (ibwq->state == IB_WQS_RDY)) { in bringup_rss_rwqs()1992 err = _mlx4_ib_modify_wq(ibwq, IB_WQS_RDY, udata); in bringup_rss_rwqs()2007 struct ib_wq *ibwq = ind_tbl->ind_tbl[j]; in bringup_rss_rwqs() local2008 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs()[all …]
325 struct ib_wq ibwq; member
374 struct ib_wq ibwq; member1169 static inline struct mlx5_ib_rwq *to_mrwq(struct ib_wq *ibwq) in to_mrwq() argument1171 return container_of(ibwq, struct mlx5_ib_rwq, ibwq); in to_mrwq()
5017 struct mlx5_ib_dev *dev = to_mdev(rwq->ibwq.device); in mlx5_ib_wq_event()5020 if (rwq->ibwq.event_handler) { in mlx5_ib_wq_event()5021 event.device = rwq->ibwq.device; in mlx5_ib_wq_event()5022 event.element.wq = &rwq->ibwq; in mlx5_ib_wq_event()5032 rwq->ibwq.event_handler(&event, rwq->ibwq.wq_context); in mlx5_ib_wq_event()5329 rwq->ibwq.wq_num = rwq->core_qp.qpn; in mlx5_ib_create_wq()5330 rwq->ibwq.state = IB_WQS_RESET; in mlx5_ib_create_wq()5340 rwq->ibwq.event_handler = init_attr->event_handler; in mlx5_ib_create_wq()5341 return &rwq->ibwq; in mlx5_ib_create_wq()5530 rwq->ibwq.state = (wq_state == MLX5_RQC_STATE_ERR) ? IB_WQS_ERR : wq_state; in mlx5_ib_modify_wq()