commit | 0b7e3fc8f1abe63df0d511905b2a09064225f3a5 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Thu Nov 26 15:38:46 2015 +0100 |
committer | Stephen Hemminger <shemming@brocade.com> | Sun Nov 29 11:55:16 2015 -0800 |
tree | 167e6eaa8f1d9d9c1cefa5cd22db76059aae3dac | |
parent | 91d88eeb10cd4f51e3b5c675c7aee4ae1e41ff16 [diff] |
{f,m}_bpf: add more example code I've added three examples to examples/bpf/ that demonstrate how one can implement eBPF tail calls in tc with f.e. multiple levels of nesting. That should act as a good starting point, but also as test cases for the ELF loader and kernel. A real test suite for {f,m,e}_bpf is still to be developed in future work. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org>