[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1442383543-4720-1-git-send-email-ast@plumgrid.com>
Date: Tue, 15 Sep 2015 23:05:41 -0700
From: Alexei Starovoitov <ast@...mgrid.com>
To: "David S. Miller" <davem@...emloft.net>
Cc: John Fastabend <john.fastabend@...il.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org
Subject: [PATCH v2 net-next 0/2] bpf: performance improvements
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists