Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bpf, libbpf: clarify bump in libbpf version info

The current documentation suggests that we would need to bump the
libbpf version on every change. Lets clarify this a bit more and
reflect what we do today in practice, that is, bumping it once per
development cycle.

Fixes: 76d1b894c515 ("libbpf: Document API and ABI conventions")
Reported-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Daniel Borkmann and committed by
Alexei Starovoitov
63197f78 1d382264

+1
+1
tools/lib/bpf/README.rst
··· 111 111 112 112 Every time ABI is being changed, e.g. because a new symbol is added or 113 113 semantic of existing symbol is changed, ABI version should be bumped. 114 + This bump in ABI version is at most once per kernel development cycle. 114 115 115 116 For example, if current state of ``libbpf.map`` is: 116 117