Lines Matching refs:xdp_pass
360 rec->cpu[i].xdp_pass = READ_ONCE(values[i].xdp_pass); in map_collect_percpu()
367 sum_xdp_pass += rec->cpu[i].xdp_pass; in map_collect_percpu()
375 rec->total.xdp_pass = sum_xdp_pass; in map_collect_percpu()
637 static void calc_xdp_pps(struct datarec *r, struct datarec *p, double *xdp_pass, in calc_xdp_pps() argument
640 *xdp_pass = 0, *xdp_drop = 0, *xdp_redirect = 0; in calc_xdp_pps()
643 *xdp_pass = (r->xdp_pass - p->xdp_pass) / period_; in calc_xdp_pps()
749 double xdp_pass, xdp_drop, xdp_redirect; in stats_get_cpumap_remote() local
758 calc_xdp_pps(&rec->total, &prev->total, &xdp_pass, &xdp_drop, in stats_get_cpumap_remote()
760 if (xdp_pass || xdp_drop || xdp_redirect) { in stats_get_cpumap_remote()
763 "xdp_stats", PASS(xdp_pass), DROP(xdp_drop), in stats_get_cpumap_remote()
772 calc_xdp_pps(r, p, &xdp_pass, &xdp_drop, &xdp_redirect, t); in stats_get_cpumap_remote()
773 if (!xdp_pass && !xdp_drop && !xdp_redirect) in stats_get_cpumap_remote()
779 str, PASS(xdp_pass), DROP(xdp_drop), in stats_get_cpumap_remote()