Searched refs:xdp_drop (Results 1 – 3 of 3) sorted by relevance
/samples/bpf/ |
D | xdp_sample_shared.h | 13 size_t xdp_drop; member
|
D | xdp_sample_user.c | 362 rec->cpu[i].xdp_drop = READ_ONCE(values[i].xdp_drop); in map_collect_percpu() 369 sum_xdp_drop += rec->cpu[i].xdp_drop; in map_collect_percpu() 377 rec->total.xdp_drop = sum_xdp_drop; in map_collect_percpu() 639 double *xdp_drop, double *xdp_redirect, double period_) in calc_xdp_pps() argument 641 *xdp_pass = 0, *xdp_drop = 0, *xdp_redirect = 0; in calc_xdp_pps() 645 *xdp_drop = (r->xdp_drop - p->xdp_drop) / 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() 762 print_err(xdp_drop, in stats_get_cpumap_remote() [all …]
|
D | xdp_sample.bpf.c | 172 NO_TEAR_ADD(rec->xdp_drop, xdp_stats->drop); in BPF_PROG()
|