diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2021-08-21 03:19:56 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-08-25 00:48:41 +0300 |
commit | 0cf3c2fc4b1afbd8d9c376754af34c1d2bd56de7 (patch) | |
tree | d67677135ba59e0b9cf4614f11704f075d52e815 /include/keys/asymmetric-parser.h | |
parent | 82c450803a917da6edb34a0a769d0b5a0b10990c (diff) | |
download | linux-0cf3c2fc4b1afbd8d9c376754af34c1d2bd56de7.tar.xz |
samples: bpf: Add BPF support for cpumap tracepoints
These are invoked in two places, when the XDP frame or SKB (for generic
XDP) enqueued to the ptr_ring (cpumap_enqueue) and when kthread processes
the frame after invoking the CPUMAP program for it (returning stats for
the batch).
We use cpumap_map_id to filter on the map_id as a way to avoid printing
incorrect stats for parallel sessions of xdp_redirect_cpu.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210821002010.845777-9-memxor@gmail.com
Diffstat (limited to 'include/keys/asymmetric-parser.h')
0 files changed, 0 insertions, 0 deletions