Skip to content

bpf: Add flag for batch operation

Florian Lehner bpf 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bpf: Add flag to continue batch operationinclude/uapi/linux/bpf.h kernel/bpf/syscall.c tools/include/uapi/linux/bpf.h+21 -30 replies
2/2selftests/bpf: Add a test for batch operation flagtools/testing/selftests/bpf/map_tests/htab_map_batch_ops.c+19 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [bpf-next 0/2] bpf: Add flag for batch operation

Introduce a new flag for batch operations that allows the deletion process to continue even if certain keys are missing. This simplifies map flushing by eliminating the requirement to maintain a separate list of keys and makes sure maps can be flushed with a single batch delete operation.

Florian Lehner (2):
bpf: Add flag to continue batch operation selftests/bpf: Add a test for batch operation flag

 include/uapi/linux/bpf.h                      |  5 +++++
 kernel/bpf/syscall.c                          | 14 ++++++++++---
 tools/include/uapi/linux/bpf.h                |  5 +++++
 .../bpf/map_tests/htab_map_batch_ops.c        | 20 ++++++++++++++++++-
 4 files changed, 40 insertions(+), 4 deletions(-)
Signature · 1 line
2.47.0