Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dxdp_sample_user.c151 struct bpf_map *sample_map[NUM_MAP]; variable
1200 sample_map[i] = maps[i]; in sample_setup_maps()
1220 if (bpf_map__set_max_entries(sample_map[i], sample_map_count[i]) < 0) in sample_setup_maps()
1223 sample_map[MAP_DEVMAP_XMIT_MULTI] = maps[MAP_DEVMAP_XMIT_MULTI]; in sample_setup_maps()
1233 MAP_SHARED, bpf_map__fd(sample_map[i]), 0); in sample_setup_maps_mappings()
1420 if (map_collect_percpu_devmap(bpf_map__fd(sample_map[MAP_DEVMAP_XMIT_MULTI]), rec) < 0) in sample_stats_collect()
/openbmc/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst373 …bpftool-620059 [004] d... 2634685.517912: bpf_trace_printk: map_create sample_map idx 0 type 2 va…