Hi David, The following pull-request contains BPF updates for your *net-next* tree.
(Getting out bit earlier this time to pull in a dependency from bpf.) The main changes are: 1) Add libbpf ABI versioning and document API naming conventions as well as ABI versioning process, from Andrey. 2) Add a new sk_msg_pop_data() helper for sk_msg based BPF programs that is used in conjunction with sk_msg_push_data() for adding / removing meta data to the msg data, from John. 3) Optimize convert_bpf_ld_abs() for 0 offset and fix various lib and testsuite build failures on 32 bit, from David. 4) Make BPF prog dump for !JIT identical to how we dump subprogs when JIT is in use, from Yonghong. 5) Rename btf_get_from_id() to make it more conform with libbpf API naming conventions, from Martin. 6) Add a missing BPF kselftest config item, from Naresh. Please consider pulling these changes from: git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git Thanks a lot! ---------------------------------------------------------------- The following changes since commit 4afe60a97ba6ffacc4d030b13653dc64099fea26: Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (2018-11-26 13:08:17 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git for you to fetch changes up to b42699547fc9fb1057795bccc21a6445743a7fde: tools/bpf: make libbpf _GNU_SOURCE friendly (2018-11-30 02:41:02 +0100) ---------------------------------------------------------------- Alexei Starovoitov (2): Merge branch 'non-jit-btf-func_info' Merge branch 'libbpf-versioning-doc' Andrey Ignatov (3): libbpf: Add version script for DSO libbpf: Verify versioned symbols libbpf: Document API and ABI conventions Daniel Borkmann (1): Merge branch 'bpf-sk-msg-pop-data' David Miller (2): bpf: Avoid unnecessary instruction in convert_bpf_ld_abs() bpf: Fix various lib and testsuite build failures on 32-bit. John Fastabend (3): bpf: helper to pop data from messages bpf: add msg_pop_data helper to tools bpf: test_sockmap, add options for msg_pop_data() helper Martin KaFai Lau (1): libbpf: Name changing for btf_get_from_id Naresh Kamboju (1): selftests/bpf: add config fragment CONFIG_FTRACE_SYSCALLS Yonghong Song (3): bpf: btf: support proper non-jit func info tools/bpf: change selftest test_btf for both jit and non-jit tools/bpf: make libbpf _GNU_SOURCE friendly include/linux/bpf.h | 6 +- include/linux/bpf_verifier.h | 1 - include/uapi/linux/bpf.h | 16 ++- kernel/bpf/core.c | 3 +- kernel/bpf/syscall.c | 33 ++--- kernel/bpf/verifier.c | 55 +++++--- net/core/filter.c | 174 +++++++++++++++++++++++- net/ipv4/tcp_bpf.c | 17 ++- net/tls/tls_sw.c | 11 +- tools/bpf/bpftool/map.c | 4 +- tools/bpf/bpftool/prog.c | 2 +- tools/include/uapi/linux/bpf.h | 16 ++- tools/lib/bpf/Makefile | 23 +++- tools/lib/bpf/README.rst | 139 +++++++++++++++++++ tools/lib/bpf/btf.c | 4 +- tools/lib/bpf/btf.h | 2 +- tools/lib/bpf/libbpf.c | 2 + tools/lib/bpf/libbpf.map | 121 ++++++++++++++++ tools/lib/bpf/libbpf_errno.c | 1 + tools/testing/selftests/bpf/bpf_helpers.h | 2 + tools/testing/selftests/bpf/config | 1 + tools/testing/selftests/bpf/test_btf.c | 35 +---- tools/testing/selftests/bpf/test_progs.c | 10 +- tools/testing/selftests/bpf/test_sockmap.c | 127 ++++++++++++++++- tools/testing/selftests/bpf/test_sockmap_kern.h | 70 ++++++++-- 25 files changed, 760 insertions(+), 115 deletions(-) create mode 100644 tools/lib/bpf/README.rst create mode 100644 tools/lib/bpf/libbpf.map