android_kernel_sony_sdm845/include/trace
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Toke Høiland-Jørgensen 9772ed107f UPSTREAM: xdp: Add devmap_hash map type for looking up devices by hashed index
A common pattern when using xdp_redirect_map() is to create a device map
where the lookup key is simply ifindex. Because device maps are arrays,
this leaves holes in the map, and the map has to be sized to fit the
largest ifindex, regardless of how many devices actually are actually
needed in the map.

This patch adds a second type of device map where the key is looked up
using a hashmap, instead of being used as an array index. This allows maps
to be densely packed, so they can be smaller.

Change-Id: Ibf2e0d0722ca22b53349df8019115ac1c263a286
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:58:04 +07:00
..
events UPSTREAM: xdp: Add devmap_hash map type for looking up devices by hashed index 2026-05-15 17:58:04 +07:00
bpf_probe.h BACKPORT: bpf: add writable context for raw tracepoints 2026-05-15 17:57:41 +07:00
define_trace.h UPSTREAM: bpf: introduce BPF_RAW_TRACEPOINT 2026-05-15 17:56:14 +07:00
perf.h BACKPORT: bpf: permit multiple bpf attachments for a single perf event 2019-12-12 15:49:12 -08:00
syscall.h
trace_events.h UPSTREAM: trace: add variant without spacing in trace_print_hex_seq 2026-05-15 17:54:49 +07:00