bpf: Change BPF_MAX_TRAMP_LINKS to enum
authorIlya Leoshkevich <iii@linux.ibm.com>
Sat, 28 Jan 2023 00:06:21 +0000 (01:06 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 28 Jan 2023 20:27:12 +0000 (12:27 -0800)
commit390a07a921b3b1fe544cb2921de7abb94ebb7f26
tree3c8cf54d9b05ed4c9ac41169408f5e6833b741be
parentbf3849755ac606f2a04808b6b706a16867d1e1b8
bpf: Change BPF_MAX_TRAMP_LINKS to enum

This way it's possible to query its value from testcases using BTF.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20230128000650.1516334-3-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/bpf.h