Lines Matching refs:tx_desc
135 #define TXQ_STOP_THRES (SGE_MAX_WR_LEN / sizeof(struct tx_desc))
1355 ndesc = DIV_ROUND_UP(skb->len, sizeof(struct tx_desc)); in ctrl_xmit()
2483 flsz = fl->size / 8 + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_rxq()
2548 dma_free_coherent(adap->pdev_dev, flsz * sizeof(struct tx_desc), in t4_sge_alloc_rxq()
2580 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq()
2583 sizeof(struct tx_desc), sizeof(struct tx_sw_desc), in t4_sge_alloc_eth_txq()
2613 nentries * sizeof(struct tx_desc), in t4_sge_alloc_eth_txq()
2636 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq()
2639 sizeof(struct tx_desc), 0, &txq->q.phys_addr, in t4_sge_alloc_ctrl_txq()
2665 nentries * sizeof(struct tx_desc), in t4_sge_alloc_ctrl_txq()
2688 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ofld_txq()
2691 sizeof(struct tx_desc), sizeof(struct tx_sw_desc), in t4_sge_alloc_ofld_txq()
2719 nentries * sizeof(struct tx_desc), in t4_sge_alloc_ofld_txq()
2739 q->size * sizeof(struct tx_desc) + s->stat_len, in free_txq()