Lines Matching defs:sge_rspq
130 struct sge_rspq { /* state for an SGE response queue */ struct
131 unsigned int credits; /* # of pending response credits */
132 unsigned int size; /* capacity of response queue */
133 unsigned int cidx; /* consumer index */
134 unsigned int gen; /* current generation bit */
135 unsigned int polling; /* is the queue serviced through NAPI? */
136 unsigned int holdoff_tmr; /* interrupt holdoff timer in 100ns */
137 unsigned int next_holdoff; /* holdoff time for next interrupt */
138 unsigned int rx_recycle_buf; /* whether recycling occurred
140 struct rsp_desc *desc; /* address of HW response ring */
141 dma_addr_t phys_addr; /* physical address of the ring */
142 unsigned int cntxt_id; /* SGE context id for the response q */
143 spinlock_t lock; /* guards response processing */
144 struct sk_buff_head rx_queue; /* offload packet receive queue */
145 struct sk_buff *pg_skb; /* used to build frag list in napi handler */
147 unsigned long offload_pkts;
148 unsigned long offload_bundles;
149 unsigned long eth_pkts; /* # of ethernet packets */
150 unsigned long pure_rsps; /* # of pure (non-data) responses */
151 unsigned long imm_data; /* responses with immediate data */
152 unsigned long rx_drops; /* # of packets dropped due to no mem */
153 unsigned long async_notif; /* # of asynchronous notification events */
154 unsigned long empty; /* # of times queue ran out of credits */
155 unsigned long nomem; /* # of responses deferred due to no mem */
156 unsigned long unhandled_irqs; /* # of spurious intrs */
157 unsigned long starved;
158 unsigned long restarted;