Lines Matching refs:txbufs

1029 	txbuf = &tx_ring->txbufs[wr_idx];  in nfp_net_tx()
1072 tx_ring->txbufs[wr_idx].skb = skb; in nfp_net_tx()
1073 tx_ring->txbufs[wr_idx].dma_addr = dma_addr; in nfp_net_tx()
1074 tx_ring->txbufs[wr_idx].fidx = f; in nfp_net_tx()
1106 dma_unmap_page(dp->dev, tx_ring->txbufs[wr_idx].dma_addr, in nfp_net_tx()
1108 tx_ring->txbufs[wr_idx].skb = NULL; in nfp_net_tx()
1109 tx_ring->txbufs[wr_idx].dma_addr = 0; in nfp_net_tx()
1110 tx_ring->txbufs[wr_idx].fidx = -2; in nfp_net_tx()
1115 dma_unmap_single(dp->dev, tx_ring->txbufs[wr_idx].dma_addr, in nfp_net_tx()
1117 tx_ring->txbufs[wr_idx].skb = NULL; in nfp_net_tx()
1118 tx_ring->txbufs[wr_idx].dma_addr = 0; in nfp_net_tx()
1119 tx_ring->txbufs[wr_idx].fidx = -2; in nfp_net_tx()
1165 tx_buf = &tx_ring->txbufs[idx]; in nfp_net_tx_complete()
1248 done_bytes += tx_ring->txbufs[idx].real_len; in nfp_net_xdp_complete()
1282 tx_buf = &tx_ring->txbufs[idx]; in nfp_net_tx_ring_reset()
1284 skb = tx_ring->txbufs[idx].skb; in nfp_net_tx_ring_reset()
1762 txbuf = &tx_ring->txbufs[wr_idx]; in nfp_net_tx_xdp_buf()
2116 txbuf = &tx_ring->txbufs[wr_idx]; in nfp_ctrl_tx_one()
2352 kvfree(tx_ring->txbufs); in nfp_net_tx_ring_free()
2359 tx_ring->txbufs = NULL; in nfp_net_tx_ring_free()
2389 tx_ring->txbufs = kvcalloc(tx_ring->cnt, sizeof(*tx_ring->txbufs), in nfp_net_tx_ring_alloc()
2391 if (!tx_ring->txbufs) in nfp_net_tx_ring_alloc()
2415 if (!tx_ring->txbufs[i].frag) in nfp_net_tx_ring_bufs_free()
2418 nfp_net_dma_unmap_rx(dp, tx_ring->txbufs[i].dma_addr); in nfp_net_tx_ring_bufs_free()
2419 __free_page(virt_to_page(tx_ring->txbufs[i].frag)); in nfp_net_tx_ring_bufs_free()
2427 struct nfp_net_tx_buf *txbufs = tx_ring->txbufs; in nfp_net_tx_ring_bufs_alloc() local
2434 txbufs[i].frag = nfp_net_rx_alloc_one(dp, &txbufs[i].dma_addr); in nfp_net_tx_ring_bufs_alloc()
2435 if (!txbufs[i].frag) { in nfp_net_tx_ring_bufs_alloc()