Lines Matching defs:igc_ring
79 struct igc_ring { struct
80 struct igc_q_vector *q_vector; /* backlink to q_vector */
81 struct net_device *netdev; /* back pointer to net_device */
82 struct device *dev; /* device for dma mapping */
83 union { /* array of buffer info structs */
87 void *desc; /* descriptor ring memory */
88 unsigned long flags; /* ring specific flags */
89 void __iomem *tail; /* pointer to ring tail register */
90 dma_addr_t dma; /* phys address of the ring */
91 unsigned int size; /* length of desc. ring in bytes */
93 u16 count; /* number of desc. in the ring */
94 u8 queue_index; /* logical index of the ring*/
95 u8 reg_idx; /* physical index of the ring */
96 bool launchtime_enable; /* true if LaunchTime is enabled */
97 ktime_t last_tx_cycle; /* end of the cycle with a launchtime transmission */
98 ktime_t last_ff_cycle; /* Last cycle with an active first flag */
100 u32 start_time;
101 u32 end_time;
104 bool cbs_enable; /* indicates if CBS is enabled */
105 s32 idleslope; /* idleSlope in kbps */
106 s32 sendslope; /* sendSlope in kbps */
107 s32 hicredit; /* hiCredit in bytes */
108 s32 locredit; /* loCredit in bytes */
111 u16 next_to_clean;
112 u16 next_to_use;
113 u16 next_to_alloc;
115 union {
152 struct igc_ring *tx_ring[IGC_MAX_TX_QUEUES]; argument