-
由 Yauheni Kaliuta 提交于
mainline inclusion from mainline-5.13-rc1 commit 34090aaf category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I5EUVD CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34090aaf256e469a39401cc04d5cd43275ccd97d ------------------------------------------------- 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: NYauheni Kaliuta <yauheni.kaliuta@redhat.com> Signed-off-by: NAndrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210408061310.95877-5-yauheni.kaliuta@redhat.com (cherry picked from commit 34090aaf) Signed-off-by: NWang Yufen <wangyufen@huawei.com>
6fb4ae46