]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Fix xdp_do_redirect on s390x
authorIlya Leoshkevich <iii@linux.ibm.com>
Sat, 28 Jan 2023 00:06:29 +0000 (01:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:06 +0000 (09:33 +0100)
commit8beace60403759932340e67ea6864cef0e3c60db
tree5102844d59222f503cc67701734d99a3d654569f
parent55e66d7effdf0eb3a51de6a96479da9d583932e9
selftests/bpf: Fix xdp_do_redirect on s390x

[ Upstream commit 54e590686a7d584e12ef82d9d9f02449abc43e35 ]

s390x cache line size is 256 bytes, so skb_shared_info must be aligned
on a much larger boundary than for x86. This makes the maximum packet
size smaller.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20230128000650.1516334-11-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Stable-dep-of: 1b10955d13a4 ("bpf, test_run: fix &xdp_frame misplacement for LIVE_FRAMES")
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/bpf/prog_tests/xdp_do_redirect.c