Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/
Dnfp_net_dp.c113 rx_ring->rxbufs[wr_idx] = rx_ring->rxbufs[last_idx]; in nfp_net_rx_ring_reset()
114 memset(&rx_ring->rxbufs[last_idx], 0, sizeof(*rx_ring->rxbufs)); in nfp_net_rx_ring_reset()
145 if (!rx_ring->rxbufs[i].frag) in nfp_net_rx_ring_bufs_free()
148 nfp_net_dma_unmap_rx(dp, rx_ring->rxbufs[i].dma_addr); in nfp_net_rx_ring_bufs_free()
149 nfp_net_free_frag(rx_ring->rxbufs[i].frag, dp->xdp_prog); in nfp_net_rx_ring_bufs_free()
150 rx_ring->rxbufs[i].dma_addr = 0; in nfp_net_rx_ring_bufs_free()
151 rx_ring->rxbufs[i].frag = NULL; in nfp_net_rx_ring_bufs_free()
164 struct nfp_net_rx_buf *rxbufs; in nfp_net_rx_ring_bufs_alloc() local
170 rxbufs = rx_ring->rxbufs; in nfp_net_rx_ring_bufs_alloc()
173 rxbufs[i].frag = nfp_net_rx_alloc_one(dp, &rxbufs[i].dma_addr); in nfp_net_rx_ring_bufs_alloc()
[all …]
Dnfp_net_debugfs.c47 frag = READ_ONCE(rx_ring->rxbufs[i].frag); in nfp_rx_q_show()
51 if (rx_ring->rxbufs[i].dma_addr) in nfp_rx_q_show()
53 &rx_ring->rxbufs[i].dma_addr); in nfp_rx_q_show()
Dnfp_net.h328 struct nfp_net_rx_buf *rxbufs; member
/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c595 rx_ring->rxbufs[wr_idx].frag = frag; in nfp_nfd3_rx_give_one()
596 rx_ring->rxbufs[wr_idx].dma_addr = dma_addr; in nfp_nfd3_rx_give_one()
632 nfp_nfd3_rx_give_one(dp, rx_ring, rx_ring->rxbufs[i].frag, in nfp_nfd3_rx_ring_fill_freelist()
633 rx_ring->rxbufs[i].dma_addr); in nfp_nfd3_rx_ring_fill_freelist()
948 rxbuf = &rx_ring->rxbufs[idx]; in nfp_nfd3_rx()
1339 rxbuf = &rx_ring->rxbufs[idx]; in nfp_ctrl_rx_one()
/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c615 rx_ring->rxbufs[wr_idx].frag = frag; in nfp_nfdk_rx_give_one()
616 rx_ring->rxbufs[wr_idx].dma_addr = dma_addr; in nfp_nfdk_rx_give_one()
645 nfp_nfdk_rx_give_one(dp, rx_ring, rx_ring->rxbufs[i].frag, in nfp_nfdk_rx_ring_fill_freelist()
646 rx_ring->rxbufs[i].dma_addr); in nfp_nfdk_rx_ring_fill_freelist()
1070 rxbuf = &rx_ring->rxbufs[idx]; in nfp_nfdk_rx()
1501 rxbuf = &rx_ring->rxbufs[idx]; in nfp_ctrl_rx_one()