Some more updates on the BPF front-end to get further eBPF
functionality working with tc. See individual patches for
details. Targeted at iproute2's -next branch.
Thanks!
v1 -> v2:
- fix minor stylistic nit spotted by Sergei
Daniel Borkmann (5):
{f,m}_bpf: make tail calls working
{f,m}_bpf: check map attributes when fetching as pinned
{f,m}_bpf: allow for user-defined object pinnings
{f,m}_bpf: allow updates on program arrays
{f,m}_bpf: add more example code
etc/iproute2/bpf_pinning | 6 +
examples/bpf/README | 13 +
examples/bpf/bpf_cyclic.c | 32 ++
examples/bpf/bpf_funcs.h | 11 +
examples/bpf/bpf_graft.c | 70 +++++
examples/bpf/bpf_tailcall.c | 115 +++++++
include/bpf_elf.h | 2 +-
include/utils.h | 4 +
lib/rt_names.c | 5 +-
tc/e_bpf.c | 30 +-
tc/tc_bpf.c | 708 +++++++++++++++++++++++++++++++++-----------
tc/tc_bpf.h | 1 +
12 files changed, 819 insertions(+), 178 deletions(-)
create mode 100644 etc/iproute2/bpf_pinning
create mode 100644 examples/bpf/README
create mode 100644 examples/bpf/bpf_cyclic.c
create mode 100644 examples/bpf/bpf_graft.c
create mode 100644 examples/bpf/bpf_tailcall.c
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html