Lines Matching refs:max_count
128 droq->max_empty_descs = droq->max_count - droq->max_empty_descs; in octeon_droq_compute_max_packet_bufs()
147 for (i = 0; i < droq->max_count; i++) { in octeon_droq_destroy_ring_buffers()
175 for (i = 0; i < droq->max_count; i++) { in octeon_droq_setup_ring_buffers()
209 lio_dma_free(oct, (droq->max_count * OCT_DROQ_DESC_SIZE), in octeon_delete_droq()
267 droq->max_count = c_num_descs; in octeon_init_droq()
270 desc_ring_size = droq->max_count * OCT_DROQ_DESC_SIZE; in octeon_init_droq()
283 droq->max_count); in octeon_init_droq()
285 droq->recv_buf_list = vzalloc_node(array_size(droq->max_count, OCT_DROQ_RECVBUF_SIZE), in octeon_init_droq()
288 droq->recv_buf_list = vzalloc(array_size(droq->max_count, OCT_DROQ_RECVBUF_SIZE)); in octeon_init_droq()
378 idx = incr_index(idx, 1, droq->max_count); in octeon_create_recv_info()
411 droq->max_count); in octeon_droq_refill_pullup_descs()
416 refill_index = incr_index(refill_index, 1, droq->max_count); in octeon_droq_refill_pullup_descs()
443 while (droq->refill_count && (desc_refilled < droq->max_count)) { in octeon_droq_refill()
479 droq->max_count); in octeon_droq_refill()
589 droq->max_count); in octeon_droq_drop_packets()
636 buf_cnt, droq->max_count); in octeon_droq_fast_process_packets()
651 droq->max_count); in octeon_droq_fast_process_packets()
685 droq->max_count); in octeon_droq_fast_process_packets()
793 if (budget > droq->max_count) in octeon_droq_process_poll_pkts()
794 budget = droq->max_count; in octeon_droq_process_poll_pkts()