Skip to content

bpf: Work around libbpf deprecations

David Ahern netdev 1 version Applied

Status from this message: This series was applied to iproute2/iproute2-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3bpf_glue: Remove use of bpf_load_program from libbpflib/bpf_glue.c lib/bpf_legacy.c+7 -120 replies
2/3bpf: Export bpf syscall wrapperinclude/bpf_util.h lib/bpf_glue.c lib/bpf_legacy.c+15 -120 replies
3/3bpf: Remove use of bpf_create_map_xattrlib/bpf_libbpf.c+12 -120 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH iproute2-next 0/3] bpf: Work around libbpf deprecations

libbpf is deprecating APIs, so iproute2 needs to adapt. This will be an on-going effort, especially to handle legacy maps. This is a starter set for the low handing fruit.

David Ahern (3):
bpf_glue: Remove use of bpf_load_program from libbpf
bpf: Export bpf syscall wrapper
bpf: Remove use of bpf_create_map_xattr

 include/bpf_util.h |  2 ++
 lib/bpf_glue.c     | 15 ++++++++-------
 lib/bpf_legacy.c   | 19 +++++++------------
 lib/bpf_libbpf.c   | 24 ++++++++++++------------
 4 files changed, 29 insertions(+), 31 deletions(-)
Signature · 1 line
2.24.3 (Apple Git-128)