Lines Matching defs:tx_ring_size
181 (addr < txq->tso_hdrs_dma + txq->tx_ring_size * TSO_HEADER_SIZE))
343 int tx_ring_size;
404 int tx_ring_size;
736 if (txq->tx_curr_desc == txq->tx_ring_size)
814 if (txq->tx_curr_desc == txq->tx_ring_size)
829 if ((txq->tx_desc_count + tso_count_descs(skb)) >= txq->tx_ring_size) {
904 if (txq->tx_curr_desc == txq->tx_ring_size)
943 if (txq->tx_ring_size - txq->tx_desc_count < MAX_SKB_FRAGS + 1) {
955 if (txq->tx_curr_desc == txq->tx_ring_size)
1085 if (txq->tx_used_desc == txq->tx_ring_size)
1652 er->tx_pending = mp->tx_ring_size;
1666 mp->tx_ring_size = clamp_t(unsigned int, er->tx_pending,
1668 if (mp->tx_ring_size != er->tx_pending)
1670 mp->tx_ring_size, er->tx_pending);
2044 txq->tx_ring_size = mp->tx_ring_size;
2050 txq->tx_stop_threshold = txq->tx_ring_size - MV643XX_MAX_SKB_DESCS;
2057 size = txq->tx_ring_size * sizeof(struct tx_desc);
2079 for (i = 0; i < txq->tx_ring_size; i++) {
2084 if (nexti == txq->tx_ring_size)
2092 txq->tx_desc_mapping = kcalloc(txq->tx_ring_size, sizeof(char),
2101 txq->tx_ring_size * TSO_HEADER_SIZE,
2127 txq_reclaim(txq, txq->tx_ring_size, 1);
2141 txq->tx_ring_size * TSO_HEADER_SIZE,
2214 txq_reclaim(txq, txq->tx_ring_size, 1);
2937 unsigned int tx_ring_size;
2956 tx_ring_size = DEFAULT_TX_QUEUE_SIZE;
2958 tx_ring_size = pd->tx_queue_size;
2960 mp->tx_ring_size = clamp_t(unsigned int, tx_ring_size,
2962 if (mp->tx_ring_size != tx_ring_size)
2964 mp->tx_ring_size, tx_ring_size);