From: Alexei Starovoitov <ast@plumgrid.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: John Fastabend <john.fastabend@gmail.com>,
Jamal Hadi Salim <jhs@mojatatu.com>,
Daniel Borkmann <daniel@iogearbox.net>,
netdev@vger.kernel.org
Subject: [PATCH v2 net-next 0/2] bpf: performance improvements
Date: Tue, 15 Sep 2015 23:05:41 -0700 [thread overview]
Message-ID: <1442383543-4720-1-git-send-email-ast@plumgrid.com> (raw)
v1->v2: dropped redundant iff_up check in patch 2
At plumbers we discussed different options on how to get rid of skb_clone
from bpf_clone_redirect(), the patch 2 implements the best option.
Patch 1 adds 'integrated exts' to cls_bpf to improve performance by
combining simple actions into bpf classifier.
Alexei Starovoitov (1):
bpf: add bpf_redirect() helper
Daniel Borkmann (1):
cls_bpf: introduce integrated actions
include/net/sch_generic.h | 3 ++-
include/uapi/linux/bpf.h | 9 +++++++
include/uapi/linux/pkt_cls.h | 4 +++
net/core/dev.c | 8 ++++++
net/core/filter.c | 58 +++++++++++++++++++++++++++++++++++++++
net/sched/act_bpf.c | 1 +
net/sched/cls_bpf.c | 61 ++++++++++++++++++++++++++++++++++--------
samples/bpf/bpf_helpers.h | 4 +++
samples/bpf/tcbpf1_kern.c | 24 ++++++++++++++++-
9 files changed, 159 insertions(+), 13 deletions(-)
--
1.7.9.5
next reply other threads:[~2015-09-16 6:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 6:05 Alexei Starovoitov [this message]
2015-09-16 6:05 ` [PATCH v2 net-next 1/2] cls_bpf: introduce integrated actions Alexei Starovoitov
2015-09-17 12:37 ` Jamal Hadi Salim
2015-09-17 13:13 ` Daniel Borkmann
2015-09-17 15:19 ` Alexei Starovoitov
2015-09-18 12:13 ` Jamal Hadi Salim
2015-09-18 12:51 ` Daniel Borkmann
2015-09-18 12:04 ` Jamal Hadi Salim
2015-09-16 6:05 ` [PATCH v2 net-next 2/2] bpf: add bpf_redirect() helper Alexei Starovoitov
2015-09-16 6:45 ` John Fastabend
2015-09-18 4:10 ` [PATCH v2 net-next 0/2] bpf: performance 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=1442383543-4720-1-git-send-email-ast@plumgrid.com \
--to=ast@plumgrid.com \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=jhs@mojatatu.com \
--cc=john.fastabend@gmail.com \
--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).