Home
last modified time | relevance | path

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

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

Completed in 7 milliseconds