• Home
  • Raw
  • Download

Lines Matching refs:rxbufs

1443 	rx_ring->rxbufs[wr_idx].frag = frag;  in nfp_net_rx_give_one()
1444 rx_ring->rxbufs[wr_idx].dma_addr = dma_addr; in nfp_net_rx_give_one()
1481 rx_ring->rxbufs[wr_idx].dma_addr = rx_ring->rxbufs[last_idx].dma_addr; in nfp_net_rx_ring_reset()
1482 rx_ring->rxbufs[wr_idx].frag = rx_ring->rxbufs[last_idx].frag; in nfp_net_rx_ring_reset()
1483 rx_ring->rxbufs[last_idx].dma_addr = 0; in nfp_net_rx_ring_reset()
1484 rx_ring->rxbufs[last_idx].frag = NULL; in nfp_net_rx_ring_reset()
1511 if (!rx_ring->rxbufs[i].frag) in nfp_net_rx_ring_bufs_free()
1514 nfp_net_dma_unmap_rx(dp, rx_ring->rxbufs[i].dma_addr); in nfp_net_rx_ring_bufs_free()
1515 nfp_net_free_frag(rx_ring->rxbufs[i].frag, dp->xdp_prog); in nfp_net_rx_ring_bufs_free()
1516 rx_ring->rxbufs[i].dma_addr = 0; in nfp_net_rx_ring_bufs_free()
1517 rx_ring->rxbufs[i].frag = NULL; in nfp_net_rx_ring_bufs_free()
1530 struct nfp_net_rx_buf *rxbufs; in nfp_net_rx_ring_bufs_alloc() local
1533 rxbufs = rx_ring->rxbufs; in nfp_net_rx_ring_bufs_alloc()
1536 rxbufs[i].frag = nfp_net_rx_alloc_one(dp, &rxbufs[i].dma_addr); in nfp_net_rx_ring_bufs_alloc()
1537 if (!rxbufs[i].frag) { in nfp_net_rx_ring_bufs_alloc()
1558 nfp_net_rx_give_one(dp, rx_ring, rx_ring->rxbufs[i].frag, in nfp_net_rx_ring_fill_freelist()
1559 rx_ring->rxbufs[i].dma_addr); in nfp_net_rx_ring_fill_freelist()
1856 rxbuf = &rx_ring->rxbufs[idx]; in nfp_net_rx()
2227 rxbuf = &rx_ring->rxbufs[idx]; in nfp_ctrl_rx_one()
2509 kvfree(rx_ring->rxbufs); in nfp_net_rx_ring_free()
2516 rx_ring->rxbufs = NULL; in nfp_net_rx_ring_free()
2552 rx_ring->rxbufs = kvcalloc(rx_ring->cnt, sizeof(*rx_ring->rxbufs), in nfp_net_rx_ring_alloc()
2554 if (!rx_ring->rxbufs) in nfp_net_rx_ring_alloc()