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

Changelog:
  v2 -> v3:
    - v2: https://lore.kernel.org/bpf/20250611171519.2033193-1-yonghong.song@linux.dev/
    - Add additional comments for xdp_adjust_tail test.
    - Use actual kernel page size to set new_len for Patch 2 tests.
  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          | 96 +++++++++++++++++--
 .../bpf/prog_tests/xdp_do_redirect.c          | 13 ++-
 .../bpf/progs/test_sockmap_change_tail.c      |  9 +-
 .../selftests/bpf/progs/test_tc_change_tail.c | 14 +--
 .../bpf/progs/test_xdp_adjust_tail_grow.c     |  8 +-
 6 files changed, 122 insertions(+), 20 deletions(-)

-- 
2.47.1


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

end of thread, other threads:[~2025-06-13  2:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-12  3:50 [PATCH bpf-next v3 0/3] bpf: Fix a few test failures with 64K page size Yonghong Song
2025-06-12  3:50 ` [PATCH bpf-next v3 1/3] bpf: Fix an issue in bpf_prog_test_run_xdp when page size greater than 4K Yonghong Song
2025-06-12  3:50 ` [PATCH bpf-next v3 2/3] selftests/bpf: Fix two net related test failures with 64K page size Yonghong Song
2025-06-12  3:50 ` [PATCH bpf-next v3 3/3] selftests/bpf: Fix xdp_do_redirect failure with 64KB " Yonghong Song
2025-06-12  3:53 ` [PATCH bpf-next v3 0/3] bpf: Fix a few test failures with 64K " Yonghong Song
2025-06-13  2:20 ` patchwork-bot+netdevbpf

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).