Message ID | 20240523174202.461236-1-thinker.li@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | Enable BPF programs to declare arrays of kptr, bpf_rb_root, and bpf_list_head. | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Thu, 23 May 2024 10:41:53 -0700 you wrote: > Some types, such as type kptr, bpf_rb_root, and bpf_list_head, are > treated in a special way. Previously, these types could not be the > type of a field in a struct type that is used as the type of a global > variable. They could not be the type of a field in a struct type that > is used as the type of a field in the value type of a map either. They > could not even be the type of array elements. This means that they can > only be the type of global variables or of direct fields in the value > type of a map. > > [...] Here is the summary with links: - [bpf-next,v7,1/9] bpf: Remove unnecessary checks on the offset of btf_field. https://git.kernel.org/bpf/bpf-next/c/c95a3be45ad2 - [bpf-next,v7,2/9] bpf: Remove unnecessary call to btf_field_type_size(). https://git.kernel.org/bpf/bpf-next/c/482f7133791e - [bpf-next,v7,3/9] bpf: refactor btf_find_struct_field() and btf_find_datasec_var(). https://git.kernel.org/bpf/bpf-next/c/a7db0d4f872a - [bpf-next,v7,4/9] bpf: create repeated fields for arrays. https://git.kernel.org/bpf/bpf-next/c/994796c0256c - [bpf-next,v7,5/9] bpf: look into the types of the fields of a struct type recursively. https://git.kernel.org/bpf/bpf-next/c/64e8ee814819 - [bpf-next,v7,6/9] bpf: limit the number of levels of a nested struct type. https://git.kernel.org/bpf/bpf-next/c/f19caf57d80f - [bpf-next,v7,7/9] selftests/bpf: Test kptr arrays and kptrs in nested struct fields. https://git.kernel.org/bpf/bpf-next/c/c4c6c3b785a0 - [bpf-next,v7,8/9] selftests/bpf: Test global bpf_rb_root arrays and fields in nested struct types. https://git.kernel.org/bpf/bpf-next/c/d55c765a9b2d - [bpf-next,v7,9/9] selftests/bpf: Test global bpf_list_head arrays. https://git.kernel.org/bpf/bpf-next/c/43d50ffb1f7e You are awesome, thank you!