diff options
author | Toshiaki Makita <toshiaki.makita1@gmail.com> | 2019-06-13 18:39:58 +0900 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-06-25 14:26:50 +0200 |
commit | e7d4798960b3ebcd243ae6a59e04d4fe6518c96c (patch) | |
tree | 51dd98f423367b750e80e4974ffe63a95c436a5c /kernel | |
parent | 88091ff56b71d73c5577ebefcd4f0f721a359077 (diff) |
xdp: Add tracepoint for bulk XDP_TX
This is introduced for admins to check what is happening on XDP_TX when
bulk XDP_TX is in use, which will be first introduced in veth in next
commit.
v3:
- Add act field to be in line with other XDP tracepoints.
Signed-off-by: Toshiaki Makita <toshiaki.makita1@gmail.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/bpf/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index ad3be85f1411..561ed07d3007 100644 --- a/kernel/bpf/core.c +++ b/kernel/bpf/core.c @@ -2101,3 +2101,4 @@ EXPORT_SYMBOL(bpf_stats_enabled_key); #include <linux/bpf_trace.h> EXPORT_TRACEPOINT_SYMBOL_GPL(xdp_exception); +EXPORT_TRACEPOINT_SYMBOL_GPL(xdp_bulk_tx); |