Lines Matching refs:cmdQ
178 struct cmdQ {
192 spinlock_t lock; /* Lock to protect cmdQ enqueuing */
218 /* Bit flags for cmdQ.status */
273 struct cmdQ cmdQ[SGE_CMDQ_N] ____cacheline_aligned_in_smp;
459 struct cmdQ *q = &sge->cmdQ[0];
597 static void free_cmdQ_buffers(struct sge *sge, struct cmdQ *q, unsigned int n)
637 struct cmdQ *q = &sge->cmdQ[i];
661 struct cmdQ *q = &sge->cmdQ[i];
689 sge->cmdQ[0].stop_thres = sge->adapter->params.nports *
732 setup_ring_params(ap, sge->cmdQ[0].dma_addr, sge->cmdQ[0].size,
734 setup_ring_params(ap, sge->cmdQ[1].dma_addr, sge->cmdQ[1].size,
1114 * Write a cmdQ entry.
1117 * write the first cmdQ entry.
1144 struct cmdQ *q)
1180 struct cmdQ *q)
1268 static inline void reclaim_completed_tx(struct sge *sge, struct cmdQ *q)
1288 struct cmdQ *q = &sge->cmdQ[0];
1375 static inline int enough_free_Tx_descs(const struct cmdQ *q)
1391 if (!enough_free_Tx_descs(&sge->cmdQ[0]))
1414 struct cmdQ *cmdq = &sge->cmdQ[0];
1470 sge->cmdQ[1].processed += cmdq_processed[1];
1514 sge->cmdQ[1].processed += cmdq_processed[1];
1570 sge->cmdQ[1].processed += cmdq_processed[1];
1626 * Enqueues the sk_buff onto the cmdQ[qid] and has hardware fetch it.
1629 * cmdQ and updates the cmdQ data structure with the state once the enqueue
1642 struct cmdQ *q = &sge->cmdQ[qid];
1873 struct cmdQ *q = &sge->cmdQ[i];