summaryrefslogtreecommitdiffstats
path: root/lib/dynamic_queue_limits.c
diff options
context:
space:
mode:
authorMartin KaFai Lau2018-05-04 23:49:52 +0200
committerDaniel Borkmann2018-05-09 17:25:13 +0200
commit62dab84c81a487d946a5fc37c6df541dd95cca38 (patch)
treebcfa804c58e189bf89226ed0c7afa1e23dfeb24c /lib/dynamic_queue_limits.c
parentbpf: btf: Introduce BTF ID (diff)
downloadkernel-qcow2-linux-62dab84c81a487d946a5fc37c6df541dd95cca38.tar.gz
kernel-qcow2-linux-62dab84c81a487d946a5fc37c6df541dd95cca38.tar.xz
kernel-qcow2-linux-62dab84c81a487d946a5fc37c6df541dd95cca38.zip
bpf: btf: Add struct bpf_btf_info
During BPF_OBJ_GET_INFO_BY_FD on a btf_fd, the current bpf_attr's info.info is directly filled with the BTF binary data. It is not extensible. In this case, we want to add BTF ID. This patch adds "struct bpf_btf_info" which has the BTF ID as one of its member. The BTF binary data itself is exposed through the "btf" and "btf_size" members. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Acked-by: Alexei Starovoitov <ast@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'lib/dynamic_queue_limits.c')
0 files changed, 0 insertions, 0 deletions