From: Andrii Nakryiko <andrii@kernel.org>
To: <bpf@vger.kernel.org>, <ast@kernel.org>, <daniel@iogearbox.net>
Cc: <andrii@kernel.org>, <kernel-team@fb.com>
Subject: [PATCH bpf-next 0/9] Deprecate bpf_prog_load_xattr() API
Date: Wed, 1 Dec 2021 15:28:15 -0800 [thread overview]
Message-ID: <20211201232824.3166325-1-andrii@kernel.org> (raw)
Few lines in the last patch to mark bpf_prog_load_xattr() deprecated required
a decent amount of clean ups in all the other patches. samples/bpf is big part
of the clean up.
This patch set also bumps libbpf version to 0.7, as libbpf v0.6 release will
be cut shortly.
Andrii Nakryiko (9):
libbpf: use __u32 fields in bpf_map_create_opts
libbpf: add API to get/set log_level at per-program level
bpftool: migrate off of deprecated bpf_create_map_xattr() API
selftests/bpf: remove recently reintroduced legacy btf__dedup() use
selftests/bpf: mute xdpxceiver.c's deprecation warnings
selftests/bpf: remove all the uses of deprecated bpf_prog_load_xattr()
samples/bpf: clean up samples/bpf build failes
samples/bpf: get rid of deprecated libbpf API uses
libbpf: deprecate bpf_prog_load_xattr() API
samples/bpf/Makefile | 13 ++++-
samples/bpf/Makefile.target | 11 ----
samples/bpf/cookie_uid_helper_example.c | 14 +++--
samples/bpf/fds_example.c | 24 +++++---
samples/bpf/hbm_kern.h | 2 -
samples/bpf/lwt_len_hist_kern.c | 7 ---
samples/bpf/map_perf_test_user.c | 15 +++--
samples/bpf/sock_example.c | 12 ++--
samples/bpf/sockex1_user.c | 15 ++++-
samples/bpf/sockex2_user.c | 14 ++++-
samples/bpf/test_cgrp2_array_pin.c | 4 +-
samples/bpf/test_cgrp2_attach.c | 13 +++--
samples/bpf/test_cgrp2_sock.c | 8 ++-
samples/bpf/test_lru_dist.c | 11 ++--
samples/bpf/trace_output_user.c | 4 +-
samples/bpf/xdp_sample_pkts_user.c | 22 +++----
samples/bpf/xdpsock_ctrl_proc.c | 3 +
samples/bpf/xdpsock_user.c | 3 +
samples/bpf/xsk_fwd.c | 3 +
tools/bpf/bpftool/map.c | 23 ++++----
tools/lib/bpf/bpf.h | 8 +--
tools/lib/bpf/libbpf.c | 14 +++++
tools/lib/bpf/libbpf.h | 3 +
tools/lib/bpf/libbpf.map | 6 ++
tools/lib/bpf/libbpf_common.h | 5 ++
tools/lib/bpf/libbpf_version.h | 2 +-
.../bpf/prog_tests/bpf_verif_scale.c | 30 +++++++---
.../bpf/prog_tests/btf_dedup_split.c | 4 +-
.../bpf/prog_tests/connect_force_port.c | 17 +++---
.../selftests/bpf/prog_tests/kfree_skb.c | 58 ++++++-------------
.../bpf/prog_tests/sockopt_inherit.c | 12 ++--
.../selftests/bpf/prog_tests/sockopt_multi.c | 12 ++--
.../selftests/bpf/prog_tests/tcp_rtt.c | 21 +++----
.../bpf/prog_tests/test_global_funcs.c | 28 ++++++---
tools/testing/selftests/bpf/test_sock_addr.c | 33 +++++++----
.../selftests/bpf/xdp_redirect_multi.c | 15 ++---
tools/testing/selftests/bpf/xdpxceiver.c | 6 ++
37 files changed, 293 insertions(+), 202 deletions(-)
--
2.30.2
next reply other threads:[~2021-12-01 23:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-01 23:28 Andrii Nakryiko [this message]
2021-12-01 23:28 ` [PATCH bpf-next 1/9] libbpf: use __u32 fields in bpf_map_create_opts Andrii Nakryiko
2021-12-02 23:28 ` Alexei Starovoitov
2021-12-02 23:40 ` Andrii Nakryiko
2021-12-01 23:28 ` [PATCH bpf-next 2/9] libbpf: add API to get/set log_level at per-program level Andrii Nakryiko
2021-12-01 23:28 ` [PATCH bpf-next 3/9] bpftool: migrate off of deprecated bpf_create_map_xattr() API Andrii Nakryiko
2021-12-01 23:28 ` [PATCH bpf-next 4/9] selftests/bpf: remove recently reintroduced legacy btf__dedup() use Andrii Nakryiko
2021-12-01 23:28 ` [PATCH bpf-next 5/9] selftests/bpf: mute xdpxceiver.c's deprecation warnings Andrii Nakryiko
2021-12-01 23:28 ` [PATCH bpf-next 6/9] selftests/bpf: remove all the uses of deprecated bpf_prog_load_xattr() Andrii Nakryiko
2021-12-01 23:28 ` [PATCH bpf-next 7/9] samples/bpf: clean up samples/bpf build failes Andrii Nakryiko
2021-12-01 23:28 ` [PATCH bpf-next 8/9] samples/bpf: get rid of deprecated libbpf API uses Andrii Nakryiko
2021-12-01 23:28 ` [PATCH bpf-next 9/9] libbpf: deprecate bpf_prog_load_xattr() API Andrii Nakryiko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211201232824.3166325-1-andrii@kernel.org \
--to=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=kernel-team@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox