libbpf: streamline netlink-based XDP APIs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | libbpf: streamline low-level XDP APIstools/ tools/ tools/ | +117 | 1 reply | |
| 2/4 | bpftool: use new API for attaching XDP programtools/ | +1 | 0 replies | |
| 3/4 | selftests/bpf: switch to new libbpf XDP APIstools/ tools/ tools/ +4 more | +47 | 0 replies | |
| 4/4 | samples/bpf: adapt samples/bpf to bpf_xdp_xxx() APIssamples/ samples/ samples/ +8 more | +40 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Toke Høiland-Jørgensen |
|---|---|
| 1/4 | A-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/4] libbpf: streamline netlink-based XDP APIs
Revamp existing low-level XDP APIs provided by libbpf to follow more consistent naming (new APIs follow bpf_tc_xxx() approach where it makes sense) and be extensible without ABI breakages (OPTS-based). See patch #1 for details, remaining patches switch bpftool, selftests/bpf and samples/bpf to new APIs.
Andrii Nakryiko (4):
libbpf: streamline low-level XDP APIs
bpftool: use new API for attaching XDP program selftests/bpf: switch to new libbpf XDP APIs samples/bpf: adapt samples/bpf to bpf_xdp_xxx() APIs
samples/bpf/xdp1_user.c | 8 +- samples/bpf/xdp_adjust_tail_user.c | 8 +- samples/bpf/xdp_fwd_user.c | 4 +- samples/bpf/xdp_router_ipv4_user.c | 10 +- samples/bpf/xdp_rxq_info_user.c | 8 +- samples/bpf/xdp_sample_pkts_user.c | 8 +- samples/bpf/xdp_sample_user.c | 9 +- samples/bpf/xdp_tx_iptunnel_user.c | 10 +- samples/bpf/xdpsock_ctrl_proc.c | 2 +- samples/bpf/xdpsock_user.c | 10 +- samples/bpf/xsk_fwd.c | 4 +- tools/bpf/bpftool/net.c | 2 +- tools/lib/bpf/libbpf.h | 29 +++++ tools/lib/bpf/libbpf.map | 4 + tools/lib/bpf/netlink.c | 117 +++++++++++++----- .../selftests/bpf/prog_tests/xdp_attach.c | 29 ++--- .../bpf/prog_tests/xdp_cpumap_attach.c | 8 +- .../bpf/prog_tests/xdp_devmap_attach.c | 8 +- .../selftests/bpf/prog_tests/xdp_info.c | 14 +-- .../selftests/bpf/prog_tests/xdp_link.c | 26 ++-- .../selftests/bpf/xdp_redirect_multi.c | 8 +- tools/testing/selftests/bpf/xdping.c | 4 +- 22 files changed, 205 insertions(+), 125 deletions(-)
Signature · 1 line
2.30.2