Skip to content

act_bpf update

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ebpf: add sched_act_type and map it to sk_filter's verifier opsinclude/uapi/linux/bpf.h kernel/bpf/verifier.c net/core/filter.c+8 -02 replies
2/2act_bpf: add initial eBPF support for actionsinclude/net/tc_act/tc_bpf.h include/uapi/linux/tc_act/tc_bpf.h net/sched/act_bpf.c+220 -832 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJiri PirkoAlexei Starovoitov
1/2R-b A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] act_bpf update

This set adds native eBPF support also to act_bpf and thus covers tc with eBPF in the classifier *and* action part.

A link to iproute2 preview has been provided in patch 2 and the code will be pushed out after Stephen has processed the classifier part and helper bits for tc.

This set depends on ced585c83b27 ("act_bpf: allow non-default TC_ACT opcodes as BPF exec outcome"), so a net into net-next merge would be required first. Hope that's fine by you, Dave. ;)

Thanks a lot!

Daniel Borkmann (2):
ebpf: add sched_act_type and map it to sk_filter's verifier ops
act_bpf: add initial eBPF support for actions

 include/net/tc_act/tc_bpf.h        |   6 +-
 include/uapi/linux/bpf.h           |   1 +
 include/uapi/linux/tc_act/tc_bpf.h |   2 +
 kernel/bpf/verifier.c              |   1 +
 net/core/filter.c                  |   6 +
 net/sched/act_bpf.c                | 295 ++++++++++++++++++++++++++-----------
 6 files changed, 228 insertions(+), 83 deletions(-)
Signature · 1 line
1.9.3