Home
last modified time | relevance | path

Searched refs:hw_cqe (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/cxgb4/
Dcq.c300 static void create_read_req_cqe(struct t4_wq *wq, struct t4_cqe *hw_cqe, in create_read_req_cqe() argument
305 read_cqe->header = htonl(CQE_QPID_V(CQE_QPID(hw_cqe)) | in create_read_req_cqe()
306 CQE_SWCQE_V(SW_CQE(hw_cqe)) | in create_read_req_cqe()
309 read_cqe->bits_type_ts = hw_cqe->bits_type_ts; in create_read_req_cqe()
337 struct t4_cqe *hw_cqe, *swcqe, read_cqe; in c4iw_flush_hw_cq() local
343 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe); in c4iw_flush_hw_cq()
351 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq()
366 if (CQE_OPCODE(hw_cqe) == FW_RI_TERMINATE) in c4iw_flush_hw_cq()
369 if (CQE_OPCODE(hw_cqe) == FW_RI_READ_RESP) { in c4iw_flush_hw_cq()
375 if (CQE_TYPE(hw_cqe) == 1) in c4iw_flush_hw_cq()
[all …]
/linux-5.19.10/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1421 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
[all …]