Home
last modified time | relevance | path

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

/linux-6.1.9/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.h321 struct nfp_net_rx_buf *rxbufs; member
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c574 rx_ring->rxbufs[wr_idx].frag = frag; in nfp_nfd3_rx_give_one()
575 rx_ring->rxbufs[wr_idx].dma_addr = dma_addr; in nfp_nfd3_rx_give_one()
611 nfp_nfd3_rx_give_one(dp, rx_ring, rx_ring->rxbufs[i].frag, in nfp_nfd3_rx_ring_fill_freelist()
612 rx_ring->rxbufs[i].dma_addr); in nfp_nfd3_rx_ring_fill_freelist()
919 rxbuf = &rx_ring->rxbufs[idx]; in nfp_nfd3_rx()
1303 rxbuf = &rx_ring->rxbufs[idx]; in nfp_ctrl_rx_one()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c590 rx_ring->rxbufs[wr_idx].frag = frag; in nfp_nfdk_rx_give_one()
591 rx_ring->rxbufs[wr_idx].dma_addr = dma_addr; in nfp_nfdk_rx_give_one()
620 nfp_nfdk_rx_give_one(dp, rx_ring, rx_ring->rxbufs[i].frag, in nfp_nfdk_rx_ring_fill_freelist()
621 rx_ring->rxbufs[i].dma_addr); in nfp_nfdk_rx_ring_fill_freelist()
1036 rxbuf = &rx_ring->rxbufs[idx]; in nfp_nfdk_rx()
1460 rxbuf = &rx_ring->rxbufs[idx]; in nfp_ctrl_rx_one()