Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c1071 static void create_read_req_cqe(struct t3_wq *wq, struct t3_cqe *hw_cqe, in create_read_req_cqe() argument
1076 read_cqe->header = htonl(V_CQE_QPID(CQE_QPID(*hw_cqe)) | in create_read_req_cqe()
1077 V_CQE_SWCQE(SW_CQE(*hw_cqe)) | in create_read_req_cqe()
1120 struct t3_cqe *hw_cqe, read_cqe; in cxio_poll_cq() local
1124 hw_cqe = cxio_next_cqe(cq); in cxio_poll_cq()
1127 __func__, CQE_OOO(*hw_cqe), CQE_QPID(*hw_cqe), in cxio_poll_cq()
1128 CQE_GENBIT(*hw_cqe), CQE_TYPE(*hw_cqe), CQE_STATUS(*hw_cqe), in cxio_poll_cq()
1129 CQE_OPCODE(*hw_cqe), CQE_LEN(*hw_cqe), CQE_WRID_HI(*hw_cqe), in cxio_poll_cq()
1130 CQE_WRID_LOW(*hw_cqe)); in cxio_poll_cq()
1147 if (RQ_TYPE(*hw_cqe) && (CQE_OPCODE(*hw_cqe) == T3_READ_RESP)) { in cxio_poll_cq()
[all …]
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1374 struct cq_base *hw_cqe, **hw_cqe_ptr; in __clean_cq() local
1379 hw_cqe = &hw_cqe_ptr[CQE_PG(i)][CQE_IDX(i)]; in __clean_cq()
1380 if (!CQE_CMP_VALID(hw_cqe, i, cq_hwq->max_elements)) in __clean_cq()
1387 switch (hw_cqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK) { in __clean_cq()
1391 struct cq_req *cqe = (struct cq_req *)hw_cqe; in __clean_cq()
1401 struct cq_res_rc *cqe = (struct cq_res_rc *)hw_cqe; in __clean_cq()
2487 struct cq_base *hw_cqe, **hw_cqe_ptr; in bnxt_qplib_is_cq_empty() local
2494 hw_cqe = &hw_cqe_ptr[CQE_PG(sw_cons)][CQE_IDX(sw_cons)]; in bnxt_qplib_is_cq_empty()
2497 rc = !CQE_CMP_VALID(hw_cqe, raw_cons, cq->hwq.max_elements); in bnxt_qplib_is_cq_empty()
2739 struct cq_base *hw_cqe, **hw_cqe_ptr; in bnxt_qplib_poll_cq() local
[all …]