Searched refs:hw_cqe (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 300 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) in c4iw_flush_hw_cq() 491 reap_srq_cqe(struct t4_cqe *hw_cqe, struct t4_srq *srq) reap_srq_cqe() argument 549 struct t4_cqe *hw_cqe, read_cqe; poll_cq() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 300 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) in c4iw_flush_hw_cq() 491 reap_srq_cqe(struct t4_cqe *hw_cqe, struct t4_srq *srq) reap_srq_cqe() argument 549 struct t4_cqe *hw_cqe, read_cqe; poll_cq() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_fp.c | 1431 struct cq_base *hw_cqe; in __clean_cq() local 1435 hw_cqe = bnxt_qplib_get_qe(cq_hwq, i, NULL); in __clean_cq() 1436 if (!CQE_CMP_VALID(hw_cqe, i, cq_hwq->max_elements)) in __clean_cq() 1443 switch (hw_cqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK) { in __clean_cq() 1447 struct cq_req *cqe = (struct cq_req *)hw_cqe; in __clean_cq() 1457 struct cq_res_rc *cqe = (struct cq_res_rc *)hw_cqe; in __clean_cq() 2610 struct cq_base *hw_cqe; in bnxt_qplib_is_cq_empty() local 2616 hw_cqe = bnxt_qplib_get_qe(&cq->hwq, sw_cons, NULL); in bnxt_qplib_is_cq_empty() 2618 rc = !CQE_CMP_VALID(hw_cqe, raw_cons, cq->hwq.max_elements); in bnxt_qplib_is_cq_empty() 2859 struct cq_base *hw_cqe; in bnxt_qplib_poll_cq() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_fp.c | 1458 struct cq_base *hw_cqe; in __clean_cq() local 1462 hw_cqe = bnxt_qplib_get_qe(cq_hwq, i, NULL); in __clean_cq() 1463 if (!CQE_CMP_VALID(hw_cqe, i, cq_hwq->max_elements)) in __clean_cq() 1470 switch (hw_cqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK) { in __clean_cq() 1474 struct cq_req *cqe = (struct cq_req *)hw_cqe; in __clean_cq() 1484 struct cq_res_rc *cqe = (struct cq_res_rc *)hw_cqe; in __clean_cq() 2689 struct cq_base *hw_cqe; in bnxt_qplib_is_cq_empty() local 2695 hw_cqe = bnxt_qplib_get_qe(&cq->hwq, sw_cons, NULL); in bnxt_qplib_is_cq_empty() 2697 rc = !CQE_CMP_VALID(hw_cqe, raw_cons, cq->hwq.max_elements); in bnxt_qplib_is_cq_empty() 2936 struct cq_base *hw_cqe; in bnxt_qplib_poll_cq() local [all...] |
Completed in 12 milliseconds