diff options
author | 2024-12-06 19:06:21 +0800 | |
---|---|---|
committer | 2024-12-06 09:14:26 -0800 | |
commit | 3e18f5f1e5a152a51dbb6c234e2a0421aec11e31 (patch) | |
tree | 1df541fd1d53305fd0dfae04c66e7c09bd3f0d95 /scripts/generate_rust_analyzer.py | |
parent | bpf: Use raw_spinlock_t for LPM trie (diff) | |
download | wireguard-linux-3e18f5f1e5a152a51dbb6c234e2a0421aec11e31.tar.xz wireguard-linux-3e18f5f1e5a152a51dbb6c234e2a0421aec11e31.zip |
selftests/bpf: Move test_lpm_map.c to map_tests
Move test_lpm_map.c to map_tests/ to include LPM trie test cases in
regular test_maps run. Most code remains unchanged, including the use of
assert(). Only reduce n_lookups from 64K to 512, which decreases
test_lpm_map runtime from 37s to 0.7s.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20241206110622.1161752-9-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions