diff options
author | Andrii Nakryiko | 2020-07-21 23:46:00 -0700 |
---|---|---|
committer | Alexei Starovoitov | 2020-07-25 20:37:02 -0700 |
commit | dc8698cac7aada9b61a612cb819341d84591163e (patch) | |
tree | d3be5774e01e3c0ec41e4d2653b0c06a99437744 /drivers | |
parent | c1931c9784ebb5787c0784c112fb8baa5e8455b3 (diff) |
libbpf: Add support for BPF XDP link
Sync UAPI header and add support for using bpf_link-based XDP attachment.
Make xdp/ prog type set expected attach type. Kernel didn't enforce
attach_type for XDP programs before, so there is no backwards compatiblity
issues there.
Also fix section_names selftest to recognize that xdp prog types now have
expected attach type.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200722064603.3350758-8-andriin@fb.com
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions