Home
last modified time | relevance | path

Searched refs:refill_idx (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.c135 droq->refill_idx = 0; in octeon_droq_reset_indices()
396 u32 refill_index = droq->refill_idx; in octeon_droq_refill_pullup_descs()
400 droq->recv_buf_list[droq->refill_idx].buffer = in octeon_droq_refill_pullup_descs()
402 droq->recv_buf_list[droq->refill_idx].data = in octeon_droq_refill_pullup_descs()
404 desc_ring[droq->refill_idx].buffer_ptr = in octeon_droq_refill_pullup_descs()
409 droq->refill_idx = incr_index(droq->refill_idx, in octeon_droq_refill_pullup_descs()
414 } while (droq->recv_buf_list[droq->refill_idx].buffer); in octeon_droq_refill_pullup_descs()
447 if (!droq->recv_buf_list[droq->refill_idx].buffer) { in octeon_droq_refill()
449 &droq->recv_buf_list[droq->refill_idx].pg_info; in octeon_droq_refill()
464 droq->recv_buf_list[droq->refill_idx].buffer = in octeon_droq_refill()
[all …]
Docteon_droq.h268 u32 refill_idx; member
/linux-6.6.21/drivers/net/ethernet/marvell/octeon_ep/
Doctep_rx.c83 u32 refill_idx, i; in octep_oq_refill() local
85 refill_idx = oq->host_refill_idx; in octep_oq_refill()
94 desc_ring[refill_idx].buffer_ptr = dma_map_page(oq->dev, page, 0, in octep_oq_refill()
96 if (dma_mapping_error(oq->dev, desc_ring[refill_idx].buffer_ptr)) { in octep_oq_refill()
104 oq->buff_info[refill_idx].page = page; in octep_oq_refill()
105 refill_idx++; in octep_oq_refill()
106 if (refill_idx == oq->max_count) in octep_oq_refill()
107 refill_idx = 0; in octep_oq_refill()
109 oq->host_refill_idx = refill_idx; in octep_oq_refill()