netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/3] bpftool: Switch to independent versioning scheme
@ 2022-01-31 21:11 Quentin Monnet
  2022-01-31 21:11 ` [PATCH bpf-next 1/3] libbpf: Add "libbpversion" make target to print version Quentin Monnet
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Quentin Monnet @ 2022-01-31 21:11 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko
  Cc: netdev, bpf, Quentin Monnet

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(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-02 18:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-31 21:11 [PATCH bpf-next 0/3] bpftool: Switch to independent versioning scheme Quentin Monnet
2022-01-31 21:11 ` [PATCH bpf-next 1/3] libbpf: Add "libbpversion" make target to print version Quentin Monnet
2022-01-31 21:11 ` [PATCH bpf-next 2/3] bpftool: Add libbpf's version number to "bpftool version" output Quentin Monnet
2022-02-02  6:59   ` Andrii Nakryiko
2022-02-02 18:58     ` Quentin Monnet
2022-01-31 21:11 ` [PATCH bpf-next 3/3] bpftool: Update versioning scheme Quentin Monnet
2022-02-02  6:59   ` Andrii Nakryiko
2022-02-02 18:59     ` Quentin Monnet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).