Lines Matching defs:sge_txq
152 struct sge_txq { /* state for an SGE Tx queue */ struct
153 unsigned long flags; /* HW DMA fetch status */
154 unsigned int in_use; /* # of in-use Tx descriptors */
155 unsigned int size; /* # of descriptors */
156 unsigned int processed; /* total # of descs HW has processed */
157 unsigned int cleaned; /* total # of descs SW has reclaimed */
158 unsigned int stop_thres; /* SW TX queue suspend threshold */
159 unsigned int cidx; /* consumer index */
160 unsigned int pidx; /* producer index */
161 unsigned int gen; /* current value of generation bit */
162 unsigned int unacked; /* Tx descriptors used since last COMPL */
163 struct tx_desc *desc; /* address of HW Tx descriptor ring */
164 struct tx_sw_desc *sdesc; /* address of SW Tx descriptor ring */
165 spinlock_t lock; /* guards enqueueing of new packets */
166 unsigned int token; /* WR token */
167 dma_addr_t phys_addr; /* physical address of the ring */
168 struct sk_buff_head sendq; /* List of backpressured offload packets */
169 struct tasklet_struct qresume_tsk; /* restarts the queue */
170 unsigned int cntxt_id; /* SGE context id for the Tx q */
171 unsigned long stops; /* # of times q has been stopped */
172 unsigned long restarts; /* # of queue restarts */