Lines Matching defs:sge_txq
165 struct sge_txq { /* state for an SGE Tx queue */ struct
166 unsigned long flags; /* HW DMA fetch status */
167 unsigned int in_use; /* # of in-use Tx descriptors */
168 unsigned int size; /* # of descriptors */
169 unsigned int processed; /* total # of descs HW has processed */
170 unsigned int cleaned; /* total # of descs SW has reclaimed */
171 unsigned int stop_thres; /* SW TX queue suspend threshold */
172 unsigned int cidx; /* consumer index */
173 unsigned int pidx; /* producer index */
174 unsigned int gen; /* current value of generation bit */
175 unsigned int unacked; /* Tx descriptors used since last COMPL */
176 struct tx_desc *desc; /* address of HW Tx descriptor ring */
177 struct tx_sw_desc *sdesc; /* address of SW Tx descriptor ring */
178 spinlock_t lock; /* guards enqueueing of new packets */
179 unsigned int token; /* WR token */
180 dma_addr_t phys_addr; /* physical address of the ring */
181 struct sk_buff_head sendq; /* List of backpressured offload packets */
205 struct sge_txq txq[SGE_TXQ_PER_SET]; argument