commit | 2778797037a658be71a6c55b54700bf58ba21eb7 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@kernel.org> | Fri May 29 16:07:15 2020 -0600 |
committer | Alexei Starovoitov <ast@kernel.org> | Mon Jun 01 14:48:32 2020 -0700 |
tree | 78a6041e8cb731474142743d307ddb6d4e9ac72f | |
parent | 64b59025c15b244c0954cf52b24fbabfcf5ed8f6 [diff] |
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>