Searched refs:xsk_rxbufs (Results 1 – 5 of 5) sorted by relevance
109 rx_ring->xsk_rxbufs[wr_idx] = rx_ring->xsk_rxbufs[last_idx]; in nfp_net_rx_ring_reset()110 memset(&rx_ring->xsk_rxbufs[last_idx], 0, in nfp_net_rx_ring_reset()111 sizeof(*rx_ring->xsk_rxbufs)); in nfp_net_rx_ring_reset()260 kvfree(rx_ring->xsk_rxbufs); in nfp_net_rx_ring_free()270 rx_ring->xsk_rxbufs = NULL; in nfp_net_rx_ring_free()292 rxbuf_sw_desc_sz = sizeof(*rx_ring->xsk_rxbufs); in nfp_net_rx_ring_alloc()321 rx_ring->xsk_rxbufs = kvcalloc(rx_ring->cnt, rxbuf_sw_desc_sz, in nfp_net_rx_ring_alloc()323 if (!rx_ring->xsk_rxbufs) in nfp_net_rx_ring_alloc()
27 rx_ring->xsk_rxbufs[idx].xdp = xdp; in nfp_net_xsk_rx_bufs_stash()28 rx_ring->xsk_rxbufs[idx].dma_addr = in nfp_net_xsk_rx_bufs_stash()54 nfp_net_xsk_rx_free(&rx_ring->xsk_rxbufs[i]); in nfp_net_xsk_rx_bufs_free()78 rx_ring->xsk_rxbufs[wr_idx].dma_addr); in nfp_net_xsk_rx_ring_fill_freelist()
55 if (rx_ring->xsk_rxbufs[i].dma_addr) in nfp_rx_q_show()57 &rx_ring->xsk_rxbufs[i].dma_addr); in nfp_rx_q_show()
322 struct nfp_net_xsk_rx_buf *xsk_rxbufs; member
144 xrxbuf = &rx_ring->xsk_rxbufs[idx]; in nfp_nfd3_xsk_rx()