Lines Matching refs:pg_info
144 struct octeon_skb_page_info *pg_info; in octeon_droq_destroy_ring_buffers() local
147 pg_info = &droq->recv_buf_list[i].pg_info; in octeon_droq_destroy_ring_buffers()
148 if (!pg_info) in octeon_droq_destroy_ring_buffers()
151 if (pg_info->dma) in octeon_droq_destroy_ring_buffers()
153 (u64)pg_info->dma); in octeon_droq_destroy_ring_buffers()
154 pg_info->dma = 0; in octeon_droq_destroy_ring_buffers()
156 if (pg_info->page) in octeon_droq_destroy_ring_buffers()
158 pg_info); in octeon_droq_destroy_ring_buffers()
175 buf = recv_buffer_alloc(oct, &droq->recv_buf_list[i].pg_info); in octeon_droq_setup_ring_buffers()
342 struct octeon_skb_page_info *pg_info; in octeon_create_recv_info() local
361 pg_info = &droq->recv_buf_list[idx].pg_info; in octeon_create_recv_info()
364 (u64)pg_info->dma); in octeon_create_recv_info()
365 pg_info->page = NULL; in octeon_create_recv_info()
366 pg_info->dma = 0; in octeon_create_recv_info()
437 struct octeon_skb_page_info *pg_info; in octeon_droq_refill() local
446 pg_info = in octeon_droq_refill()
447 &droq->recv_buf_list[droq->refill_idx].pg_info; in octeon_droq_refill()
451 if (pg_info->page) in octeon_droq_refill()
452 buf = recv_buffer_reuse(octeon_dev, pg_info); in octeon_droq_refill()
454 buf = recv_buffer_alloc(octeon_dev, pg_info); in octeon_droq_refill()
606 struct octeon_skb_page_info *pg_info; in octeon_droq_fast_process_packets() local
641 pg_info = &droq->recv_buf_list[ in octeon_droq_fast_process_packets()
642 droq->read_idx].pg_info; in octeon_droq_fast_process_packets()
643 if (recv_buffer_recycle(oct, pg_info)) in octeon_droq_fast_process_packets()
644 pg_info->page = NULL; in octeon_droq_fast_process_packets()