Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c95 static inline struct pgcache *nicvf_alloc_page(struct nicvf *nic, in nicvf_alloc_page()
100 struct pgcache *pgcache, *next; in nicvf_alloc_page() local
103 pgcache = &rbdr->pgcache[rbdr->pgidx]; in nicvf_alloc_page()
104 page = pgcache->page; in nicvf_alloc_page()
112 if (rbdr->is_xdp && (ref_count == pgcache->ref_count)) in nicvf_alloc_page()
113 pgcache->ref_count--; in nicvf_alloc_page()
139 pgcache->page = page; in nicvf_alloc_page()
140 pgcache->dma_addr = 0; in nicvf_alloc_page()
141 pgcache->ref_count = 0; in nicvf_alloc_page()
154 if (!pgcache->ref_count) { in nicvf_alloc_page()
[all …]
Dnicvf_queues.h218 struct pgcache { struct
239 struct pgcache *pgcache; argument