commit | 8c417dc15f9522672795981dcb63d9099ca6bd8c | [log] [tgz] |
---|---|---|
author | Yonghong Song <yhs@fb.com> | Thu Jan 18 15:08:51 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Jan 19 23:26:41 2018 +0100 |
tree | b6d14d27dd9c79219b79291db99683a4ba8b9f07 | |
parent | b471f2f1de8b816f1e799b80aa92588f3566e4bd [diff] |
tools/bpf: add a testcase for MAP_GET_NEXT_KEY command of LPM_TRIE map A test case is added in tools/testing/selftests/bpf/test_lpm_map.c for MAP_GET_NEXT_KEY command. A four node trie, which is described in kernel/bpf/lpm_trie.c, is built and the MAP_GET_NEXT_KEY results are checked. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>