Searched refs:dr_cq (Results 1 – 1 of 1) sorted by relevance
52 static int dr_parse_cqe(struct mlx5dr_cq *dr_cq, struct mlx5_cqe64 *cqe64) in dr_parse_cqe() argument60 (dr_cq->qp->sq.wqe_cnt - 1); in dr_parse_cqe()61 dr_cq->qp->sq.cc = dr_cq->qp->sq.wqe_head[idx] + 1; in dr_parse_cqe()63 ++dr_cq->qp->sq.cc; in dr_parse_cqe()66 (dr_cq->qp->sq.wqe_cnt - 1); in dr_parse_cqe()67 dr_cq->qp->sq.cc = dr_cq->qp->sq.wqe_head[idx] + 1; in dr_parse_cqe()75 static int dr_cq_poll_one(struct mlx5dr_cq *dr_cq) in dr_cq_poll_one() argument80 cqe64 = mlx5_cqwq_get_cqe(&dr_cq->wq); in dr_cq_poll_one()84 mlx5_cqwq_pop(&dr_cq->wq); in dr_cq_poll_one()85 err = dr_parse_cqe(dr_cq, cqe64); in dr_cq_poll_one()[all …]