Searched refs:rxbufs (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_dp.c | 113 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 …]
|
D | nfp_net_debugfs.c | 47 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()
|
D | nfp_net.h | 321 struct nfp_net_rx_buf *rxbufs; member
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 574 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-v6.1/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 590 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()
|