Home
last modified time | relevance | path

Searched refs:bpf_devmap_val (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/Documentation/bpf/
H A Dmap_devmap.rst17 The user provides either <``key``/ ``ifindex``> or <``key``/ ``struct bpf_devmap_val``>
86 can be ``struct bpf_devmap_val`` or a simple ``int ifindex`` for backwards
91 struct bpf_devmap_val {
105 to ``struct bpf_devmap_val``. Programs are run after ``XDP_REDIRECT`` and have
162 __type(value, struct bpf_devmap_val);
168 The value type in the DEVMAP above is a ``struct bpf_devmap_val``
222 struct bpf_devmap_val devmap_val = { .ifindex = redirect_ifindex };
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_devmap_attach.c16 struct bpf_devmap_val val = { in test_xdp_with_devmap_helpers()
88 struct bpf_devmap_val val = { in test_xdp_with_devmap_frags_helpers()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_with_devmap_frags_helpers.c8 __uint(value_size, sizeof(struct bpf_devmap_val));
H A Dtest_xdp_with_devmap_helpers.c8 __uint(value_size, sizeof(struct bpf_devmap_val));
H A Dxdp_redirect_multi_kern.c25 __uint(value_size, sizeof(struct bpf_devmap_val));
H A Dxdp_features.c57 __uint(value_size, sizeof(struct bpf_devmap_val));
/openbmc/linux/kernel/bpf/
H A Ddevmap.c71 struct bpf_devmap_val val;
119 (valsize != offsetofend(struct bpf_devmap_val, ifindex) && in dev_map_init_map()
120 valsize != offsetofend(struct bpf_devmap_val, bpf_prog.fd)) || in dev_map_init_map()
853 struct bpf_devmap_val *val, in __dev_map_alloc_node()
904 struct bpf_devmap_val val = {}; in __dev_map_update_elem()
953 struct bpf_devmap_val val = {}; in __dev_map_hash_update_elem()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_redirect_multi.c88 struct bpf_devmap_val devmap_val; in main()
H A Dxdp_features.c286 struct bpf_devmap_val entry = { in dut_attach_xdp_prog()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h6335 struct bpf_devmap_val { struct
/openbmc/linux/include/uapi/linux/
H A Dbpf.h6332 struct bpf_devmap_val { struct