Searched refs:max_hw_cqe (Results 1 – 4 of 4) sorted by relevance
89 __u32 max_hw_cqe; member
325 u32 max_hw_cqe; member
1789 int status = -ENOMEM; int max_hw_cqe; in ocrdma_mbx_create_cq() local1804 cq->max_hw_cqe = 1; in ocrdma_mbx_create_cq()1805 max_hw_cqe = 1; in ocrdma_mbx_create_cq()1809 cq->max_hw_cqe = dev->attr.max_cqe; in ocrdma_mbx_create_cq()1810 max_hw_cqe = dev->attr.max_cqe; in ocrdma_mbx_create_cq()1815 cq->len = roundup(max_hw_cqe * cqe_size, OCRDMA_MIN_Q_PAGE_SIZE); in ocrdma_mbx_create_cq()
1005 uresp.max_hw_cqe = cq->max_hw_cqe; in ocrdma_copy_cq_uresp()1090 if (new_cnt < 1 || new_cnt > cq->max_hw_cqe) { in ocrdma_resize_cq()1721 cur_getp = (cur_getp + 1) % cq->max_hw_cqe; in ocrdma_discard_cqes()2875 cur_getp = (cur_getp + 1) % cq->max_hw_cqe; in ocrdma_poll_hwcq()