netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] Misc BPF updates
@ 2015-12-17 22:51 Daniel Borkmann
  2015-12-17 22:51 ` [PATCH net-next 1/5] bpf: add bpf_skb_load_bytes helper Daniel Borkmann
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Daniel Borkmann @ 2015-12-17 22:51 UTC (permalink / raw)
  To: davem; +Cc: ast, holzheu, zlim.lnx, netdev, Daniel Borkmann

This series contains a couple of misc updates to the BPF code, besides
others a new helper bpf_skb_load_bytes(), moving clearing of A/X to the
classic converter, etc. Please see individual patches for details.

Thanks!

Daniel Borkmann (5):
  bpf: add bpf_skb_load_bytes helper
  bpf: move clearing of A/X into classic to eBPF migration prologue
  bpf: fix misleading comment in bpf_convert_filter
  bpf, x86: detect/optimize loading 0 immediates
  bpf, test: add couple of test cases

 arch/arm64/net/bpf_jit_comp.c |   6 ---
 arch/s390/net/bpf_jit_comp.c  |  13 +----
 arch/x86/net/bpf_jit_comp.c   |  40 ++++++++++++--
 include/uapi/linux/bpf.h      |   1 +
 kernel/bpf/core.c             |   4 --
 lib/test_bpf.c                | 120 ++++++++++++++++++++++++++++++++++++++++++
 net/core/filter.c             |  60 +++++++++++++++++----
 7 files changed, 208 insertions(+), 36 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH net-next 0/5] Misc BPF updates
@ 2017-04-26 23:39 Daniel Borkmann
  2017-04-28 19:49 ` David Miller
  0 siblings, 1 reply; 11+ messages in thread
From: Daniel Borkmann @ 2017-04-26 23:39 UTC (permalink / raw)
  To: davem; +Cc: ast, netdev, Daniel Borkmann

This set cleans up ldimm64 leftovers from early eBPF days and
adds couple of test cases related to this to the verifier test
suite. It also cleans up the kallsyms spinlock (had same patch
also in queue) by relaxing it through switching to _bh variant.
It fixes up test_progs in relation to htons/ntohs and adds
accessor macros for the percpu tests in test_maps.

Thanks!

Daniel Borkmann (4):
  bpf, x86_64/arm64: remove old ldimm64 artifacts from jits
  bpf: add various test cases to verifier selftests
  bpf: fix _htons occurences in test_progs
  bpf: provide a generic macro for percpu values for selftests

Hannes Frederic Sowa (1):
  bpf: bpf_lock on kallsysms doesn't need to be irqsave

 arch/arm64/net/bpf_jit_comp.c                 |   9 --
 arch/x86/net/bpf_jit_comp.c                   |   7 --
 kernel/bpf/core.c                             |  12 +--
 tools/testing/selftests/bpf/bpf_util.h        |  26 +++++
 tools/testing/selftests/bpf/test_l4lb.c       |  11 +--
 tools/testing/selftests/bpf/test_maps.c       |  37 +++----
 tools/testing/selftests/bpf/test_pkt_access.c |   6 +-
 tools/testing/selftests/bpf/test_progs.c      |  10 +-
 tools/testing/selftests/bpf/test_verifier.c   | 137 ++++++++++++++++++++++++++
 9 files changed, 199 insertions(+), 56 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2017-04-28 19:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-17 22:51 [PATCH net-next 0/5] Misc BPF updates Daniel Borkmann
2015-12-17 22:51 ` [PATCH net-next 1/5] bpf: add bpf_skb_load_bytes helper Daniel Borkmann
2015-12-17 22:51 ` [PATCH net-next 2/5] bpf: move clearing of A/X into classic to eBPF migration prologue Daniel Borkmann
2015-12-17 23:52   ` Shi, Yang
2015-12-18  0:00   ` Z Lim
2015-12-17 22:51 ` [PATCH net-next 3/5] bpf: fix misleading comment in bpf_convert_filter Daniel Borkmann
2015-12-17 22:51 ` [PATCH net-next 4/5] bpf, x86: detect/optimize loading 0 immediates Daniel Borkmann
2015-12-17 22:51 ` [PATCH net-next 5/5] bpf, test: add couple of test cases Daniel Borkmann
2015-12-18 21:05 ` [PATCH net-next 0/5] Misc BPF updates David Miller
  -- strict thread matches above, loose matches on Subject: below --
2017-04-26 23:39 Daniel Borkmann
2017-04-28 19:49 ` David Miller

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