Lines Matching defs:igc_ring
108 struct igc_ring { struct
109 struct igc_q_vector *q_vector; /* backlink to q_vector */
110 struct net_device *netdev; /* back pointer to net_device */
111 struct device *dev; /* device for dma mapping */
112 union { /* array of buffer info structs */
116 void *desc; /* descriptor ring memory */
117 unsigned long flags; /* ring specific flags */
118 void __iomem *tail; /* pointer to ring tail register */
119 dma_addr_t dma; /* phys address of the ring */
120 unsigned int size; /* length of desc. ring in bytes */
122 u16 count; /* number of desc. in the ring */
123 u8 queue_index; /* logical index of the ring*/
124 u8 reg_idx; /* physical index of the ring */
125 bool launchtime_enable; /* true if LaunchTime is enabled */
126 ktime_t last_tx_cycle; /* end of the cycle with a launchtime transmission */
127 ktime_t last_ff_cycle; /* Last cycle with an active first flag */
129 u32 start_time;
130 u32 end_time;
131 u32 max_sdu;
132 bool oper_gate_closed; /* Operating gate. True if the TX Queue is closed */
133 bool admin_gate_closed; /* Future gate. True if the TX Queue will be closed */
136 bool cbs_enable; /* indicates if CBS is enabled */
137 s32 idleslope; /* idleSlope in kbps */
138 s32 sendslope; /* sendSlope in kbps */
139 s32 hicredit; /* hiCredit in bytes */
140 s32 locredit; /* loCredit in bytes */
143 u16 next_to_clean;
144 u16 next_to_use;
145 u16 next_to_alloc;
147 union {
184 struct igc_ring *tx_ring[IGC_MAX_TX_QUEUES]; argument