Home
last modified time | relevance | path

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

/linux-5.19.10/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.h314 struct nfp_net_rx_buf *rxbufs; member
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c559 rx_ring->rxbufs[wr_idx].frag = frag; in nfp_nfd3_rx_give_one()
560 rx_ring->rxbufs[wr_idx].dma_addr = dma_addr; in nfp_nfd3_rx_give_one()
592 nfp_nfd3_rx_give_one(dp, rx_ring, rx_ring->rxbufs[i].frag, in nfp_nfd3_rx_ring_fill_freelist()
593 rx_ring->rxbufs[i].dma_addr); in nfp_nfd3_rx_ring_fill_freelist()
889 rxbuf = &rx_ring->rxbufs[idx]; in nfp_nfd3_rx()
1271 rxbuf = &rx_ring->rxbufs[idx]; in nfp_ctrl_rx_one()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c605 rx_ring->rxbufs[wr_idx].frag = frag; in nfp_nfdk_rx_give_one()
606 rx_ring->rxbufs[wr_idx].dma_addr = dma_addr; in nfp_nfdk_rx_give_one()
635 nfp_nfdk_rx_give_one(dp, rx_ring, rx_ring->rxbufs[i].frag, in nfp_nfdk_rx_ring_fill_freelist()
636 rx_ring->rxbufs[i].dma_addr); in nfp_nfdk_rx_ring_fill_freelist()
1040 rxbuf = &rx_ring->rxbufs[idx]; in nfp_nfdk_rx()
1462 rxbuf = &rx_ring->rxbufs[idx]; in nfp_ctrl_rx_one()