Lines Matching defs:frames
12 * Unlike devmap which redirects XDP frames out to another NIC device,
13 * this map type redirects raw XDP frames to another CPU. The remote
194 void **frames, int n,
204 struct xdp_frame *xdpf = frames[i];
222 frames[nframes++] = xdpf;
260 static void cpu_map_bpf_prog_run(struct bpf_cpu_map_entry *rcpu, void **frames,
273 ret->xdp_n = cpu_map_bpf_prog_run_xdp(rcpu, frames, ret->xdp_n, stats);
321 void *frames[CPUMAP_BATCH];
347 n = __ptr_ring_consume_batched(rcpu->queue, frames,
350 void *f = frames[i];
363 frames[ret.xdp_n++] = f;
376 cpu_map_bpf_prog_run(rcpu, frames, skbs, &ret, &stats);
383 xdp_return_frame(frames[i]);
394 struct xdp_frame *xdpf = frames[i];
513 * stop the kthread prematurely and all pending frames or skbs