Searched refs:max_hw_cqe (Results 1 – 4 of 4) sorted by relevance
89 __u32 max_hw_cqe; member
323 u32 max_hw_cqe; member
1782 int status = -ENOMEM; int max_hw_cqe; in ocrdma_mbx_create_cq() local1797 cq->max_hw_cqe = 1; in ocrdma_mbx_create_cq()1798 max_hw_cqe = 1; in ocrdma_mbx_create_cq()1802 cq->max_hw_cqe = dev->attr.max_cqe; in ocrdma_mbx_create_cq()1803 max_hw_cqe = dev->attr.max_cqe; in ocrdma_mbx_create_cq()1808 cq->len = roundup(max_hw_cqe * cqe_size, OCRDMA_MIN_Q_PAGE_SIZE); in ocrdma_mbx_create_cq()
941 uresp.max_hw_cqe = cq->max_hw_cqe; in ocrdma_copy_cq_uresp()1019 if (new_cnt < 1 || new_cnt > cq->max_hw_cqe) { in ocrdma_resize_cq()1647 cur_getp = (cur_getp + 1) % cq->max_hw_cqe; in ocrdma_discard_cqes()2793 cur_getp = (cur_getp + 1) % cq->max_hw_cqe; in ocrdma_poll_hwcq()