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