[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170927213756.1254938-1-kafai@fb.com>
Date: Wed, 27 Sep 2017 14:37:51 -0700
From: Martin KaFai Lau <kafai@...com>
To: <netdev@...r.kernel.org>
CC: Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>, <kernel-team@...com>
Subject: [PATCH net-next 0/5] bpf: Extend bpf_{prog,map}_info
This patch series adds more fields to bpf_prog_info and bpf_map_info.
Please see individual patch for details.
Martin KaFai Lau (5):
bpf: Add name, load_time, uid and map_ids to bpf_prog_info
bpf: Add map_name to bpf_map_info
bpf: libbpf: Provide basic API support to specify BPF obj name
bpf: Swap the order of checking prog_info and map_info
bpf: Test new fields in bpf_attr and bpf_{prog,map}_info
include/linux/bpf.h | 3 +
include/uapi/linux/bpf.h | 10 ++
kernel/bpf/syscall.c | 58 ++++++++-
samples/bpf/bpf_load.c | 2 +
samples/bpf/map_perf_test_user.c | 1 +
tools/include/uapi/linux/bpf.h | 10 ++
tools/lib/bpf/bpf.c | 57 ++++++--
tools/lib/bpf/bpf.h | 23 +++-
tools/lib/bpf/libbpf.c | 109 ++++++++++++----
tools/testing/selftests/bpf/test_progs.c | 195 +++++++++++++++++++++++-----
tools/testing/selftests/bpf/test_verifier.c | 2 +-
11 files changed, 385 insertions(+), 85 deletions(-)
--
2.9.5
Powered by blists - more mailing lists