Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-xsk.c342 int sgt_buf_size; in dpaa2_xsk_tx_build_fd() local
347 sgt_buf_size = priv->tx_data_offset + sizeof(struct dpaa2_sg_entry); in dpaa2_xsk_tx_build_fd()
365 swa->xsk.sgt_size = sgt_buf_size; in dpaa2_xsk_tx_build_fd()
368 sgt_addr = dma_map_single(dev, sgt_buf, sgt_buf_size, DMA_BIDIRECTIONAL); in dpaa2_xsk_tx_build_fd()
Ddpaa2-eth.c864 int sgt_buf_size; in dpaa2_eth_sgt_get() local
867 sgt_buf_size = priv->tx_data_offset + in dpaa2_eth_sgt_get()
871 sgt_buf = napi_alloc_frag_align(sgt_buf_size, DPAA2_ETH_TX_BUF_ALIGN); in dpaa2_eth_sgt_get()
877 memset(sgt_buf, 0, sgt_buf_size); in dpaa2_eth_sgt_get()
905 int sgt_buf_size; in dpaa2_eth_build_sg_fd() local
936 sgt_buf_size = priv->tx_data_offset + in dpaa2_eth_build_sg_fd()
970 swa->sg.sgt_size = sgt_buf_size; in dpaa2_eth_build_sg_fd()
973 addr = dma_map_single(dev, sgt_buf, sgt_buf_size, DMA_BIDIRECTIONAL); in dpaa2_eth_build_sg_fd()
1012 int sgt_buf_size; in dpaa2_eth_build_sg_fd_single_buf() local
1016 sgt_buf_size = priv->tx_data_offset + sizeof(struct dpaa2_sg_entry); in dpaa2_eth_build_sg_fd_single_buf()
[all …]