Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_dp.c109 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()
Dnfp_net_xsk.c27 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()
Dnfp_net_debugfs.c55 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()
Dnfp_net.h322 struct nfp_net_xsk_rx_buf *xsk_rxbufs; member
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfd3/
Dxsk.c144 xrxbuf = &rx_ring->xsk_rxbufs[idx]; in nfp_nfd3_xsk_rx()