Home
last modified time | relevance | path

Searched refs:tx_swbd (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc.c53 static struct sk_buff *enetc_tx_swbd_get_skb(struct enetc_tx_swbd *tx_swbd) in enetc_tx_swbd_get_skb() argument
55 if (tx_swbd->is_xdp_tx || tx_swbd->is_xdp_redirect) in enetc_tx_swbd_get_skb()
58 return tx_swbd->skb; in enetc_tx_swbd_get_skb()
62 enetc_tx_swbd_get_xdp_frame(struct enetc_tx_swbd *tx_swbd) in enetc_tx_swbd_get_xdp_frame() argument
64 if (tx_swbd->is_xdp_redirect) in enetc_tx_swbd_get_xdp_frame()
65 return tx_swbd->xdp_frame; in enetc_tx_swbd_get_xdp_frame()
71 struct enetc_tx_swbd *tx_swbd) in enetc_unmap_tx_buff() argument
77 if (tx_swbd->is_dma_page) in enetc_unmap_tx_buff()
78 dma_unmap_page(tx_ring->dev, tx_swbd->dma, in enetc_unmap_tx_buff()
79 tx_swbd->is_xdp_tx ? PAGE_SIZE : tx_swbd->len, in enetc_unmap_tx_buff()
[all …]
Denetc.h99 struct enetc_tx_swbd *tx_swbd; member
120 struct enetc_tx_swbd *tx_swbd; member