netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/10] eBPF support for cls_bpf
@ 2015-02-27 14:55 Daniel Borkmann
  2015-02-27 14:55 ` [PATCH net-next 01/10] ebpf: remove kernel test stubs Daniel Borkmann
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Daniel Borkmann @ 2015-02-27 14:55 UTC (permalink / raw)
  To: davem; +Cc: ast, netdev, Daniel Borkmann

This is the non-RFC version of my patchset posted before netdev01 [1]
conference. It contains a couple of eBPF cleanups and preparation
patches to get eBPF support into cls_bpf. The last patch adds the
actual support. I'll post the iproute2 parts after the kernel bits
are merged, an initial preview link to the code is mentioned in the
last patch.

Patch 4 and 5 were originally one patch, but I've split them into
two parts upon request as patch 4 only is also needed for Alexei's
tracing patches that go via tip tree.

Tested with tc and all in-kernel available test suites.

I have configured and built LLVM with --enable-experimental-targets=BPF
but as Alexei put it, the plan is to get rid of the experimental
status in future [2].

Thanks a lot!

  [1] http://thread.gmane.org/gmane.linux.network/350191
  [2] http://article.gmane.org/gmane.linux.kernel/1874969

Daniel Borkmann (10):
  ebpf: remove kernel test stubs
  ebpf: constify various function pointer structs
  ebpf: export BPF_PSEUDO_MAP_FD to uapi
  ebpf: make internal bpf API independent of CONFIG_BPF_SYSCALL ifdefs
  ebpf: remove CONFIG_BPF_SYSCALL ifdefs in socket filter code
  ebpf: add sched_cls_type and map it to sk_filter's verifier ops
  ebpf: move read-only fields to bpf_prog and shrink bpf_prog_aux
  x86: unexport set_memory_ro and set_memory_rw
  arm64: unexport set_memory_ro and set_memory_rw
  cls_bpf: add initial eBPF support for programmable classifiers

 arch/arm64/mm/pageattr.c     |   2 -
 arch/x86/mm/pageattr.c       |   2 -
 include/linux/bpf.h          |  38 +++++---
 include/linux/filter.h       |   6 +-
 include/uapi/linux/bpf.h     |   3 +
 include/uapi/linux/pkt_cls.h |   2 +
 kernel/bpf/Makefile          |   3 -
 kernel/bpf/arraymap.c        |   6 +-
 kernel/bpf/hashtab.c         |   6 +-
 kernel/bpf/helpers.c         |   6 +-
 kernel/bpf/syscall.c         |   9 +-
 kernel/bpf/test_stub.c       |  78 ----------------
 kernel/bpf/verifier.c        |  17 +++-
 net/core/filter.c            |  47 +++++-----
 net/sched/cls_bpf.c          | 206 ++++++++++++++++++++++++++++++++-----------
 samples/bpf/libbpf.h         |   4 +-
 samples/bpf/test_verifier.c  |   5 +-
 17 files changed, 243 insertions(+), 197 deletions(-)
 delete mode 100644 kernel/bpf/test_stub.c

-- 
1.9.3

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

end of thread, other threads:[~2015-03-01  9:52 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-27 14:55 [PATCH net-next 00/10] eBPF support for cls_bpf Daniel Borkmann
2015-02-27 14:55 ` [PATCH net-next 01/10] ebpf: remove kernel test stubs Daniel Borkmann
2015-02-27 14:55 ` [PATCH net-next 02/10] ebpf: constify various function pointer structs Daniel Borkmann
2015-02-27 14:55 ` [PATCH net-next 03/10] ebpf: export BPF_PSEUDO_MAP_FD to uapi Daniel Borkmann
2015-02-27 14:55 ` [PATCH net-next 04/10] ebpf: make internal bpf API independent of CONFIG_BPF_SYSCALL ifdefs Daniel Borkmann
2015-02-27 14:55 ` [PATCH net-next 05/10] ebpf: remove CONFIG_BPF_SYSCALL ifdefs in socket filter code Daniel Borkmann
2015-02-27 14:55 ` [PATCH net-next 06/10] ebpf: add sched_cls_type and map it to sk_filter's verifier ops Daniel Borkmann
2015-02-27 14:55 ` [PATCH net-next 07/10] ebpf: move read-only fields to bpf_prog and shrink bpf_prog_aux Daniel Borkmann
2015-02-27 14:55 ` [PATCH net-next 08/10] x86: unexport set_memory_ro and set_memory_rw Daniel Borkmann
2015-02-27 14:55 ` [PATCH net-next 09/10] arm64: " Daniel Borkmann
2015-02-27 18:51   ` Laura Abbott
2015-02-27 19:54   ` Will Deacon
2015-02-27 20:05     ` Daniel Borkmann
2015-03-01  9:52       ` Daniel Borkmann
2015-02-27 14:55 ` [PATCH net-next 10/10] cls_bpf: add initial eBPF support for programmable classifiers Daniel Borkmann
2015-03-01  5:28 ` [PATCH net-next 00/10] eBPF support for cls_bpf David Miller
2015-03-01  9:49   ` Daniel Borkmann

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