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(-) -- 2.47.0