Home
last modified time | relevance | path

Searched refs:BPF_MAP_TYPE_LPM_TRIE (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/Documentation/bpf/
H A Dmap_lpm_trie.rst5 BPF_MAP_TYPE_LPM_TRIE title
9 - ``BPF_MAP_TYPE_LPM_TRIE`` was introduced in kernel version 4.11
11 ``BPF_MAP_TYPE_LPM_TRIE`` provides a longest prefix match algorithm that
29 When creating a map of type ``BPF_MAP_TYPE_LPM_TRIE`` you must set the
132 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c237 map = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL, in test_lpm_map()
347 map_fd_ipv4 = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL, in test_lpm_ipaddr()
352 map_fd_ipv6 = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL, in test_lpm_ipaddr()
434 map_fd = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL, in test_lpm_delete()
544 map_fd = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL, key_size, sizeof(value), 100, &opts); in test_lpm_get_next_key()
756 map_fd = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL, key_size, value_size, 100, &opts); in test_lpm_multi_thread()
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H A Dlpm_trie_map_batch_ops.c80 map_fd = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, "lpm_trie_map", in test_lpm_trie_map_batch_ops()
/openbmc/linux/samples/bpf/
H A Dxdp_router_ipv4.bpf.c43 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
H A Dmap_perf_test.bpf.c82 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
/openbmc/linux/include/linux/
H A Dbpf_types.h103 BPF_MAP_TYPE(BPF_MAP_TYPE_LPM_TRIE, trie_map_ops)
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c324 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
681 VERIFY_TYPE(BPF_MAP_TYPE_LPM_TRIE, check_lpm_trie); in cg_skb()
H A Dxdpwall.c58 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf_probes.c292 case BPF_MAP_TYPE_LPM_TRIE: in probe_map_create()
H A Dlibbpf.c155 [BPF_MAP_TYPE_LPM_TRIE] = "lpm_trie",
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h918 BPF_MAP_TYPE_LPM_TRIE, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h918 BPF_MAP_TYPE_LPM_TRIE, enumerator
/openbmc/linux/kernel/bpf/
H A Dsyscall.c1211 case BPF_MAP_TYPE_LPM_TRIE: in map_create()