Searched refs:ibwq (Results 1 – 4 of 4) sorted by relevance
514 static inline struct mlx5_rwq *to_mrwq(struct ibv_wq *ibwq) in to_mrwq() argument516 return container_of(ibwq, struct mlx5_rwq, wq); in to_mrwq()639 int mlx5_post_wq_recv(struct ibv_wq *ibwq, struct ibv_recv_wr *wr,
1061 int mlx5_post_wq_recv(struct ibv_wq *ibwq, struct ibv_recv_wr *wr, in mlx5_post_wq_recv() argument1064 struct mlx5_rwq *rwq = to_mrwq(ibwq); in mlx5_post_wq_recv()
246 struct ib_wq ibwq; member 853 static inline struct mlx5_ib_rwq *to_mrwq(struct ib_wq *ibwq) in to_mrwq() argument 855 return container_of(ibwq, struct mlx5_ib_rwq, ibwq); in to_mrwq()
4671 struct mlx5_ib_dev *dev = to_mdev(rwq->ibwq.device); in mlx5_ib_wq_event()4674 if (rwq->ibwq.event_handler) { in mlx5_ib_wq_event()4675 event.device = rwq->ibwq.device; in mlx5_ib_wq_event()4676 event.element.wq = &rwq->ibwq; in mlx5_ib_wq_event()4686 rwq->ibwq.event_handler(&event, rwq->ibwq.wq_context); in mlx5_ib_wq_event()4844 rwq->ibwq.wq_num = rwq->core_qp.qpn; in mlx5_ib_create_wq()4845 rwq->ibwq.state = IB_WQS_RESET; in mlx5_ib_create_wq()4855 rwq->ibwq.event_handler = init_attr->event_handler; in mlx5_ib_create_wq()4856 return &rwq->ibwq; in mlx5_ib_create_wq()5018 rwq->ibwq.state = (wq_state == MLX5_RQC_STATE_ERR) ? IB_WQS_ERR : wq_state; in mlx5_ib_modify_wq()