bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yonghong Song <yonghong.song@linux.dev>
To: bpf@vger.kernel.org
Cc: Alexei Starovoitov <ast@kernel.org>,
	Andrii Nakryiko <andrii@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	kernel-team@fb.com, Martin KaFai Lau <martin.lau@kernel.org>
Subject: [PATCH bpf-next v3 0/3] bpf: Fix a few test failures with 64K page size
Date: Wed, 11 Jun 2025 20:50:27 -0700	[thread overview]
Message-ID: <20250612035027.2207299-1-yonghong.song@linux.dev> (raw)

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


             reply	other threads:[~2025-06-12  3:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-12  3:50 Yonghong Song [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250612035027.2207299-1-yonghong.song@linux.dev \
    --to=yonghong.song@linux.dev \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=kernel-team@fb.com \
    --cc=martin.lau@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).