Searched refs:xdp_pass (Results 1 – 3 of 3) sorted by relevance
/samples/bpf/ |
D | xdp_sample_shared.h | 10 size_t xdp_pass; member
|
D | xdp_sample_user.c | 361 rec->cpu[i].xdp_pass = READ_ONCE(values[i].xdp_pass); in map_collect_percpu() 368 sum_xdp_pass += rec->cpu[i].xdp_pass; in map_collect_percpu() 376 rec->total.xdp_pass = sum_xdp_pass; in map_collect_percpu() 638 static void calc_xdp_pps(struct datarec *r, struct datarec *p, double *xdp_pass, in calc_xdp_pps() argument 641 *xdp_pass = 0, *xdp_drop = 0, *xdp_redirect = 0; in calc_xdp_pps() 644 *xdp_pass = (r->xdp_pass - p->xdp_pass) / period_; in calc_xdp_pps() 750 double xdp_pass, xdp_drop, xdp_redirect; in stats_get_cpumap_remote() local 759 calc_xdp_pps(&rec->total, &prev->total, &xdp_pass, &xdp_drop, in stats_get_cpumap_remote() 761 if (xdp_pass || xdp_drop || xdp_redirect) { in stats_get_cpumap_remote() 764 "xdp_stats", PASS(xdp_pass), DROP(xdp_drop), in stats_get_cpumap_remote() [all …]
|
D | xdp_sample.bpf.c | 171 NO_TEAR_ADD(rec->xdp_pass, xdp_stats->pass); in BPF_PROG()
|