bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next v2 0/3] bpf: Fix a few test failures with 64K page size
@ 2025-06-11 17:15 Yonghong Song
  2025-06-11 17:15 ` [PATCH bpf-next v2 1/3] bpf: Fix an issue in bpf_prog_test_run_xdp when page size greater than 4K Yonghong Song
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Yonghong Song @ 2025-06-11 17:15 UTC (permalink / raw)
  To: bpf
  Cc: Alexei Starovoitov, Andrii Nakryiko, Daniel Borkmann, kernel-team,
	Martin KaFai Lau

This small patch set tried to fix a few networking related test failure failures
due to 64K page size. Please see each individual patch for details.

Changelog:
  v1 -> v2:
    - v1: https://lore.kernel.org/bpf/20250608165534.1019914-1-yonghong.song@linux.dev/
    - For xdp_adjust_tail, let kernel test_run can handle various page sizes for xdp progs.
    - For two change_tail tests, make code easier to understand.
    - Resolved a new test failure (xdp_do_redirect).

Yonghong Song (3):
  bpf: Fix an issue in bpf_prog_test_run_xdp when page size greater than
    4K
  selftests/bpf: Fix two net related test failures with 64K page size
  selftests/bpf: Fix xdp_do_redirect failure with 64KB page size

 net/bpf/test_run.c                            |  2 +-
 .../bpf/prog_tests/xdp_adjust_tail.c          | 95 +++++++++++++++++--
 .../bpf/prog_tests/xdp_do_redirect.c          | 13 ++-
 .../bpf/progs/test_sockmap_change_tail.c      |  5 +-
 .../selftests/bpf/progs/test_tc_change_tail.c |  5 +-
 .../bpf/progs/test_xdp_adjust_tail_grow.c     |  8 +-
 6 files changed, 115 insertions(+), 13 deletions(-)

-- 
2.47.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-06-12  1:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-11 17:15 [PATCH bpf-next v2 0/3] bpf: Fix a few test failures with 64K page size Yonghong Song
2025-06-11 17:15 ` [PATCH bpf-next v2 1/3] bpf: Fix an issue in bpf_prog_test_run_xdp when page size greater than 4K Yonghong Song
2025-06-11 19:24   ` Alexei Starovoitov
2025-06-12  1:53     ` Yonghong Song
2025-06-11 17:15 ` [PATCH bpf-next v2 2/3] selftests/bpf: Fix two net related test failures with 64K page size Yonghong Song
2025-06-11 19:21   ` Alexei Starovoitov
2025-06-12  1:59     ` Yonghong Song
2025-06-11 17:15 ` [PATCH bpf-next v2 3/3] selftests/bpf: Fix xdp_do_redirect failure with 64KB " Yonghong Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).