Lines Matching defs:ice_ring
254 struct ice_ring { struct
256 struct ice_ring *next; /* pointer to next ring in q_vector */ argument
257 void *desc; /* Descriptor ring memory */
258 struct device *dev; /* Used for DMA mapping */
259 struct net_device *netdev; /* netdev ring maps to */
260 struct ice_vsi *vsi; /* Backreference to associated VSI */
261 struct ice_q_vector *q_vector; /* Backreference to associated vector */
262 u8 __iomem *tail;
263 union {
269 u16 q_index; /* Queue number of ring */
270 u16 q_handle; /* Queue handle per TC */
272 u8 ring_active:1; /* is ring online or not */
274 u16 count; /* Number of descriptors */
275 u16 reg_idx; /* HW register index of the ring */
278 u16 next_to_use;
279 u16 next_to_clean;
280 u16 next_to_alloc;
283 struct ice_q_stats stats;
284 struct u64_stats_sync syncp;
285 union {
290 struct rcu_head rcu; /* to avoid race on free */
315 static inline bool ice_ring_uses_build_skb(struct ice_ring *ring) in ice_ring_uses_build_skb() argument