bpf: performance improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 8 repliesIn review
- v12 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cls_bpf: introduce integrated actionsinclude/ include/ include/ +2 more | +68 | 6 replies | |
| 2/2 | bpf: add bpf_redirect() helperinclude/ include/ include/ +6 more | +91 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Daniel Borkmann | John Fastabend |
|---|---|---|
| 1/2 | ||
| 2/2 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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(-)
Signature · 1 line
1.7.9.5