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()
226 struct ib_wq ibwq; member751 static inline struct mlx5_ib_rwq *to_mrwq(struct ib_wq *ibwq) in to_mrwq() argument753 return container_of(ibwq, struct mlx5_ib_rwq, ibwq); in to_mrwq()
4604 struct mlx5_ib_dev *dev = to_mdev(rwq->ibwq.device); in mlx5_ib_wq_event()4607 if (rwq->ibwq.event_handler) { in mlx5_ib_wq_event()4608 event.device = rwq->ibwq.device; in mlx5_ib_wq_event()4609 event.element.wq = &rwq->ibwq; in mlx5_ib_wq_event()4619 rwq->ibwq.event_handler(&event, rwq->ibwq.wq_context); in mlx5_ib_wq_event()4776 rwq->ibwq.wq_num = rwq->core_qp.qpn; in mlx5_ib_create_wq()4777 rwq->ibwq.state = IB_WQS_RESET; in mlx5_ib_create_wq()4787 rwq->ibwq.event_handler = init_attr->event_handler; in mlx5_ib_create_wq()4788 return &rwq->ibwq; in mlx5_ib_create_wq()4948 rwq->ibwq.state = (wq_state == MLX5_RQC_STATE_ERR) ? IB_WQS_ERR : wq_state; in mlx5_ib_modify_wq()