From: Daniel Borkmann Date: Wed, 22 Jan 2020 22:04:53 +0000 (+0100) Subject: Merge branch 'bpf-dynamic-relinking' X-Git-Tag: v5.6-rc1~151^2~46^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b2fd38de9fcc73d6994f8f6c7c23ee3435b6a12;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'bpf-dynamic-relinking' Alexei Starovoitov says: ==================== The last few month BPF community has been discussing an approach to call chaining, since exiting bpt_tail_call() mechanism used in production XDP programs has plenty of downsides. The outcome of these discussion was a conclusion to implement dynamic re-linking of BPF programs. Where rootlet XDP program attached to a netdevice can programmatically define a policy of execution of other XDP programs. Such rootlet would be compiled as normal XDP program and provide a number of placeholder global functions which later can be replaced with future XDP programs. BPF trampoline, function by function verification were building blocks towards that goal. The patch 1 is a final building block. It introduces dynamic program extensions. A number of improvements like more flexible function by function verification and better libbpf api will be implemented in future patches. v1->v2: - addressed Andrii's comments - rebase ==================== Signed-off-by: Daniel Borkmann --- 1b2fd38de9fcc73d6994f8f6c7c23ee3435b6a12