Lines Matching defs:igb_ring
315 struct igb_ring { struct
316 struct igb_q_vector *q_vector; /* backlink to q_vector */
317 struct net_device *netdev; /* back pointer to net_device */
318 struct bpf_prog *xdp_prog;
319 struct device *dev; /* device pointer for dma mapping */
320 union { /* array of buffer info structs */
324 void *desc; /* descriptor ring memory */
325 unsigned long flags; /* ring specific flags */
326 void __iomem *tail; /* pointer to ring tail register */
327 dma_addr_t dma; /* phys address of the ring */
328 unsigned int size; /* length of desc. ring in bytes */
330 u16 count; /* number of desc. in the ring */
331 u8 queue_index; /* logical index of the ring*/
332 u8 reg_idx; /* physical index of the ring */
333 bool launchtime_enable; /* true if LaunchTime is enabled */
334 bool cbs_enable; /* indicates if CBS is enabled */
335 s32 idleslope; /* idleSlope in kbps */
336 s32 sendslope; /* sendSlope in kbps */
337 s32 hicredit; /* hiCredit in bytes */
338 s32 locredit; /* loCredit in bytes */
341 u16 next_to_clean;
342 u16 next_to_use;
343 u16 next_to_alloc;
345 union {
378 struct igb_ring ring[] ____cacheline_internodealigned_in_smp; argument