bpf: implement MAP_GET_NEXT_KEY command for LPM_TRIE map
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: implement MAP_GET_NEXT_KEY command for LPM_TRIE mapkernel/ | +93 | 4 replies | |
| 2/2 | tools/bpf: add a testcase for MAP_GET_NEXT_KEY command of LPM_TRIE maptools/ | +122 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next 0/2] bpf: implement MAP_GET_NEXT_KEY command for LPM_TRIE map
This patch set implements MAP_GET_NEXT_KEY command for LPM_TRIE map. This command is really useful for key enumeration, and for key deletion if what keys in the trie are unknown.
Patch #1 implements the functionality in the kernel and patch #2 adds a test case in tools/testing/selftests/bpf.
Yonghong Song (2):
bpf: implement MAP_GET_NEXT_KEY command for LPM_TRIE map tools/bpf: add a testcase for MAP_GET_NEXT_KEY command of LPM_TRIE map
kernel/bpf/lpm_trie.c | 95 +++++++++++++++++++++- tools/testing/selftests/bpf/test_lpm_map.c | 122 +++++++++++++++++++++++++++++ 2 files changed, 215 insertions(+), 2 deletions(-)
Signature · 1 line
2.9.5