Message ID | 20201123131201.4108483-1-haliu@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | iproute2: add libbpf support | expand |
On 11/23/20 6:11 AM, Hangbin Liu wrote: > This series converts iproute2 to use libbpf for loading and attaching > BPF programs when it is available. This means that iproute2 will > correctly process BTF information and support the new-style BTF-defined > maps, while keeping compatibility with the old internal map definition > syntax. > applied to iproute2-next. Thanks for the detailed cover letter. In the future, please use '$' instead of '#' for the prompt on the commands or offset the command lines. Lines starting with '#' are considered comments by git.
Hello: This series was applied to iproute2/iproute2-next.git (refs/heads/main): On Mon, 23 Nov 2020 21:11:56 +0800 you wrote: > This series converts iproute2 to use libbpf for loading and attaching > BPF programs when it is available. This means that iproute2 will > correctly process BTF information and support the new-style BTF-defined > maps, while keeping compatibility with the old internal map definition > syntax. > > This is achieved by checking for libbpf at './configure' time, and using > it if available. By default the system libbpf will be used, but static > linking against a custom libbpf version can be achieved by passing > LIBBPF_DIR to configure. LIBBPF_FORCE can be set to on to force configure > abort if no suitable libbpf is found (useful for automatic packaging > that wants to enforce the dependency), or set off to disable libbpf check > and build iproute2 with legacy bpf. > > [...] Here is the summary with links: - [PATCHv6,iproute2-next,1/5] iproute2: add check_libbpf() and get_libbpf_version() https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=503e9229b054 - [PATCHv6,iproute2-next,2/5] lib: make ipvrf able to use libbpf and fix function name conflicts https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=dc800a4ed4f3 - [PATCHv6,iproute2-next,3/5] lib: add libbpf support https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=6d61a2b55799 - [PATCHv6,iproute2-next,4/5] examples/bpf: move struct bpf_elf_map defined maps to legacy folder https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=1ac8285a692e - [PATCHv6,iproute2-next,5/5] examples/bpf: add bpf examples with BTF defined maps https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=71c7c1fb4ff0 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html