diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2020-01-22 23:04:53 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-01-22 23:05:08 +0100 |
commit | 1b2fd38de9fcc73d6994f8f6c7c23ee3435b6a12 (patch) | |
tree | 99bc088a4cd4e27b6c5befcbae2ade0ea72a7f1d /kernel/bpf/helpers.c | |
parent | 2a67a6ccb01f21b854715d86ff6432a18b97adb3 (diff) | |
parent | 7805fe843964f81f98592bf580b9cd736ac4ad4c (diff) |
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>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions