Lines Matching refs:stats
183 struct xdp_cpumap_stats *stats) in cpu_map_bpf_prog_run_skb() argument
201 stats->drop++; in cpu_map_bpf_prog_run_skb()
203 stats->redirect++; in cpu_map_bpf_prog_run_skb()
215 stats->drop++; in cpu_map_bpf_prog_run_skb()
223 struct xdp_cpumap_stats *stats) in cpu_map_bpf_prog_run_xdp() argument
249 stats->drop++; in cpu_map_bpf_prog_run_xdp()
252 stats->pass++; in cpu_map_bpf_prog_run_xdp()
260 stats->drop++; in cpu_map_bpf_prog_run_xdp()
262 stats->redirect++; in cpu_map_bpf_prog_run_xdp()
270 stats->drop++; in cpu_map_bpf_prog_run_xdp()
283 int xdp_n, struct xdp_cpumap_stats *stats, in cpu_map_bpf_prog_run() argument
293 nframes = cpu_map_bpf_prog_run_xdp(rcpu, frames, xdp_n, stats); in cpu_map_bpf_prog_run()
295 if (stats->redirect) in cpu_map_bpf_prog_run()
299 cpu_map_bpf_prog_run_skb(rcpu, list, stats); in cpu_map_bpf_prog_run()
319 struct xdp_cpumap_stats stats = {}; /* zero stats */ in cpu_map_kthread_run() local
371 nframes = cpu_map_bpf_prog_run(rcpu, frames, xdp_n, &stats, &list); in cpu_map_kthread_run()
399 sched, &stats); in cpu_map_kthread_run()