Searched refs:BPF_MAP_TYPE_LPM_TRIE (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/Documentation/bpf/ |
H A D | map_lpm_trie.rst | 5 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 D | test_lpm_map.c | 237 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 D | lpm_trie_map_batch_ops.c | 80 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 D | xdp_router_ipv4.bpf.c | 43 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
|
H A D | map_perf_test.bpf.c | 82 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
|
/openbmc/linux/include/linux/ |
H A D | bpf_types.h | 103 BPF_MAP_TYPE(BPF_MAP_TYPE_LPM_TRIE, trie_map_ops)
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | map_ptr_kern.c | 324 __uint(type, BPF_MAP_TYPE_LPM_TRIE); 681 VERIFY_TYPE(BPF_MAP_TYPE_LPM_TRIE, check_lpm_trie); in cg_skb()
|
H A D | xdpwall.c | 58 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 292 case BPF_MAP_TYPE_LPM_TRIE: in probe_map_create()
|
H A D | libbpf.c | 155 [BPF_MAP_TYPE_LPM_TRIE] = "lpm_trie",
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 935 BPF_MAP_TYPE_LPM_TRIE, enumerator
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 935 BPF_MAP_TYPE_LPM_TRIE, enumerator
|
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 1211 case BPF_MAP_TYPE_LPM_TRIE: in map_create()
|