Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1258803
| From | Daniel Borkmann <daniel@iogearbox.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH net-next v2 0/5] BPF updates |
| Date | 2015-10-29 15:00 +0100 |
| Message-ID | <qoVUd-RM-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This set adds support for persistent maps/progs. Please see
individual patches for further details. A man-page update
to bpf(2) will be sent later on, also a iproute2 patch for
support in tc.
Thanks!
v1 -> v2:
- Reworked most of patch 4 and 5
- Rebased to latest net-next
Daniel Borkmann (5):
bpf: abstract anon_inode_getfd invocations
bpf: align and clean bpf_{map,prog}_get helpers
bpf: consolidate bpf_prog_put{,_rcu} dismantle paths
bpf: add support for persistent maps/progs
bpf: add sample usages for persistent maps/progs
include/linux/bpf.h | 9 +-
include/uapi/linux/bpf.h | 45 +-----
include/uapi/linux/magic.h | 1 +
kernel/bpf/Makefile | 4 +-
kernel/bpf/core.c | 3 +-
kernel/bpf/inode.c | 387 +++++++++++++++++++++++++++++++++++++++++++++
kernel/bpf/syscall.c | 95 +++++++----
kernel/bpf/verifier.c | 3 +-
samples/bpf/Makefile | 3 +
samples/bpf/fds_example.c | 183 +++++++++++++++++++++
samples/bpf/libbpf.c | 19 +++
samples/bpf/libbpf.h | 3 +
12 files changed, 683 insertions(+), 72 deletions(-)
create mode 100644 kernel/bpf/inode.c
create mode 100644 samples/bpf/fds_example.c
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH net-next v2 0/5] BPF updates Daniel Borkmann <daniel@iogearbox.net> - 2015-10-29 15:00 +0100
[PATCH net-next v2 2/5] bpf: align and clean bpf_{map,prog}_get helpers Daniel Borkmann <daniel@iogearbox.net> - 2015-10-29 15:00 +0100
[PATCH net-next v2 4/5] bpf: add support for persistent maps/progs Daniel Borkmann <daniel@iogearbox.net> - 2015-10-29 15:00 +0100
csiph-web