Skip to content

bpf improvements

Alexei Starovoitov netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bpf: allow helpers access the packet directlykernel/bpf/verifier.c+43 -180 replies
2/3samples/bpf: add verifier tests for the helper access to the packetsamples/bpf/test_verifier.c+110 -40 replies
3/3bpf: allow bpf_get_prandom_u32() to be used in tracingkernel/trace/bpf_trace.c+2 -00 replies

Reviews trailers per patch

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

PatchDaniel Borkmann
1/3A-b
2/3A-b
3/3A-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/3] bpf improvements

Two bpf improvements:
1. allow bpf helpers like bpf_map_lookup_elem() access packet data directly for XDP programs
2. enable bpf_get_prandom_u32() for tracing programs

Aaron Yue (1):
samples/bpf: add verifier tests for the helper access to the packet

Alexei Starovoitov (2):
bpf: allow helpers access the packet directly
bpf: allow bpf_get_prandom_u32() to be used in tracing

 kernel/bpf/verifier.c       |  61 +++++++++++++++++-------
 kernel/trace/bpf_trace.c    |   2 +
 samples/bpf/test_verifier.c | 114 ++++++++++++++++++++++++++++++++++++++++++--
 3 files changed, 155 insertions(+), 22 deletions(-)
Signature · 1 line
2.8.0