aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/parse_varlen.c
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2017-10-06 10:41:46 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-06 10:04:35 -0700
commit280b058d4801cb431477dc101a776e4b24995f2f (patch)
tree993a220ce48d529b5b3cd71a4af56429eaf4ef1b /samples/bpf/parse_varlen.c
parentsamples/bpf: xdp_monitor first 8 bytes are not accessible by bpf (diff)
downloadlinux-dev-280b058d4801cb431477dc101a776e4b24995f2f.tar.xz
linux-dev-280b058d4801cb431477dc101a776e4b24995f2f.zip
samples/bpf: xdp_monitor also record xdp_exception tracepoint
Also monitor the tracepoint xdp_exception. This tracepoint is usually invoked by the drivers. Programs themselves can activate this by returning XDP_ABORTED, which will drop the packet but also trigger the tracepoint. This is useful for distinguishing intentional (XDP_DROP) vs. ebpf-program error cases that cased a drop (XDP_ABORTED). Drivers also use this tracepoint for reporting on XDP actions that are unknown to the specific driver. This can help the user to detect if a driver e.g. doesn't implement XDP_REDIRECT yet. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/parse_varlen.c')
0 files changed, 0 insertions, 0 deletions