Skip to content

bpftool: Switch to independent versioning scheme

Quentin Monnet bpf netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3libbpf: Add "libbpversion" make target to print versiontools/lib/bpf/Makefile+3 -00 replies
2/3bpftool: Add libbpf's version number to "bpftool version" outputtools/bpf/bpftool/Documentation/common_options.rst tools/bpf/bpftool/Makefile tools/bpf/bpftool/main.c+7 -12 replies
3/3bpftool: Update versioning schemetools/bpf/bpftool/Makefile+2 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf-next 0/3] bpftool: Switch to independent versioning scheme

Hi, this set aims at updating the way bpftool versions are numbered. Instead of copying the version from the kernel (given that the sources for the kernel and bpftool are shipped together), introduce an independent versioning scheme. We start at v6.0.0 - incrementing the major version number - and the idea is to update this number from time to time, as new features or bug fixes make their way into bpftool. Please refer to the description of the third commit for details on the motivations.

The patchset also adds the number of the version of libbpf that was used to compile to the output of "bpftool version".

Quentin Monnet (3):
libbpf: Add "libbpversion" make target to print version
bpftool: Add libbpf's version number to "bpftool version" output
bpftool: Update versioning scheme

 tools/bpf/bpftool/Documentation/common_options.rst | 3 ++-
 tools/bpf/bpftool/Makefile                         | 7 ++++---
 tools/bpf/bpftool/main.c                           | 3 +++
 tools/lib/bpf/Makefile                             | 3 +++
 4 files changed, 12 insertions(+), 4 deletions(-)
Signature · 1 line
2.32.0