bpf: Fix a few test failures with 64K page size
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 1 replyApplied 3/3
- v23 patches 4 repliesSuperseded
- v12 patches 4 repliesSuperseded
Changes in v3 from the cover letter
- v2: https://lore.kernel.org/bpf/[email protected]/
- Add additional comments for xdp_adjust_tail test.
- Use actual kernel page size to set new_len for Patch 2 tests.
Patches in v3 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bpf: Fix an issue in bpf_prog_test_run_xdp when page size greater than 4Knet/ tools/ tools/ | +97 | 0 replies | Applied |
| 2/3 | selftests/bpf: Fix two net related test failures with 64K page sizetools/ tools/ | +14 | 0 replies | Applied |
| 3/3 | selftests/bpf: Fix xdp_do_redirect failure with 64KB page sizetools/ | +11 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH bpf-next v3 0/3] bpf: Fix a few test failures with 64K page size
Changelog:
v2 -> v3:
- v2: https://lore.kernel.org/bpf/[email protected]/
- 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/[email protected]/
- 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(-)
Signature · 1 line
2.47.1