summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_xdp_devmap_helpers.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@kernel.org>2020-05-29 16:07:15 -0600
committerAlexei Starovoitov <ast@kernel.org>2020-06-01 14:48:32 -0700
commit2778797037a658be71a6c55b54700bf58ba21eb7 (patch)
tree78a6041e8cb731474142743d307ddb6d4e9ac72f /tools/testing/selftests/bpf/progs/test_xdp_devmap_helpers.c
parent64b59025c15b244c0954cf52b24fbabfcf5ed8f6 (diff)
downloadlinux-2778797037a658be71a6c55b54700bf58ba21eb7.tar.gz
linux-2778797037a658be71a6c55b54700bf58ba21eb7.tar.bz2
linux-2778797037a658be71a6c55b54700bf58ba21eb7.zip
libbpf: Add SEC name for xdp programs attached to device map
Support SEC("xdp_devmap*") as a short cut for loading the program with type BPF_PROG_TYPE_XDP and expected attach type BPF_XDP_DEVMAP. Signed-off-by: David Ahern <dsahern@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Toke Høiland-Jørgensen <toke@redhat.com> Link: https://lore.kernel.org/bpf/20200529220716.75383-5-dsahern@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_xdp_devmap_helpers.c')
0 files changed, 0 insertions, 0 deletions