commit | 949abbe88436c000cc63fce2bdfeb48b7d06a7df | [log] [tgz] |
---|---|---|
author | Eric Leblond <eric@regit.org> | Tue Jan 30 21:55:01 2018 +0100 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Feb 02 17:53:48 2018 -0800 |
tree | 0c92cc22fd100260e510f79695e64dbb554eeb8d | |
parent | dc2b9f19e3bdaa87a7c3d123b8bba8a42d96d942 [diff] |
libbpf: add function to setup XDP Most of the code is taken from set_link_xdp_fd() in bpf_load.c and slightly modified to be library compliant. Signed-off-by: Eric Leblond <eric@regit.org> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>