Home
last modified time | relevance | path

Searched refs:xdp_batch (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/engleder/
H A Dtsnep.h132 struct xdp_buff **xdp_batch; member
H A Dtsnep_main.c1224 allocated = xsk_buff_alloc_batch(rx->xsk_pool, rx->xdp_batch, count); in tsnep_rx_alloc_zc()
1229 tsnep_rx_set_xdp(rx, entry, rx->xdp_batch[i]); in tsnep_rx_alloc_zc()
1749 allocated = xsk_buff_alloc_batch(rx->xsk_pool, rx->xdp_batch, in tsnep_rx_reopen_xsk()
1773 rx->xdp_batch[allocated - 1]); in tsnep_rx_reopen_xsk()
2085 queue->rx->xdp_batch = kcalloc(TSNEP_RING_SIZE, in tsnep_enable_xsk()
2086 sizeof(*queue->rx->xdp_batch), in tsnep_enable_xsk()
2088 if (!queue->rx->xdp_batch) { in tsnep_enable_xsk()
2128 kfree(queue->rx->xdp_batch); in tsnep_disable_xsk()
2129 queue->rx->xdp_batch = NULL; in tsnep_disable_xsk()