Searched refs:hw_cqe (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 301 static void create_read_req_cqe(struct t4_wq *wq, struct t4_cqe *hw_cqe, in create_read_req_cqe() argument 306 read_cqe->header = htonl(CQE_QPID_V(CQE_QPID(hw_cqe)) | in create_read_req_cqe() 307 CQE_SWCQE_V(SW_CQE(hw_cqe)) | in create_read_req_cqe() 310 read_cqe->bits_type_ts = hw_cqe->bits_type_ts; in create_read_req_cqe() 338 struct t4_cqe *hw_cqe, *swcqe, read_cqe; in c4iw_flush_hw_cq() local 344 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe); in c4iw_flush_hw_cq() 352 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq() 367 if (CQE_OPCODE(hw_cqe) == FW_RI_TERMINATE) in c4iw_flush_hw_cq() 370 if (CQE_OPCODE(hw_cqe) == FW_RI_READ_RESP) { in c4iw_flush_hw_cq() 376 if (CQE_TYPE(hw_cqe) == 1) in c4iw_flush_hw_cq() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/cxgb3/ |
D | cxio_hal.c | 1091 static void create_read_req_cqe(struct t3_wq *wq, struct t3_cqe *hw_cqe, in create_read_req_cqe() argument 1096 read_cqe->header = htonl(V_CQE_QPID(CQE_QPID(*hw_cqe)) | in create_read_req_cqe() 1097 V_CQE_SWCQE(SW_CQE(*hw_cqe)) | in create_read_req_cqe() 1140 struct t3_cqe *hw_cqe, read_cqe; in cxio_poll_cq() local 1144 hw_cqe = cxio_next_cqe(cq); in cxio_poll_cq() 1147 __func__, CQE_OOO(*hw_cqe), CQE_QPID(*hw_cqe), in cxio_poll_cq() 1148 CQE_GENBIT(*hw_cqe), CQE_TYPE(*hw_cqe), CQE_STATUS(*hw_cqe), in cxio_poll_cq() 1149 CQE_OPCODE(*hw_cqe), CQE_LEN(*hw_cqe), CQE_WRID_HI(*hw_cqe), in cxio_poll_cq() 1150 CQE_WRID_LOW(*hw_cqe)); in cxio_poll_cq() 1167 if (RQ_TYPE(*hw_cqe) && (CQE_OPCODE(*hw_cqe) == T3_READ_RESP)) { in cxio_poll_cq() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 1363 struct cq_base *hw_cqe, **hw_cqe_ptr; in __clean_cq() local 1368 hw_cqe = &hw_cqe_ptr[CQE_PG(i)][CQE_IDX(i)]; in __clean_cq() 1369 if (!CQE_CMP_VALID(hw_cqe, i, cq_hwq->max_elements)) in __clean_cq() 1376 switch (hw_cqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK) { in __clean_cq() 1380 struct cq_req *cqe = (struct cq_req *)hw_cqe; in __clean_cq() 1390 struct cq_res_rc *cqe = (struct cq_res_rc *)hw_cqe; in __clean_cq() 2482 struct cq_base *hw_cqe, **hw_cqe_ptr; in bnxt_qplib_is_cq_empty() local 2489 hw_cqe = &hw_cqe_ptr[CQE_PG(sw_cons)][CQE_IDX(sw_cons)]; in bnxt_qplib_is_cq_empty() 2492 rc = !CQE_CMP_VALID(hw_cqe, raw_cons, cq->hwq.max_elements); in bnxt_qplib_is_cq_empty() 2747 struct cq_base *hw_cqe, **hw_cqe_ptr; in bnxt_qplib_poll_cq() local [all …]
|