Lines Matching defs:ice_rx_ring
299 struct ice_rx_ring { struct
301 struct ice_rx_ring *next; /* pointer to next ring in q_vector */ argument
302 void *desc; /* Descriptor ring memory */
303 struct device *dev; /* Used for DMA mapping */
304 struct net_device *netdev; /* netdev ring maps to */
305 struct ice_vsi *vsi; /* Backreference to associated VSI */
306 struct ice_q_vector *q_vector; /* Backreference to associated vector */
307 u8 __iomem *tail;
308 u16 q_index; /* Queue number of ring */
310 u16 count; /* Number of descriptors */
311 u16 reg_idx; /* HW register index of the ring */
312 u16 next_to_alloc;
314 union {
318 struct xdp_buff xdp;
320 struct bpf_prog *xdp_prog;
321 u16 rx_offset;
324 u16 next_to_use;
325 u16 next_to_clean;
326 u16 first_desc;
329 struct ice_ring_stats *ring_stats;
331 struct rcu_head rcu; /* to avoid race on free */
333 struct ice_channel *ch;
334 struct ice_tx_ring *xdp_ring;
335 struct xsk_buff_pool *xsk_pool;
336 u32 nr_frags;
337 dma_addr_t dma; /* physical address of ring */
338 u64 cached_phctime;
339 u16 rx_buf_len;
340 u8 dcb_tc; /* Traffic class of ring */
341 u8 ptp_rx;
344 u8 flags;
346 struct xdp_rxq_info xdp_rxq;