Skip to content

Implement delete for BPF LPM trie

Craig Gallek netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bpf: Implement map_delete_elem for BPF_MAP_TYPE_LPM_TRIEkernel/bpf/lpm_trie.c+77 -34 replies
2/3bpf: Add uniqueness invariant to trivial lpm test implementationtools/testing/selftests/bpf/test_lpm_map.c+13 -12 replies
3/3bpf: Test deletion in BPF_MAP_TYPE_LPM_TRIEtools/testing/selftests/bpf/test_lpm_map.c+183 -42 replies

Reviews trailers per patch

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

PatchAlexei StarovoitovDaniel Borkmann
1/3A-b
2/3A-b A-b
3/3A-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/3] Implement delete for BPF LPM trie

From: Craig Gallek <[email protected]>

This was previously left as a TODO. Add the implementation and extend the test to cover it.

Craig Gallek (3):
bpf: Implement map_delete_elem for BPF_MAP_TYPE_LPM_TRIE
bpf: Add uniqueness invariant to trivial lpm test implementation
bpf: Test deletion in BPF_MAP_TYPE_LPM_TRIE

 kernel/bpf/lpm_trie.c                      |  80 +++++++++++-
 tools/testing/selftests/bpf/test_lpm_map.c | 201 ++++++++++++++++++++++++++++-
 2 files changed, 273 insertions(+), 8 deletions(-)
Signature · 1 line
2.14.1.690.gbb1197296e-goog