Searched refs:max_hw_cqe (Results 1 – 4 of 4) sorted by relevance
71 u32 max_hw_cqe; member
304 u32 max_hw_cqe; member
1717 int status = -ENOMEM; int max_hw_cqe; in ocrdma_mbx_create_cq() local1732 cq->max_hw_cqe = 1; in ocrdma_mbx_create_cq()1733 max_hw_cqe = 1; in ocrdma_mbx_create_cq()1737 cq->max_hw_cqe = dev->attr.max_cqe; in ocrdma_mbx_create_cq()1738 max_hw_cqe = dev->attr.max_cqe; in ocrdma_mbx_create_cq()1743 cq->len = roundup(max_hw_cqe * cqe_size, OCRDMA_MIN_Q_PAGE_SIZE); in ocrdma_mbx_create_cq()
978 uresp.max_hw_cqe = cq->max_hw_cqe; in ocrdma_copy_cq_uresp()1059 if (new_cnt < 1 || new_cnt > cq->max_hw_cqe) { in ocrdma_resize_cq()1693 cur_getp = (cur_getp + 1) % cq->max_hw_cqe; in ocrdma_discard_cqes()2854 cur_getp = (cur_getp + 1) % cq->max_hw_cqe; in ocrdma_poll_hwcq()