diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2024-04-20 12:09:05 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-04-24 04:31:24 +0300 |
commit | d56b63cf0c0f71e1b2e04dd8220b408f049e67ff (patch) | |
tree | c285bc78a8db309b3e1ec39e5881ba1477b611d9 /include/uapi/linux/bpf.h | |
parent | fc22d9495f0b32d75b5d25a17b300b7aad05c55d (diff) | |
download | linux-d56b63cf0c0f71e1b2e04dd8220b408f049e67ff.tar.xz |
bpf: add support for bpf_wq user type
Mostly a copy/paste from the bpf_timer API, without the initialization
and free, as they will be done in a separate patch.
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Link: https://lore.kernel.org/r/20240420-bpf_wq-v2-5-6c986a5a741f@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/uapi/linux/bpf.h')
-rw-r--r-- | include/uapi/linux/bpf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index cee0a7915c08..e4ae83550fb3 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h @@ -7306,6 +7306,10 @@ struct bpf_timer { __u64 __opaque[2]; } __attribute__((aligned(8))); +struct bpf_wq { + __u64 __opaque[2]; +} __attribute__((aligned(8))); + struct bpf_dynptr { __u64 __opaque[2]; } __attribute__((aligned(8))); |