Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep.h132 struct xdp_buff **xdp_batch; member
H A Dtsnep_main.c1171 allocated = xsk_buff_alloc_batch(rx->xsk_pool, rx->xdp_batch, count); in tsnep_rx_alloc_zc()
1176 tsnep_rx_set_xdp(rx, entry, rx->xdp_batch[i]); in tsnep_rx_alloc_zc()
1691 allocated = xsk_buff_alloc_batch(rx->xsk_pool, rx->xdp_batch, in tsnep_rx_reopen_xsk()
1715 rx->xdp_batch[allocated - 1]); in tsnep_rx_reopen_xsk()
2033 queue->rx->xdp_batch = kcalloc(TSNEP_RING_SIZE, in tsnep_enable_xsk()
2034 sizeof(*queue->rx->xdp_batch), in tsnep_enable_xsk()
2036 if (!queue->rx->xdp_batch) { in tsnep_enable_xsk()
2076 kfree(queue->rx->xdp_batch); in tsnep_disable_xsk()
2077 queue->rx->xdp_batch = NULL; in tsnep_disable_xsk()