Home
last modified time | relevance | path

Searched refs:MAX_CPUS (Results 1 – 6 of 6) sorted by relevance

/samples/bpf/
Dxdp_sample_pkts_kern.c8 #define MAX_CPUS 128 macro
14 .max_entries = MAX_CPUS,
Dxdp_redirect_cpu_kern.c18 #define MAX_CPUS 64 /* WARNING - sync with _user.c */ macro
25 __uint(max_entries, MAX_CPUS);
59 __uint(max_entries, MAX_CPUS);
77 __uint(max_entries, MAX_CPUS);
222 if (cpu_dest >= MAX_CPUS) { in xdp_prognum0_no_touch()
265 if (cpu_dest >= MAX_CPUS) { in xdp_prognum1_touch_data()
313 if (cpu_dest >= MAX_CPUS) { in xdp_prognum2_round_robin()
381 if (cpu_dest >= MAX_CPUS) { in xdp_prognum3_proto_separate()
457 if (cpu_dest >= MAX_CPUS) { in xdp_prognum4_ddos_filter_pktgen()
560 if (cpu_dest >= MAX_CPUS) { in xdp_prognum5_lb_hash_ip_pairs()
[all …]
Dxdp_monitor_kern.c130 #define MAX_CPUS 64 macro
136 .max_entries = MAX_CPUS,
165 if (to_cpu >= MAX_CPUS) in trace_xdp_cpumap_enqueue()
Dxdp_redirect_cpu_user.c23 #define MAX_CPUS 64 /* WARNING - sync with _kern.c */ macro
161 struct record enq[MAX_CPUS];
228 for (i = 0; i < MAX_CPUS; i++) in alloc_stats_record()
238 for (i = 0; i < MAX_CPUS; i++) in free_stats_record()
341 for (to_cpu = 0; to_cpu < MAX_CPUS; to_cpu++) { in stats_print()
466 for (i = 0; i < MAX_CPUS; i++) in stats_collect()
540 __u32 invalid_cpu = MAX_CPUS; in mark_cpus_unavailable()
543 for (i = 0; i < MAX_CPUS; i++) { in mark_cpus_unavailable()
709 if (add_cpu >= MAX_CPUS) { in main()
Dxdp_monitor_user.c122 #define MAX_CPUS 64 macro
144 struct record xdp_cpumap_enqueue[MAX_CPUS];
360 for (to_cpu = 0; to_cpu < MAX_CPUS; to_cpu++) { in stats_print()
496 for (i = 0; i < MAX_CPUS; i++) in stats_collect()
550 for (i = 0; i < MAX_CPUS; i++) in alloc_stats_record()
569 for (i = 0; i < MAX_CPUS; i++) in free_stats_record()
Dxdp_sample_pkts_user.c21 #define MAX_CPUS 128 macro