diff options
author | Eelco Chaudron <echaudro@redhat.com> | 2020-03-06 11:59:23 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-03-13 03:47:38 +0300 |
commit | d831ee84bfc9173eecf30dbbc2553ae81b996c60 (patch) | |
tree | 52c110beaf9330261d28ed885ea246cb66e39ee8 /net/ipv6/calipso.c | |
parent | 4823b7210b90a10b88b0c56198f894b27a767509 (diff) | |
download | linux-d831ee84bfc9173eecf30dbbc2553ae81b996c60.tar.xz |
bpf: Add bpf_xdp_output() helper
Introduce new helper that reuses existing xdp perf_event output
implementation, but can be called from raw_tracepoint programs
that receive 'struct xdp_buff *' as a tracepoint argument.
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/158348514556.2239.11050972434793741444.stgit@xdp-tutorial
Diffstat (limited to 'net/ipv6/calipso.c')
0 files changed, 0 insertions, 0 deletions