Skip to content

rely on ASSERT marcos in xdp_bpf2bpf.c/xdp_adjust_tail.c

Lorenzo Bianconi bpf 2 versions – Applied

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

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- run each ASSERT test separately
- drop unnecessary return statements
- drop unnecessary if condition in test_xdp_bpf2bpf()

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2bpf: selftests: get rid of CHECK macro in xdp_adjust_tail.ctools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c+28 -400 repliesApplied
2/2bpf: selftests: get rid of CHECK macro in xdp_bpf2bpf.ctools/testing/selftests/bpf/prog_tests/xdp_bpf2bpf.c+20 -400 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 bpf-next 0/2] rely on ASSERT marcos in xdp_bpf2bpf.c/xdp_adjust_tail.c

Rely on ASSERT* macros and get rid of deprecated CHECK ones in xdp_bpf2bpf and xdp_adjust_tail bpf selftests.
This is a preliminary series for XDP multi-frags support.

Changes since v1:
- run each ASSERT test separately
- drop unnecessary return statements
- drop unnecessary if condition in test_xdp_bpf2bpf()

Lorenzo Bianconi (2):
bpf: selftests: get rid of CHECK macro in xdp_adjust_tail.c
bpf: selftests: get rid of CHECK macro in xdp_bpf2bpf.c

 .../bpf/prog_tests/xdp_adjust_tail.c          | 68 ++++++++-----------
 .../selftests/bpf/prog_tests/xdp_bpf2bpf.c    | 60 ++++++----------
 2 files changed, 48 insertions(+), 80 deletions(-)
Signature · 1 line
2.34.1