diff options
author | Eelco Chaudron <echaudro@redhat.com> | 2020-03-06 08:59:23 +0000 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-03-12 17:47:38 -0700 |
commit | d831ee84bfc9173eecf30dbbc2553ae81b996c60 (patch) | |
tree | 52c110beaf9330261d28ed885ea246cb66e39ee8 /block | |
parent | 4823b7210b90a10b88b0c56198f894b27a767509 (diff) |
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 'block')
0 files changed, 0 insertions, 0 deletions