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,1323 to_mcq(qp->ibwq.cq); in get_cqs()1337 struct ib_wq *ibwq = qp->ibqp.rwq_ind_tbl->ind_tbl[i]; in destroy_qp_rss() local1338 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
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()
4753 struct mlx5_ib_dev *dev = to_mdev(rwq->ibwq.device); in mlx5_ib_wq_event()4756 if (rwq->ibwq.event_handler) { in mlx5_ib_wq_event()4757 event.device = rwq->ibwq.device; in mlx5_ib_wq_event()4758 event.element.wq = &rwq->ibwq; in mlx5_ib_wq_event()4768 rwq->ibwq.event_handler(&event, rwq->ibwq.wq_context); in mlx5_ib_wq_event()5059 rwq->ibwq.wq_num = rwq->core_qp.qpn; in mlx5_ib_create_wq()5060 rwq->ibwq.state = IB_WQS_RESET; in mlx5_ib_create_wq()5070 rwq->ibwq.event_handler = init_attr->event_handler; in mlx5_ib_create_wq()5071 return &rwq->ibwq; in mlx5_ib_create_wq()5262 rwq->ibwq.state = (wq_state == MLX5_RQC_STATE_ERR) ? IB_WQS_ERR : wq_state; in mlx5_ib_modify_wq()