Home
last modified time | relevance | path

Searched refs:to_cpu (Results 1 – 2 of 2) sorted by relevance

/samples/bpf/
Dxdp_sample.bpf.c129 unsigned int drops, int to_cpu) in BPF_PROG() argument
138 idx = to_cpu * nr_cpus + cpu; in BPF_PROG()
Dxdp_sample_user.c698 int i, to_cpu; in stats_get_cpumap_enqueue() local
701 for (to_cpu = 0; to_cpu < sample_n_cpus; to_cpu++) { in stats_get_cpumap_enqueue()
702 rec = &stats_rec->enq[to_cpu]; in stats_get_cpumap_enqueue()
703 prev = &stats_prev->enq[to_cpu]; in stats_get_cpumap_enqueue()
713 snprintf(str, sizeof(str), "enqueue to cpu %d", to_cpu); in stats_get_cpumap_enqueue()
735 snprintf(str, sizeof(str), "cpu:%d->%d", i, to_cpu); in stats_get_cpumap_enqueue()