Home
last modified time | relevance | path

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

/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.c1443 rx_ring->rxbufs[wr_idx].frag = frag; in nfp_net_rx_give_one()
1444 rx_ring->rxbufs[wr_idx].dma_addr = dma_addr; in nfp_net_rx_give_one()
1481 rx_ring->rxbufs[wr_idx].dma_addr = rx_ring->rxbufs[last_idx].dma_addr; in nfp_net_rx_ring_reset()
1482 rx_ring->rxbufs[wr_idx].frag = rx_ring->rxbufs[last_idx].frag; in nfp_net_rx_ring_reset()
1483 rx_ring->rxbufs[last_idx].dma_addr = 0; in nfp_net_rx_ring_reset()
1484 rx_ring->rxbufs[last_idx].frag = NULL; in nfp_net_rx_ring_reset()
1511 if (!rx_ring->rxbufs[i].frag) in nfp_net_rx_ring_bufs_free()
1514 nfp_net_dma_unmap_rx(dp, rx_ring->rxbufs[i].dma_addr); in nfp_net_rx_ring_bufs_free()
1515 nfp_net_free_frag(rx_ring->rxbufs[i].frag, dp->xdp_prog); in nfp_net_rx_ring_bufs_free()
1516 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