Searched refs:dr_cq (Results 1 – 1 of 1) sorted by relevance
49 static int dr_parse_cqe(struct mlx5dr_cq *dr_cq, struct mlx5_cqe64 *cqe64) in dr_parse_cqe() argument57 (dr_cq->qp->sq.wqe_cnt - 1); in dr_parse_cqe()58 dr_cq->qp->sq.cc = dr_cq->qp->sq.wqe_head[idx] + 1; in dr_parse_cqe()60 ++dr_cq->qp->sq.cc; in dr_parse_cqe()63 (dr_cq->qp->sq.wqe_cnt - 1); in dr_parse_cqe()64 dr_cq->qp->sq.cc = dr_cq->qp->sq.wqe_head[idx] + 1; in dr_parse_cqe()72 static int dr_cq_poll_one(struct mlx5dr_cq *dr_cq) in dr_cq_poll_one() argument77 cqe64 = mlx5_cqwq_get_cqe(&dr_cq->wq); in dr_cq_poll_one()81 mlx5_cqwq_pop(&dr_cq->wq); in dr_cq_poll_one()82 err = dr_parse_cqe(dr_cq, cqe64); in dr_cq_poll_one()[all …]