Searched refs:rxbufs (Results 1 – 3 of 3) sorted by relevance
45 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()
1449 rx_ring->rxbufs[wr_idx].frag = frag; in nfp_net_rx_give_one()1450 rx_ring->rxbufs[wr_idx].dma_addr = dma_addr; in nfp_net_rx_give_one()1487 rx_ring->rxbufs[wr_idx].dma_addr = rx_ring->rxbufs[last_idx].dma_addr; in nfp_net_rx_ring_reset()1488 rx_ring->rxbufs[wr_idx].frag = rx_ring->rxbufs[last_idx].frag; in nfp_net_rx_ring_reset()1489 rx_ring->rxbufs[last_idx].dma_addr = 0; in nfp_net_rx_ring_reset()1490 rx_ring->rxbufs[last_idx].frag = NULL; in nfp_net_rx_ring_reset()1517 if (!rx_ring->rxbufs[i].frag) in nfp_net_rx_ring_bufs_free()1520 nfp_net_dma_unmap_rx(dp, rx_ring->rxbufs[i].dma_addr); in nfp_net_rx_ring_bufs_free()1521 nfp_net_free_frag(rx_ring->rxbufs[i].frag, dp->xdp_prog); in nfp_net_rx_ring_bufs_free()1522 rx_ring->rxbufs[i].dma_addr = 0; in nfp_net_rx_ring_bufs_free()[all …]
344 struct nfp_net_rx_buf *rxbufs; member