Searched refs:max_hw_cqe (Results 1 – 4 of 4) sorted by relevance
86 u32 max_hw_cqe; member
324 u32 max_hw_cqe; member
1783 int status = -ENOMEM; int max_hw_cqe; in ocrdma_mbx_create_cq() local1798 cq->max_hw_cqe = 1; in ocrdma_mbx_create_cq()1799 max_hw_cqe = 1; in ocrdma_mbx_create_cq()1803 cq->max_hw_cqe = dev->attr.max_cqe; in ocrdma_mbx_create_cq()1804 max_hw_cqe = dev->attr.max_cqe; in ocrdma_mbx_create_cq()1809 cq->len = roundup(max_hw_cqe * cqe_size, OCRDMA_MIN_Q_PAGE_SIZE); in ocrdma_mbx_create_cq()
1044 uresp.max_hw_cqe = cq->max_hw_cqe; in ocrdma_copy_cq_uresp()1130 if (new_cnt < 1 || new_cnt > cq->max_hw_cqe) { in ocrdma_resize_cq()1764 cur_getp = (cur_getp + 1) % cq->max_hw_cqe; in ocrdma_discard_cqes()2902 cur_getp = (cur_getp + 1) % cq->max_hw_cqe; in ocrdma_poll_hwcq()