Lines Matching refs:frames
116 struct xdp_frame **frames; member
174 xdp->frames = kvmalloc_array(xdp->batch_size, sizeof(void *), GFP_KERNEL); in xdp_test_run_setup()
175 if (!xdp->frames) in xdp_test_run_setup()
211 kvfree(xdp->frames); in xdp_test_run_setup()
219 kfree(xdp->frames); in xdp_test_run_teardown()
252 static int xdp_recv_frames(struct xdp_frame **frames, int nframes, in xdp_recv_frames() argument
264 xdp_return_frame(frames[i]); in xdp_recv_frames()
269 struct xdp_frame *xdpf = frames[i]; in xdp_recv_frames()
290 struct xdp_frame **frames = xdp->frames; in xdp_test_run_batch() local
346 frames[nframes++] = frm; in xdp_test_run_batch()
361 ret = xdp_recv_frames(frames, nframes, xdp->skbs, xdp->dev); in xdp_test_run_batch()