Home
last modified time | relevance | path

Searched refs:tx_skbuff_dma (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/
Dring_mode.c46 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
47 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm()
48 tx_q->tx_skbuff_dma[entry].is_jumbo = true; in jumbo_frm()
66 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
67 tx_q->tx_skbuff_dma[entry].len = len; in jumbo_frm()
68 tx_q->tx_skbuff_dma[entry].is_jumbo = true; in jumbo_frm()
80 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
81 tx_q->tx_skbuff_dma[entry].len = nopaged_len; in jumbo_frm()
82 tx_q->tx_skbuff_dma[entry].is_jumbo = true; in jumbo_frm()
125 if (unlikely(tx_q->tx_skbuff_dma[entry].is_jumbo || in clean_desc3()
[all …]
Dchain_mode.c41 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
42 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm()
59 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
60 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm()
72 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
73 tx_q->tx_skbuff_dma[entry].len = len; in jumbo_frm()
148 if (tx_q->tx_skbuff_dma[entry].last_segment && !priv->extend_desc && in clean_desc3()
Dstmmac_main.c1518 if (tx_q->tx_skbuff_dma[i].buf && in stmmac_free_tx_buffer()
1519 tx_q->tx_skbuff_dma[i].buf_type != STMMAC_TXBUF_T_XDP_TX) { in stmmac_free_tx_buffer()
1520 if (tx_q->tx_skbuff_dma[i].map_as_page) in stmmac_free_tx_buffer()
1522 tx_q->tx_skbuff_dma[i].buf, in stmmac_free_tx_buffer()
1523 tx_q->tx_skbuff_dma[i].len, in stmmac_free_tx_buffer()
1527 tx_q->tx_skbuff_dma[i].buf, in stmmac_free_tx_buffer()
1528 tx_q->tx_skbuff_dma[i].len, in stmmac_free_tx_buffer()
1533 (tx_q->tx_skbuff_dma[i].buf_type == STMMAC_TXBUF_T_XDP_TX || in stmmac_free_tx_buffer()
1534 tx_q->tx_skbuff_dma[i].buf_type == STMMAC_TXBUF_T_XDP_NDO)) { in stmmac_free_tx_buffer()
1539 if (tx_q->tx_skbuff_dma[i].buf_type == STMMAC_TXBUF_T_XSK_TX) in stmmac_free_tx_buffer()
[all …]
Dstmmac.h73 struct stmmac_tx_info *tx_skbuff_dma; member
/Linux-v6.6/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c411 tx_ring->tx_skbuff_dma = devm_kcalloc(dev, tx_rsize, in init_tx_ring()
413 if (!tx_ring->tx_skbuff_dma) in init_tx_ring()
622 if (txqueue->tx_skbuff_dma[dma_desc]) in tx_free_ring_skbufs()
624 txqueue->tx_skbuff_dma[dma_desc], in tx_free_ring_skbufs()
630 txqueue->tx_skbuff_dma[dma_desc] = 0; in tx_free_ring_skbufs()
762 if (likely(tqueue->tx_skbuff_dma[entry])) { in sxgbe_tx_queue_clean()
764 tqueue->tx_skbuff_dma[entry], in sxgbe_tx_queue_clean()
767 tqueue->tx_skbuff_dma[entry] = 0; in sxgbe_tx_queue_clean()
1367 tqueue->tx_skbuff_dma[entry] = tx_desc->tdes01; in sxgbe_xmit()
Dsxgbe_common.h381 dma_addr_t *tx_skbuff_dma; member
/Linux-v6.6/drivers/net/ethernet/via/
Dvia-rhine.c447 dma_addr_t tx_skbuff_dma[TX_RING_SIZE]; member
1334 if (rp->tx_skbuff_dma[i]) { in free_tbufs()
1336 rp->tx_skbuff_dma[i], in free_tbufs()
1804 rp->tx_skbuff_dma[entry] = 0; in rhine_start_tx()
1809 rp->tx_skbuff_dma[entry] = in rhine_start_tx()
1812 if (dma_mapping_error(hwdev, rp->tx_skbuff_dma[entry])) { in rhine_start_tx()
1814 rp->tx_skbuff_dma[entry] = 0; in rhine_start_tx()
1818 rp->tx_ring[entry].addr = cpu_to_le32(rp->tx_skbuff_dma[entry]); in rhine_start_tx()
1972 if (rp->tx_skbuff_dma[entry]) { in rhine_tx()
1974 rp->tx_skbuff_dma[entry], in rhine_tx()