Some BPF helper cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bpf: minor cleanups in helperskernel/ net/ | +6 | 0 replies | |
| 2/4 | bpf: add BPF_SIZEOF and BPF_FIELD_SIZEOF macrosinclude/ kernel/ net/ | +27 | 0 replies | |
| 3/4 | bpf: add own ctx rewriter on ifindex for clsact progsnet/ | +31 | 0 replies | |
| 4/4 | bpf: add BPF_CALL_x macros for declaring helpersinclude/ kernel/ kernel/ +3 more | +149 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Alexei Starovoitov |
|---|---|
| 1/4 | A-b |
| 2/4 | A-b |
| 3/4 | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/4] Some BPF helper cleanups
This series contains a couple of misc cleanups and improvements for BPF helpers. For details please see individual patches. We let this also sit for a few days with Fengguang's kbuild test robot, and there were no issues seen (besides one false positive, see last one for details).
Thanks!
Daniel Borkmann (4):
bpf: minor cleanups in helpers
bpf: add BPF_SIZEOF and BPF_FIELD_SIZEOF macros
bpf: add own ctx rewriter on ifindex for clsact progs
bpf: add BPF_CALL_x macros for declaring helpers
include/linux/filter.h | 64 ++++++++++++++++ kernel/bpf/core.c | 2 +- kernel/bpf/helpers.c | 52 ++++--------- kernel/bpf/stackmap.c | 5 +- kernel/trace/bpf_trace.c | 87 +++++++++++----------- net/core/filter.c | 188 ++++++++++++++++++++++------------------------- 6 files changed, 213 insertions(+), 185 deletions(-)
Signature · 1 line
1.9.3