Skip to content

BPF updates

Daniel Borkmann netdev 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3bpf: remove obsolete samplesexamples/bpf/bpf_agent.c examples/bpf/bpf_prog.c examples/bpf/bpf_shared.h +1 more+0 -8040 replies
2/3bpf: support loading map in map from objexamples/bpf/bpf_map_in_map.c include/bpf_elf.h lib/bpf.c+205 -100 replies
3/3bpf: dump id/jited info for cls/act programsinclude/bpf_util.h lib/bpf.c tc/f_bpf.c +1 more+56 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute2 -master 0/3] BPF updates

Couple of misc updates related to BPF. First removes a BPF sample that is long legacy (pre BPF fs times), then we add support for the loader to be able to take care of map in map, and last but not least we dump id and whether prog was jited in tc filter show for cls/act BPF programs.

The set is intended for -master branch _after_ the -net-next branch got merged into -master branch.

Thanks!

Daniel Borkmann (3):
bpf: remove obsolete samples
bpf: support loading map in map from obj
bpf: dump id/jited info for cls/act programs

 examples/bpf/bpf_agent.c      | 258 ----------------------
 examples/bpf/bpf_map_in_map.c |  56 +++++
 examples/bpf/bpf_prog.c       | 501 ------------------------------------------
 examples/bpf/bpf_shared.h     |  22 --
 examples/bpf/bpf_sys.h        |  23 --
 include/bpf_elf.h             |   2 +
 include/bpf_util.h            |   2 +
 lib/bpf.c                     | 205 ++++++++++++++++-
 tc/f_bpf.c                    |   3 +
 tc/m_bpf.c                    |   3 +
 10 files changed, 261 insertions(+), 814 deletions(-)
 delete mode 100644 examples/bpf/bpf_agent.c
 create mode 100644 examples/bpf/bpf_map_in_map.c
 delete mode 100644 examples/bpf/bpf_prog.c
 delete mode 100644 examples/bpf/bpf_shared.h
 delete mode 100644 examples/bpf/bpf_sys.h
Signature · 1 line
1.9.3