]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Merge branch 'bpf-dynamic-relinking'
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 22 Jan 2020 22:04:53 +0000 (23:04 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 22 Jan 2020 22:05:08 +0000 (23:05 +0100)
commit1b2fd38de9fcc73d6994f8f6c7c23ee3435b6a12
tree99bc088a4cd4e27b6c5befcbae2ade0ea72a7f1d
parent2a67a6ccb01f21b854715d86ff6432a18b97adb3
parent7805fe843964f81f98592bf580b9cd736ac4ad4c
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 <daniel@iogearbox.net>