Lines Matching defs:gve_rx_ring

219 struct gve_rx_ring {  struct
220 struct gve_priv *gve;
221 union {
285 u64 rbytes; /* free-running bytes received */
286 u64 rx_hsplit_bytes; /* free-running header bytes received */
287 u64 rpackets; /* free-running packets received */
288 u32 cnt; /* free-running total number of completed packets */
289 u32 fill_cnt; /* free-running total number of descs and buffs posted */
290 u32 mask; /* masks the cnt and fill_cnt to the size of the ring */
291 u64 rx_hsplit_pkt; /* free-running packets with headers split */
292 u64 rx_copybreak_pkt; /* free-running count of copybreak packets */
293 u64 rx_copied_pkt; /* free-running total number of copied packets */
294 u64 rx_skb_alloc_fail; /* free-running count of skb alloc fails */
295 u64 rx_buf_alloc_fail; /* free-running count of buffer alloc fails */
296 u64 rx_desc_err_dropped_pkt; /* free-running count of packets dropped by descriptor error */
298 u64 rx_hsplit_unsplit_pkt;
299 u64 rx_cont_packet_cnt; /* free-running multi-fragment packets received */
300 u64 rx_frag_flip_cnt; /* free-running count of rx segments where page_flip was used */
301 u64 rx_frag_copy_cnt; /* free-running count of rx segments copied */
302 u64 rx_frag_alloc_cnt; /* free-running count of rx page allocations */
303 u64 xdp_tx_errors;
304 u64 xdp_redirect_errors;
305 u64 xdp_alloc_fails;
306 u64 xdp_actions[GVE_XDP_ACTIONS];
307 u32 q_num; /* queue index */
308 u32 ntfy_id; /* notification block index */
309 struct gve_queue_resources *q_resources; /* head and tail pointer idx */
310 dma_addr_t q_resources_bus; /* dma address for the queue resources */
311 struct u64_stats_sync statss; /* sync stats for 32bit archs */
313 struct gve_rx_ctx ctx; /* Info for packet currently being processed in this ring. */
316 struct xdp_rxq_info xdp_rxq;
317 struct xdp_rxq_info xsk_rxq;
318 struct xsk_buff_pool *xsk_pool;
319 struct page_frag_cache page_cache; /* Page cache to allocate XDP frames */