android_kernel_sony_sdm845/include/uapi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Martin KaFai Lau 18e59497d4 BACKPORT: bpf: Change bpf_sk_storage_*() to accept ARG_PTR_TO_BTF_ID_SOCK_COMMON
This patch changes the bpf_sk_storage_*() to take
ARG_PTR_TO_BTF_ID_SOCK_COMMON such that they will work with the pointer
returned by the bpf_skc_to_*() helpers also.

A micro benchmark has been done on a "cgroup_skb/egress" bpf program
which does a bpf_sk_storage_get().  It was driven by netperf doing
a 4096 connected UDP_STREAM test with 64bytes packet.
The stats from "kernel.bpf_stats_enabled" shows no meaningful difference.

The sk_storage_get_btf_proto, sk_storage_delete_btf_proto,
btf_sk_storage_get_proto, and btf_sk_storage_delete_proto are
no longer needed, so they are removed.

Change-Id: Ifef1303f11952714d181a3c369e154a70a864fd0
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Lorenz Bauer <lmb@cloudflare.com>
Link: https://lore.kernel.org/bpf/20200925000402.3856307-1-kafai@fb.com
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:59:32 +07:00
..
asm-generic BACKPORT: bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2026-05-15 17:59:13 +07:00
drm drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI 2021-09-27 05:59:33 -07:00
linux BACKPORT: bpf: Change bpf_sk_storage_*() to accept ARG_PTR_TO_BTF_ID_SOCK_COMMON 2026-05-15 17:59:32 +07:00
media msm: vidc: add delta QP support for P and B frames in ROI 2021-01-26 22:32:47 -08:00
miniISP media: platform: Altek AL6100 driver release 2019-07-24 20:25:30 +08:00
misc uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
mtd uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
rdma Kbuild : Use no-export-headers to avoid exporting headers 2020-04-09 16:08:34 +05:30
scsi uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
sound Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-20 2023-01-19 15:42:12 +01:00
video Kbuild : Use no-export-headers to avoid exporting headers 2020-04-09 16:08:34 +05:30
xen uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30