Lines Matching defs:i40e_ring
320 struct i40e_ring { struct
321 struct i40e_ring *next; /* pointer to next ring in q_vector */ argument
322 void *desc; /* Descriptor ring memory */
323 struct device *dev; /* Used for DMA mapping */
324 struct net_device *netdev; /* netdev ring maps to */
325 struct bpf_prog *xdp_prog;
326 union {
332 u16 queue_index; /* Queue number of ring */
333 u8 dcb_tc; /* Traffic class of ring */
334 u8 __iomem *tail;
341 u16 itr_setting;
343 u16 count; /* Number of descriptors */
344 u16 reg_idx; /* HW register index of the ring */
345 u16 rx_buf_len;
348 u16 next_to_use;
349 u16 next_to_clean;
350 u16 xdp_tx_active;
352 u8 atr_sample_rate;
353 u8 atr_count;
355 bool ring_active; /* is ring online or not */
356 bool arm_wb; /* do something to arm write back */
357 u8 packet_stride;
359 u16 flags;
365 struct i40e_queue_stats stats;
366 struct u64_stats_sync syncp;
367 union {
394 static inline bool ring_uses_build_skb(struct i40e_ring *ring) in ring_uses_build_skb() argument