netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, ast@kernel.org,
	Daniel Borkmann <daniel@iogearbox.net>
Subject: [PATCH net-next 0/5] Misc BPF improvements
Date: Tue, 24 Jan 2017 01:06:25 +0100	[thread overview]
Message-ID: <cover.1485214851.git.daniel@iogearbox.net> (raw)

This series adds various misc improvements to BPF, f.e. allowing
skb_load_bytes() helper to be used with filter/reuseport programs
to facilitate programming, test cases for program tag, etc. For
details, please see individual patches.

Thanks!

Daniel Borkmann (5):
  bpf: simplify __is_valid_access test on cb
  bpf: enable load bytes helper for filter/reuseport progs
  bpf: allow option for setting bpf_l4_csum_replace from scratch
  bpf: add prog tag test case to bpf selftests
  bpf: enable verifier to better track const alu ops

 include/uapi/linux/bpf.h                    |   1 +
 kernel/bpf/verifier.c                       |  64 ++++++---
 net/core/filter.c                           |  63 ++++-----
 tools/testing/selftests/bpf/Makefile        |   4 +-
 tools/testing/selftests/bpf/test_tag.c      | 202 ++++++++++++++++++++++++++++
 tools/testing/selftests/bpf/test_verifier.c |  82 +++++++++++
 6 files changed, 364 insertions(+), 52 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/test_tag.c

-- 
1.9.3

             reply	other threads:[~2017-01-24  0:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-24  0:06 Daniel Borkmann [this message]
2017-01-24  0:06 ` [PATCH net-next 1/5] bpf: simplify __is_valid_access test on cb Daniel Borkmann
2017-01-24  0:06 ` [PATCH net-next 2/5] bpf: enable load bytes helper for filter/reuseport progs Daniel Borkmann
2017-01-24  0:06 ` [PATCH net-next 3/5] bpf: allow option for setting bpf_l4_csum_replace from scratch Daniel Borkmann
2017-01-24  0:06 ` [PATCH net-next 4/5] bpf: add prog tag test case to bpf selftests Daniel Borkmann
2017-01-24  0:06 ` [PATCH net-next 5/5] bpf: enable verifier to better track const alu ops Daniel Borkmann
2017-01-25 15:56   ` William Tu
2017-01-25 20:19     ` Daniel Borkmann
2017-01-24 19:49 ` [PATCH net-next 0/5] Misc BPF improvements David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1485214851.git.daniel@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=ast@kernel.org \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).