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.c947 struct bnxt_qplib_hwq *cq_hwq; in bnxt_re_fill_res_cq_entry() local
952 cq_hwq = &cq->qplib_cq.hwq; in bnxt_re_fill_res_cq_entry()
958 if (rdma_nl_put_driver_u32(msg, "cq_depth", cq_hwq->depth)) in bnxt_re_fill_res_cq_entry()
960 if (rdma_nl_put_driver_u32(msg, "max_elements", cq_hwq->max_elements)) in bnxt_re_fill_res_cq_entry()
962 if (rdma_nl_put_driver_u32(msg, "element_size", cq_hwq->element_size)) in bnxt_re_fill_res_cq_entry()
H A Dqplib_fp.c1532 struct bnxt_qplib_hwq *cq_hwq = &cq->hwq; in __clean_cq() local
1538 peek_cons = cq_hwq->cons; in __clean_cq()
1539 for (i = 0; i < cq_hwq->max_elements; i++) { in __clean_cq()
1540 hw_cqe = bnxt_qplib_get_qe(cq_hwq, peek_cons, NULL); in __clean_cq()
1571 bnxt_qplib_hwq_incr_cons(cq_hwq->max_elements, &peek_cons, in __clean_cq()