Searched refs:hw_cqe (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/ofed/libcxgb4/ |
H A D | cq.c | 163 static void create_read_req_cqe(struct t4_wq *wq, struct t4_cqe *hw_cqe, in create_read_req_cqe() argument 168 read_cqe->header = htobe32(V_CQE_QPID(CQE_QPID(hw_cqe)) | in create_read_req_cqe() 169 V_CQE_SWCQE(SW_CQE(hw_cqe)) | in create_read_req_cqe() 172 read_cqe->bits_type_ts = hw_cqe->bits_type_ts; in create_read_req_cqe() 200 struct t4_cqe *hw_cqe, *swcqe, read_cqe; in c4iw_flush_hw_cq() local 206 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe); in c4iw_flush_hw_cq() 214 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq() 222 if (CQE_OPCODE(hw_cqe) == FW_RI_TERMINATE) in c4iw_flush_hw_cq() 225 if (CQE_OPCODE(hw_cqe) == FW_RI_READ_RESP) { in c4iw_flush_hw_cq() 232 if (CQE_TYPE(hw_cqe) == 1) { in c4iw_flush_hw_cq() [all …]
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | cq.c | 326 static void create_read_req_cqe(struct t4_wq *wq, struct t4_cqe *hw_cqe, in create_read_req_cqe() argument 331 read_cqe->header = htonl(V_CQE_QPID(CQE_QPID(hw_cqe)) | in create_read_req_cqe() 332 V_CQE_SWCQE(SW_CQE(hw_cqe)) | in create_read_req_cqe() 335 read_cqe->bits_type_ts = hw_cqe->bits_type_ts; in create_read_req_cqe() 363 struct t4_cqe *hw_cqe, *swcqe, read_cqe; in c4iw_flush_hw_cq() local 370 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe); in c4iw_flush_hw_cq() 378 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq() 386 if (CQE_OPCODE(hw_cqe) == FW_RI_TERMINATE) in c4iw_flush_hw_cq() 389 if (CQE_OPCODE(hw_cqe) == FW_RI_READ_RESP) { in c4iw_flush_hw_cq() 395 if (CQE_TYPE(hw_cqe) == 1) in c4iw_flush_hw_cq() [all …]
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_fp.c | 1595 struct cq_base *hw_cqe; in __clean_cq() local 1601 hw_cqe = bnxt_qplib_get_qe(cq_hwq, peek_cons, NULL); in __clean_cq() 1602 if (CQE_CMP_VALID(hw_cqe, peek_flags)) { in __clean_cq() 1604 switch (hw_cqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK) { in __clean_cq() 1608 struct cq_req *cqe = (struct cq_req *)hw_cqe; in __clean_cq() 1618 struct cq_res_rc *cqe = (struct cq_res_rc *)hw_cqe; in __clean_cq() 3176 struct cq_base *hw_cqe; in bnxt_qplib_is_cq_empty() local 3181 hw_cqe = bnxt_qplib_get_qe(&cq->hwq, cq->hwq.cons, NULL); in bnxt_qplib_is_cq_empty() 3184 rc = !CQE_CMP_VALID(hw_cqe, cq->dbinfo.flags); in bnxt_qplib_is_cq_empty() 3449 struct cq_base *hw_cqe; in bnxt_qplib_poll_cq() local [all …]
|