mirror-linux/tools/testing/selftests/bpf/map_tests
Tao Chen 7eab3a58ac bpf/selftests: Check errno when percpu map value size exceeds
This test case checks the errno message when percpu map value size
exceeds PCPU_MIN_UNIT_SIZE.

root@debian:~# ./test_maps
...
test_map_percpu_stats_hash_of_maps:PASS
test_map_percpu_stats_map_value_size:PASS
test_sk_storage_map:PASS

Signed-off-by: Jinke Han <jinkehan@didiglobal.com>
Signed-off-by: Tao Chen <chen.dylane@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240910144111.1464912-3-chen.dylane@gmail.com
2024-09-11 13:22:45 -07:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
array_map_batch_ops.c selftests/bpf: Free the allocated resources after test case succeeds 2022-09-22 16:41:27 -07:00
htab_map_batch_ops.c selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
lpm_trie_map_batch_ops.c selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
map_in_map_batch_ops.c selftests/bpf: Fix compiler warnings reported in -O2 mode 2023-10-06 20:17:28 +02:00
map_percpu_stats.c bpf/selftests: Check errno when percpu map value size exceeds 2024-09-11 13:22:45 -07:00
sk_storage_map.c selftests/bpf: Fix compile error from rlim_t in sk_storage_map.c 2024-07-29 15:05:07 -07:00
task_storage_map.c selftests/bpf: Destroy the skeleton when CONFIG_PREEMPT is off 2022-09-22 16:41:27 -07:00