Lines Matching refs:hw_cqe
1421 struct cq_base *hw_cqe; in __clean_cq() local
1425 hw_cqe = bnxt_qplib_get_qe(cq_hwq, i, NULL); in __clean_cq()
1426 if (!CQE_CMP_VALID(hw_cqe, i, cq_hwq->max_elements)) in __clean_cq()
1433 switch (hw_cqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK) { in __clean_cq()
1437 struct cq_req *cqe = (struct cq_req *)hw_cqe; in __clean_cq()
1447 struct cq_res_rc *cqe = (struct cq_res_rc *)hw_cqe; in __clean_cq()
2602 struct cq_base *hw_cqe; in bnxt_qplib_is_cq_empty() local
2608 hw_cqe = bnxt_qplib_get_qe(&cq->hwq, sw_cons, NULL); in bnxt_qplib_is_cq_empty()
2610 rc = !CQE_CMP_VALID(hw_cqe, raw_cons, cq->hwq.max_elements); in bnxt_qplib_is_cq_empty()
2854 struct cq_base *hw_cqe; in bnxt_qplib_poll_cq() local
2864 hw_cqe = bnxt_qplib_get_qe(&cq->hwq, sw_cons, NULL); in bnxt_qplib_poll_cq()
2867 if (!CQE_CMP_VALID(hw_cqe, raw_cons, cq->hwq.max_elements)) in bnxt_qplib_poll_cq()
2876 type = hw_cqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_poll_cq()
2880 (struct cq_req *)hw_cqe, in bnxt_qplib_poll_cq()
2887 hw_cqe, &cqe, in bnxt_qplib_poll_cq()
2892 (cq, (struct cq_res_ud *)hw_cqe, &cqe, in bnxt_qplib_poll_cq()
2898 hw_cqe, &cqe, &budget); in bnxt_qplib_poll_cq()
2902 (cq, (struct cq_terminal *)hw_cqe, in bnxt_qplib_poll_cq()
2907 (cq, (struct cq_cutoff *)hw_cqe); in bnxt_qplib_poll_cq()
2913 hw_cqe->cqe_type_toggle & in bnxt_qplib_poll_cq()