All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: davem@davemloft.net
Cc: alexei.starovoitov@gmail.com, tgraf@suug.ch,
	netdev@vger.kernel.org, Daniel Borkmann <daniel@iogearbox.net>
Subject: [PATCH net-next 0/6] BPF helper improvements
Date: Tue, 28 Jun 2016 12:18:22 +0200	[thread overview]
Message-ID: <cover.1467106474.git.daniel@iogearbox.net> (raw)

This set adds various BPF helper improvements, that is, cleaning
up and adding BPF_F_CURRENT_CPU flag for tracing helper, allowing
for preemption checks on bpf_get_smp_processor_id() helper, and
adding two new helpers bpf_skb_change_{proto, type} for tc related
programs. For further details please see individual patches.

Note, this set requires -net to be merged into -net-next tree first.

Thanks a lot!

Daniel Borkmann (6):
  bpf: minor cleanups on fd maps and helpers
  bpf, trace: fetch current cpu only once
  bpf, trace: add BPF_F_CURRENT_CPU flag for bpf_perf_event_read
  bpf: don't use raw processor id in generic helper
  bpf: add bpf_skb_change_proto helper
  bpf: add bpf_skb_change_type helper

 include/uapi/linux/bpf.h |  25 ++++-
 kernel/bpf/core.c        |   3 +-
 kernel/bpf/helpers.c     |   2 +-
 kernel/trace/bpf_trace.c |  32 +++----
 net/core/filter.c        | 234 ++++++++++++++++++++++++++++++++++++++++++++++-
 5 files changed, 275 insertions(+), 21 deletions(-)

-- 
1.9.3

             reply	other threads:[~2016-06-28 10:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28 10:18 Daniel Borkmann [this message]
2016-06-28 10:18 ` [PATCH net-next 1/6] bpf: minor cleanups on fd maps and helpers Daniel Borkmann
2016-06-28 10:18 ` [PATCH net-next 2/6] bpf, trace: fetch current cpu only once Daniel Borkmann
2016-06-28 10:18 ` [PATCH net-next 3/6] bpf, trace: add BPF_F_CURRENT_CPU flag for bpf_perf_event_read Daniel Borkmann
2016-06-28 10:18 ` [PATCH net-next 4/6] bpf: don't use raw processor id in generic helper Daniel Borkmann
2016-06-28 10:18 ` [PATCH net-next 5/6] bpf: add bpf_skb_change_proto helper Daniel Borkmann
2016-06-28 10:18 ` [PATCH net-next 6/6] bpf: add bpf_skb_change_type helper Daniel Borkmann
2016-06-30  9:55 ` [PATCH net-next 0/6] BPF helper 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.1467106474.git.daniel@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=alexei.starovoitov@gmail.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=tgraf@suug.ch \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.