Home
last modified time | relevance | path

Searched refs:rbdr (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c96 struct rbdr *rbdr, gfp_t gfp) in nicvf_alloc_page() argument
103 pgcache = &rbdr->pgcache[rbdr->pgidx]; in nicvf_alloc_page()
112 if (rbdr->is_xdp && (ref_count == pgcache->ref_count)) in nicvf_alloc_page()
120 if (!rbdr->is_xdp && (ref_count != 1)) in nicvf_alloc_page()
132 if (rbdr->pgalloc >= rbdr->pgcnt) { in nicvf_alloc_page()
142 rbdr->pgalloc++; in nicvf_alloc_page()
146 if (rbdr->is_xdp) { in nicvf_alloc_page()
166 rbdr->pgidx++; in nicvf_alloc_page()
167 rbdr->pgidx &= (rbdr->pgcnt - 1); in nicvf_alloc_page()
170 next = &rbdr->pgcache[rbdr->pgidx]; in nicvf_alloc_page()
[all …]
Dnicvf_queues.h224 struct rbdr { struct
244 struct rbdr *rbdr_start; argument
245 struct rbdr *rbdr_cont;
305 struct rbdr rbdr[MAX_RCV_BUF_DESC_RINGS_PER_QS]; member