Lines Matching refs:frames
115 struct xdp_frame **frames; member
172 xdp->frames = kvmalloc_array(xdp->batch_size, sizeof(void *), GFP_KERNEL); in xdp_test_run_setup()
173 if (!xdp->frames) in xdp_test_run_setup()
209 kvfree(xdp->frames); in xdp_test_run_setup()
217 kfree(xdp->frames); in xdp_test_run_teardown()
249 static int xdp_recv_frames(struct xdp_frame **frames, int nframes, in xdp_recv_frames() argument
260 xdp_return_frame(frames[i]); in xdp_recv_frames()
265 struct xdp_frame *xdpf = frames[i]; in xdp_recv_frames()
286 struct xdp_frame **frames = xdp->frames; in xdp_test_run_batch() local
339 frames[nframes++] = frm; in xdp_test_run_batch()
354 ret = xdp_recv_frames(frames, nframes, xdp->skbs, xdp->dev); in xdp_test_run_batch()