Home
last modified time | relevance | path

Searched refs:rxbufs (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_debugfs.c45 frag = READ_ONCE(rx_ring->rxbufs[i].frag); in nfp_rx_q_show()
49 if (rx_ring->rxbufs[i].dma_addr) in nfp_rx_q_show()
51 &rx_ring->rxbufs[i].dma_addr); in nfp_rx_q_show()
Dnfp_net_common.c1447 rx_ring->rxbufs[wr_idx].frag = frag; in nfp_net_rx_give_one()
1448 rx_ring->rxbufs[wr_idx].dma_addr = dma_addr; in nfp_net_rx_give_one()
1485 rx_ring->rxbufs[wr_idx].dma_addr = rx_ring->rxbufs[last_idx].dma_addr; in nfp_net_rx_ring_reset()
1486 rx_ring->rxbufs[wr_idx].frag = rx_ring->rxbufs[last_idx].frag; in nfp_net_rx_ring_reset()
1487 rx_ring->rxbufs[last_idx].dma_addr = 0; in nfp_net_rx_ring_reset()
1488 rx_ring->rxbufs[last_idx].frag = NULL; in nfp_net_rx_ring_reset()
1515 if (!rx_ring->rxbufs[i].frag) in nfp_net_rx_ring_bufs_free()
1518 nfp_net_dma_unmap_rx(dp, rx_ring->rxbufs[i].dma_addr); in nfp_net_rx_ring_bufs_free()
1519 nfp_net_free_frag(rx_ring->rxbufs[i].frag, dp->xdp_prog); in nfp_net_rx_ring_bufs_free()
1520 rx_ring->rxbufs[i].dma_addr = 0; in nfp_net_rx_ring_bufs_free()
[all …]
Dnfp_net.h343 struct nfp_net_rx_buf *rxbufs; member