Lines Matching defs:cmdQ
168 struct cmdQ {
182 spinlock_t lock; /* Lock to protect cmdQ enqueuing */
208 /* Bit flags for cmdQ.status */
265 struct cmdQ cmdQ[SGE_CMDQ_N] ____cacheline_aligned_in_smp;
474 struct cmdQ *q = &sge->cmdQ[0];
612 static void free_cmdQ_buffers(struct sge *sge, struct cmdQ *q, unsigned int n)
653 struct cmdQ *q = &sge->cmdQ[i];
677 struct cmdQ *q = &sge->cmdQ[i];
706 sge->cmdQ[0].stop_thres = sge->adapter->params.nports *
750 setup_ring_params(ap, sge->cmdQ[0].dma_addr, sge->cmdQ[0].size,
752 setup_ring_params(ap, sge->cmdQ[1].dma_addr, sge->cmdQ[1].size,
1137 * Write a cmdQ entry.
1140 * write the first cmdQ entry.
1167 struct cmdQ *q)
1203 struct cmdQ *q)
1290 static inline void reclaim_completed_tx(struct sge *sge, struct cmdQ *q)
1311 struct cmdQ *q = &sge->cmdQ[0];
1399 static inline int enough_free_Tx_descs(const struct cmdQ *q)
1415 if (!enough_free_Tx_descs(&sge->cmdQ[0]))
1438 struct cmdQ *cmdq = &sge->cmdQ[0];
1494 sge->cmdQ[1].processed += cmdq_processed[1];
1538 sge->cmdQ[1].processed += cmdq_processed[1];
1594 sge->cmdQ[1].processed += cmdq_processed[1];
1685 * Enqueues the sk_buff onto the cmdQ[qid] and has hardware fetch it.
1688 * cmdQ and updates the cmdQ data structure with the state once the enqueue
1701 struct cmdQ *q = &sge->cmdQ[qid];
1928 struct cmdQ *q = &sge->cmdQ[i];