summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-08-17 23:00:40 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-08-19 06:38:16 (GMT)
commit4de16969523c15fb53cf8945dfc6b495d01d1512 (patch)
tree02ec053515e7262d2be7fa73dee1cbfc54522c06 /samples
parent5293efe62df81908f2e90c9820c7edcc8e61f5e9 (diff)
downloadlinux-4de16969523c15fb53cf8945dfc6b495d01d1512.tar.xz
bpf: enable event output helper also for xdp types
Follow-up to 555c8a8623a3 ("bpf: avoid stack copy and use skb ctx for event output") for also adding the event output helper for XDP typed programs. The event output helper has been very useful in particular for debugging or event notification purposes, since it's much faster and flexible than regular trace printk due to programmatically being able to attach meta data. Same flags structure applies as with tc BPF programs. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions