From: Alexei Starovoitov <ast@plumgrid.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>,
Daniel Borkmann <daniel@iogearbox.net>,
netdev@vger.kernel.org
Subject: [PATCH net-next 0/2] bpf: performance improvements
Date: Tue, 15 Sep 2015 18:51:33 -0700 [thread overview]
Message-ID: <1442368295-5204-1-git-send-email-ast@plumgrid.com> (raw)
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 | 63 ++++++++++++++++++++++++++++++++++++++++++
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, 164 insertions(+), 13 deletions(-)
--
1.7.9.5
next reply other threads:[~2015-09-16 1:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 1:51 Alexei Starovoitov [this message]
2015-09-16 1:51 ` [PATCH net-next 1/2] cls_bpf: introduce integrated actions Alexei Starovoitov
2015-09-16 1:51 ` [PATCH net-next 2/2] bpf: add bpf_redirect() helper Alexei Starovoitov
2015-09-16 3:10 ` John Fastabend
2015-09-16 4:11 ` Alexei Starovoitov
2015-09-16 4:50 ` John Fastabend
2015-09-16 5:08 ` Alexei Starovoitov
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=1442368295-5204-1-git-send-email-ast@plumgrid.com \
--to=ast@plumgrid.com \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=jhs@mojatatu.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).