Lines Matching refs:hw_cqe
1523 struct cq_base *hw_cqe; in __clean_cq() local
1529 hw_cqe = bnxt_qplib_get_qe(cq_hwq, peek_cons, NULL); in __clean_cq()
1530 if (!CQE_CMP_VALID(hw_cqe, peek_flags)) in __clean_cq()
1537 switch (hw_cqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK) { in __clean_cq()
1541 struct cq_req *cqe = (struct cq_req *)hw_cqe; in __clean_cq()
1551 struct cq_res_rc *cqe = (struct cq_res_rc *)hw_cqe; in __clean_cq()
2875 struct cq_base *hw_cqe; in bnxt_qplib_is_cq_empty() local
2878 hw_cqe = bnxt_qplib_get_qe(&cq->hwq, cq->hwq.cons, NULL); in bnxt_qplib_is_cq_empty()
2880 rc = !CQE_CMP_VALID(hw_cqe, cq->dbinfo.flags); in bnxt_qplib_is_cq_empty()
3121 struct cq_base *hw_cqe; in bnxt_qplib_poll_cq() local
3129 hw_cqe = bnxt_qplib_get_qe(&cq->hwq, cq->hwq.cons, NULL); in bnxt_qplib_poll_cq()
3132 if (!CQE_CMP_VALID(hw_cqe, cq->dbinfo.flags)) in bnxt_qplib_poll_cq()
3141 type = hw_cqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_poll_cq()
3145 (struct cq_req *)hw_cqe, in bnxt_qplib_poll_cq()
3152 hw_cqe, &cqe, in bnxt_qplib_poll_cq()
3157 (cq, (struct cq_res_ud *)hw_cqe, &cqe, in bnxt_qplib_poll_cq()
3163 hw_cqe, &cqe, &budget); in bnxt_qplib_poll_cq()
3167 (cq, (struct cq_terminal *)hw_cqe, in bnxt_qplib_poll_cq()
3172 (cq, (struct cq_cutoff *)hw_cqe); in bnxt_qplib_poll_cq()
3178 hw_cqe->cqe_type_toggle & in bnxt_qplib_poll_cq()