Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c1140 struct bnxt_qplib_hwq *cq_hwq; in bnxt_re_fill_res_cq_entry() local
1145 cq_hwq = &cq->qplib_cq.hwq; in bnxt_re_fill_res_cq_entry()
1151 if (rdma_nl_put_driver_u32(msg, "cq_depth", cq_hwq->depth)) in bnxt_re_fill_res_cq_entry()
1153 if (rdma_nl_put_driver_u32(msg, "max_elements", cq_hwq->max_elements)) in bnxt_re_fill_res_cq_entry()
1155 if (rdma_nl_put_driver_u32(msg, "element_size", cq_hwq->element_size)) in bnxt_re_fill_res_cq_entry()
H A Dqplib_fp.c1537 struct bnxt_qplib_hwq *cq_hwq = &cq->hwq; in __clean_cq() local
1543 peek_cons = cq_hwq->cons; in __clean_cq()
1544 for (i = 0; i < cq_hwq->max_elements; i++) { in __clean_cq()
1545 hw_cqe = bnxt_qplib_get_qe(cq_hwq, peek_cons, NULL); in __clean_cq()
1576 bnxt_qplib_hwq_incr_cons(cq_hwq->max_elements, &peek_cons, in __clean_cq()