]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Mute xdpxceiver.c's deprecation warnings
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 1 Dec 2021 23:28:20 +0000 (15:28 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 2 Dec 2021 23:23:40 +0000 (15:23 -0800)
commita6e64b42d10c0543298a2e77e74ec22763aa4cd1
tree712c8663954c59a2f896453c0c6570a590e2b899
parent49507aaa3fffab0512333d231649a54a223d2365
selftests/bpf: Mute xdpxceiver.c's deprecation warnings

xdpxceiver.c is using AF_XDP APIs that are deprecated starting from
libbpf 0.7. Until we migrate the test to libxdp or solve this issue in
some other way, mute deprecation warnings within xdpxceiver.c.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211201232824.3166325-6-andrii@kernel.org
tools/testing/selftests/bpf/xdpxceiver.c