Lines Matching defs:gve_rx_ring
197 struct gve_rx_ring { struct
198 struct gve_priv *gve;
199 union {
258 u64 rbytes; /* free-running bytes received */
259 u64 rpackets; /* free-running packets received */
260 u32 cnt; /* free-running total number of completed packets */
261 u32 fill_cnt; /* free-running total number of descs and buffs posted */
262 u32 mask; /* masks the cnt and fill_cnt to the size of the ring */
263 u64 rx_copybreak_pkt; /* free-running count of copybreak packets */
264 u64 rx_copied_pkt; /* free-running total number of copied packets */
265 u64 rx_skb_alloc_fail; /* free-running count of skb alloc fails */
266 u64 rx_buf_alloc_fail; /* free-running count of buffer alloc fails */
267 u64 rx_desc_err_dropped_pkt; /* free-running count of packets dropped by descriptor error */
268 u64 rx_cont_packet_cnt; /* free-running multi-fragment packets received */
269 u64 rx_frag_flip_cnt; /* free-running count of rx segments where page_flip was used */
270 u64 rx_frag_copy_cnt; /* free-running count of rx segments copied */
271 u64 rx_frag_alloc_cnt; /* free-running count of rx page allocations */
272 u64 xdp_tx_errors;
273 u64 xdp_redirect_errors;
274 u64 xdp_alloc_fails;
275 u64 xdp_actions[GVE_XDP_ACTIONS];
276 u32 q_num; /* queue index */
277 u32 ntfy_id; /* notification block index */
278 struct gve_queue_resources *q_resources; /* head and tail pointer idx */
279 dma_addr_t q_resources_bus; /* dma address for the queue resources */
280 struct u64_stats_sync statss; /* sync stats for 32bit archs */
282 struct gve_rx_ctx ctx; /* Info for packet currently being processed in this ring. */
285 struct xdp_rxq_info xdp_rxq;
286 struct xdp_rxq_info xsk_rxq;
287 struct xsk_buff_pool *xsk_pool;
288 struct page_frag_cache page_cache; /* Page cache to allocate XDP frames */