Searched refs:cmdQ (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c177 struct cmdQ { struct
191 spinlock_t lock; /* Lock to protect cmdQ enqueuing */
217 /* Bit flags for cmdQ.status */
272 struct cmdQ cmdQ[SGE_CMDQ_N] ____cacheline_aligned_in_smp;
480 struct cmdQ *q = &sge->cmdQ[0]; sched_skb()
618 static void free_cmdQ_buffers(struct sge *sge, struct cmdQ *q, unsigned int n) free_cmdQ_buffers()
658 struct cmdQ *q = &sge->cmdQ[i]; free_tx_resources()
682 struct cmdQ *q = &sge->cmdQ[i]; alloc_tx_resources()
710 sge->cmdQ[0].stop_thres = sge->adapter->params.nports * alloc_tx_resources()
754 setup_ring_params(ap, sge->cmdQ[0].dma_addr, sge->cmdQ[0].size, configure_sge()
756 setup_ring_params(ap, sge->cmdQ[1].dma_addr, sge->cmdQ[1].size, configure_sge()
1136 * Write a cmdQ entry.
1139 * write the first cmdQ entry.
1166 struct cmdQ *q) write_large_page_tx_descs()
1202 struct cmdQ *q) write_tx_descs()
1289 static inline void reclaim_completed_tx(struct sge *sge, struct cmdQ *q) reclaim_completed_tx()
1309 struct cmdQ *q = &sge->cmdQ[0]; restart_sched()
1397 static inline int enough_free_Tx_descs(const struct cmdQ *q) enough_free_Tx_descs()
1413 if (!enough_free_Tx_descs(&sge->cmdQ[0])) restart_tx_queues()
1436 struct cmdQ *cmdq = &sge->cmdQ[0]; update_tx_info()
1492 sge->cmdQ[1].processed += cmdq_processed[1]; process_responses()
1536 sge->cmdQ[1].processed += cmdq_processed[1]; process_responses()
1592 sge->cmdQ[1].processed += cmdq_processed[1]; process_pure_responses()
1648 * Enqueues the sk_buff onto the cmdQ[qid] and has hardware fetch it.
1651 * cmdQ and updates the cmdQ data structure with the state once the enqueue
1664 struct cmdQ *q = &sge->cmdQ[qid]; t1_sge_tx()
1892 struct cmdQ *q = &sge->cmdQ[i]; sge_tx_reclaim_cb()
H A Dsge.h54 unsigned int cmdQ_full[3]; /* not HW IRQ, host cmdQ[] full */
55 unsigned int cmdQ_restarted[3];/* # of times cmdQ X was restarted */

Completed in 147 milliseconds