summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/bpf_rand.h
diff options
context:
space:
mode:
authorYauheni Kaliuta <yauheni.kaliuta@redhat.com>2021-04-08 09:13:06 +0300
committerAndrii Nakryiko <andrii@kernel.org>2021-04-09 09:54:48 +0300
commit34090aaf256e469a39401cc04d5cd43275ccd97d (patch)
treef2683791eb274bb31683eba1ce1c7e520375f39b /tools/testing/selftests/bpf/bpf_rand.h
parent7a85e4dfa7f5d052ae5016e96f1ee426a8870e78 (diff)
downloadlinux-34090aaf256e469a39401cc04d5cd43275ccd97d.tar.xz
selftests/bpf: mmap: Use runtime page size
Replace hardcoded 4096 with runtime value in the userspace part of the test and set bpf table sizes dynamically according to the value. Do not switch to ASSERT macros, keep CHECK, for consistency with the rest of the test. Can be a separate cleanup patch. Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210408061310.95877-5-yauheni.kaliuta@redhat.com
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_rand.h')
0 files changed, 0 insertions, 0 deletions