Searched refs:tx_swbd (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 53 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() 77 if (tx_swbd->is_dma_page) in enetc_unmap_tx_buff() 78 dma_unmap_page(tx_ring->dev, tx_swbd in enetc_unmap_tx_buff() 70 enetc_unmap_tx_buff(struct enetc_bdr *tx_ring, struct enetc_tx_swbd *tx_swbd) enetc_unmap_tx_buff() argument 87 enetc_free_tx_frame(struct enetc_bdr *tx_ring, struct enetc_tx_swbd *tx_swbd) enetc_free_tx_frame() argument 150 struct enetc_tx_swbd *tx_swbd; enetc_map_tx_buffs() local 339 enetc_map_tx_tso_hdr(struct enetc_bdr *tx_ring, struct sk_buff *skb, struct enetc_tx_swbd *tx_swbd, union enetc_tx_bd *txbd, int *i, int hdr_len, int data_len) enetc_map_tx_tso_hdr() argument 392 enetc_map_tx_tso_data(struct enetc_bdr *tx_ring, struct sk_buff *skb, struct enetc_tx_swbd *tx_swbd, union enetc_tx_bd *txbd, char *data, int size, bool last_bd) enetc_map_tx_tso_data() argument 491 struct enetc_tx_swbd *tx_swbd; enetc_map_tx_tso_buffs() local 775 enetc_recycle_xdp_tx_buff(struct enetc_bdr *tx_ring, struct enetc_tx_swbd *tx_swbd) enetc_recycle_xdp_tx_buff() argument 819 struct enetc_tx_swbd *tx_swbd; enetc_clean_tx_ring() local 1252 enetc_xdp_map_tx_buff(struct enetc_bdr *tx_ring, int i, struct enetc_tx_swbd *tx_swbd, int frm_len) enetc_xdp_map_tx_buff() argument 1500 struct enetc_tx_swbd *tx_swbd = &xdp_tx_arr[n]; enetc_rx_swbd_to_xdp_tx_swbd() local 1995 struct enetc_tx_swbd *tx_swbd = &tx_ring->tx_swbd[i]; enetc_free_tx_ring() local [all...] |
H A D | enetc.h | 99 struct enetc_tx_swbd *tx_swbd; member 120 struct enetc_tx_swbd *tx_swbd; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 89 struct enetc_tx_swbd *tx_swbd) in enetc_unmap_tx_buff() 91 if (tx_swbd->is_dma_page) in enetc_unmap_tx_buff() 92 dma_unmap_page(tx_ring->dev, tx_swbd->dma, in enetc_unmap_tx_buff() 93 tx_swbd->len, DMA_TO_DEVICE); in enetc_unmap_tx_buff() 95 dma_unmap_single(tx_ring->dev, tx_swbd->dma, in enetc_unmap_tx_buff() 96 tx_swbd->len, DMA_TO_DEVICE); in enetc_unmap_tx_buff() 97 tx_swbd->dma = 0; in enetc_unmap_tx_buff() 101 struct enetc_tx_swbd *tx_swbd) in enetc_free_tx_skb() 103 if (tx_swbd->dma) in enetc_free_tx_skb() 104 enetc_unmap_tx_buff(tx_ring, tx_swbd); in enetc_free_tx_skb() 88 enetc_unmap_tx_buff(struct enetc_bdr *tx_ring, struct enetc_tx_swbd *tx_swbd) enetc_unmap_tx_buff() argument 100 enetc_free_tx_skb(struct enetc_bdr *tx_ring, struct enetc_tx_swbd *tx_swbd) enetc_free_tx_skb() argument 115 struct enetc_tx_swbd *tx_swbd; enetc_map_tx_buffs() local 397 struct enetc_tx_swbd *tx_swbd; enetc_clean_tx_ring() local 990 struct enetc_tx_swbd *tx_swbd = &tx_ring->tx_swbd[i]; enetc_free_tx_ring() local [all...] |
H A D | enetc.h | 66 struct enetc_tx_swbd *tx_swbd; member
|
Completed in 6 milliseconds