Various cleanups/fixes for AF_XDP selftests
Status from this message: This series was applied to bpf/bpf-next.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 12 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | selftests/bpf: remove a lot of ifobject castingtools/ | +43 | 0 replies | Applied |
| 2/12 | selftests/bpf: remove unused enumstools/ | +0 | 0 replies | Applied |
| 3/12 | selftests/bpf: fix style warningstools/ | +7 | 0 replies | Applied |
| 4/12 | selftests/bpf: remove memory leaktools/ | +0 | 0 replies | Applied |
| 5/12 | selftests/bpf: improve readability of xdpxceiver/worker_pkt_validate()tools/ | +12 | 0 replies | Applied |
| 6/12 | selftests/bpf: remove casting by introduce local variabletools/ | +11 | 0 replies | Applied |
| 7/12 | selftests/bpf: change type from void * to struct ifaceconfigobj *tools/ | +14 | 0 replies | Applied |
| 8/12 | selftests/bpf: change type from void * to struct generic_data *tools/ | +4 | 0 replies | Applied |
| 9/12 | selftests/bpf: define local variables at the beginning of a blocktools/ | +7 | 0 replies | Applied |
| 10/12 | selftests/bpf: avoid heap allocationtools/ | +4 | 0 replies | Applied |
| 11/12 | selftests/bpf: consistent malloc/calloc usagetools/ | +7 | 0 replies | Applied |
| 12/12 | selftests/bpf: avoid useless void *-caststools/ | +5 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next 00/12] Various cleanups/fixes for AF_XDP selftests
This series is a number of fixes/cleanups, mainly to improve the readability of the xdpxceiver selftest application.
Details in each commit!
Cheers,
Björn
Björn Töpel (12):
selftests/bpf: remove a lot of ifobject casting selftests/bpf: remove unused enums
selftests/bpf: fix style warnings
selftests/bpf: remove memory leak
selftests/bpf: improve readability of xdpxceiver/worker_pkt_validate() selftests/bpf: remove casting by introduce local variable selftests/bpf: change type from void * to struct ifaceconfigobj * selftests/bpf: change type from void * to struct generic_data * selftests/bpf: define local variables at the beginning of a block selftests/bpf: avoid heap allocation
selftests/bpf: consistent malloc/calloc usage selftests/bpf: avoid useless void *-casts
tools/testing/selftests/bpf/xdpxceiver.c | 219 +++++++++++------------ tools/testing/selftests/bpf/xdpxceiver.h | 2 - 2 files changed, 105 insertions(+), 116 deletions(-)
base-commit: 443edcefb8213155c0da22c4a999f4a49858fa39
Signature · 1 line
2.27.0