Searched refs:txbufs (Results 1 – 5 of 5) sorted by relevance
18 txbuf = &tx_ring->txbufs[idx]; in nfp_nfd3_xsk_tx_bufs_free()53 tx_buf = &tx_ring->txbufs[idx]; in nfp_nfd3_tx_ring_reset()55 skb = tx_ring->txbufs[idx].skb; in nfp_nfd3_tx_ring_reset()106 kvfree(tx_ring->txbufs); in nfp_nfd3_tx_ring_free()113 tx_ring->txbufs = NULL; in nfp_nfd3_tx_ring_free()143 tx_ring->txbufs = kvcalloc(tx_ring->cnt, sizeof(*tx_ring->txbufs), in nfp_nfd3_tx_ring_alloc()145 if (!tx_ring->txbufs) in nfp_nfd3_tx_ring_alloc()169 if (!tx_ring->txbufs[i].frag) in nfp_nfd3_tx_ring_bufs_free()172 nfp_net_dma_unmap_rx(dp, tx_ring->txbufs[i].dma_addr); in nfp_nfd3_tx_ring_bufs_free()173 __free_page(virt_to_page(tx_ring->txbufs[i].frag)); in nfp_nfd3_tx_ring_bufs_free()[all …]
289 txbuf = &tx_ring->txbufs[wr_idx]; in nfp_nfd3_tx()332 tx_ring->txbufs[wr_idx].skb = skb; in nfp_nfd3_tx()333 tx_ring->txbufs[wr_idx].dma_addr = dma_addr; in nfp_nfd3_tx()334 tx_ring->txbufs[wr_idx].fidx = f; in nfp_nfd3_tx()366 dma_unmap_page(dp->dev, tx_ring->txbufs[wr_idx].dma_addr, in nfp_nfd3_tx()368 tx_ring->txbufs[wr_idx].skb = NULL; in nfp_nfd3_tx()369 tx_ring->txbufs[wr_idx].dma_addr = 0; in nfp_nfd3_tx()370 tx_ring->txbufs[wr_idx].fidx = -2; in nfp_nfd3_tx()375 dma_unmap_single(dp->dev, tx_ring->txbufs[wr_idx].dma_addr, in nfp_nfd3_tx()377 tx_ring->txbufs[wr_idx].skb = NULL; in nfp_nfd3_tx()[all …]
34 txbuf = &tx_ring->txbufs[wr_idx]; in nfp_nfd3_xsk_tx_xdp()306 txbuf = &tx_ring->txbufs[idx]; in nfp_nfd3_xsk_complete()362 tx_ring->txbufs[wr_idx].real_len = desc[i].len; in nfp_nfd3_xsk_tx()363 tx_ring->txbufs[wr_idx].is_xsk_tx = false; in nfp_nfd3_xsk_tx()
86 tx_ring->txbufs = NULL; in nfp_nfdk_tx_ring_free()
175 struct nfp_nfd3_tx_buf *txbufs; member