summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/test_sockmap.c
diff options
context:
space:
mode:
authorPu Lehui <pulehui@huawei.com>2024-06-22 03:04:37 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2024-07-01 17:10:46 +0200
commit2382a405c581ae8f39f898055654e2000e7dd0d3 (patch)
treea4b02e470a6537ebfdadaf1bfa695a11b2f3db85 /tools/testing/selftests/bpf/test_sockmap.c
parent9f1e16fb1fc9826001c69e0551d51fbbcd2d74e9 (diff)
downloadlinux-2382a405c581ae8f39f898055654e2000e7dd0d3.tar.gz
linux-2382a405c581ae8f39f898055654e2000e7dd0d3.tar.bz2
linux-2382a405c581ae8f39f898055654e2000e7dd0d3.zip
riscv, bpf: Use bpf_prog_pack for RV64 bpf trampoline
We used bpf_prog_pack to aggregate bpf programs into huge page to relieve the iTLB pressure on the system. We can apply it to bpf trampoline, as Song had been implemented it in core and x86 [0]. This patch is going to use bpf_prog_pack to RV64 bpf trampoline. Since Song and Puranjay have done a lot of work for bpf_prog_pack on RV64, implementing this function will be easy. Signed-off-by: Pu Lehui <pulehui@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Tested-by: Björn Töpel <bjorn@rivosinc.com> #riscv Link: https://lore.kernel.org/all/20231206224054.492250-1-song@kernel.org [0] Link: https://lore.kernel.org/bpf/20240622030437.3973492-4-pulehui@huaweicloud.com
Diffstat (limited to 'tools/testing/selftests/bpf/test_sockmap.c')
0 files changed, 0 insertions, 0 deletions