Lines Matching refs:max_count
123 droq->max_empty_descs = droq->max_count - droq->max_empty_descs; in octeon_droq_compute_max_packet_bufs()
142 for (i = 0; i < droq->max_count; i++) { in octeon_droq_destroy_ring_buffers()
170 for (i = 0; i < droq->max_count; i++) { in octeon_droq_setup_ring_buffers()
204 lio_dma_free(oct, (droq->max_count * OCT_DROQ_DESC_SIZE), in octeon_delete_droq()
262 droq->max_count = c_num_descs; in octeon_init_droq()
265 desc_ring_size = droq->max_count * OCT_DROQ_DESC_SIZE; in octeon_init_droq()
278 droq->max_count); in octeon_init_droq()
280 droq->recv_buf_list = vzalloc_node(array_size(droq->max_count, OCT_DROQ_RECVBUF_SIZE), in octeon_init_droq()
283 droq->recv_buf_list = vzalloc(array_size(droq->max_count, OCT_DROQ_RECVBUF_SIZE)); in octeon_init_droq()
373 idx = incr_index(idx, 1, droq->max_count); in octeon_create_recv_info()
406 droq->max_count); in octeon_droq_refill_pullup_descs()
411 refill_index = incr_index(refill_index, 1, droq->max_count); in octeon_droq_refill_pullup_descs()
438 while (droq->refill_count && (desc_refilled < droq->max_count)) { in octeon_droq_refill()
474 droq->max_count); in octeon_droq_refill()
584 droq->max_count); in octeon_droq_drop_packets()
631 buf_cnt, droq->max_count); in octeon_droq_fast_process_packets()
646 droq->max_count); in octeon_droq_fast_process_packets()
680 droq->max_count); in octeon_droq_fast_process_packets()
788 if (budget > droq->max_count) in octeon_droq_process_poll_pkts()
789 budget = droq->max_count; in octeon_droq_process_poll_pkts()