Home
last modified time | relevance | path

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

/Linux-v6.6/Documentation/bpf/
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 };
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_xdp_with_devmap_frags_helpers.c8 __uint(value_size, sizeof(struct bpf_devmap_val));
Dtest_xdp_with_devmap_helpers.c8 __uint(value_size, sizeof(struct bpf_devmap_val));
Dxdp_redirect_multi_kern.c25 __uint(value_size, sizeof(struct bpf_devmap_val));
Dxdp_features.c57 __uint(value_size, sizeof(struct bpf_devmap_val));
/Linux-v6.6/kernel/bpf/
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()
849 struct bpf_devmap_val *val, in __dev_map_alloc_node()
900 struct bpf_devmap_val val = {}; in __dev_map_update_elem()
949 struct bpf_devmap_val val = {}; in __dev_map_hash_update_elem()
/Linux-v6.6/tools/testing/selftests/bpf/
Dxdp_redirect_multi.c88 struct bpf_devmap_val devmap_val; in main()
Dxdp_features.c286 struct bpf_devmap_val entry = { in dut_attach_xdp_prog()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h6310 struct bpf_devmap_val { struct
/Linux-v6.6/include/uapi/linux/
Dbpf.h6310 struct bpf_devmap_val { struct