summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2025-03-06 19:27:51 +0300
committerJens Axboe <axboe@kernel.dk>2025-03-07 03:50:55 +0300
commite7112524e5e885181cc5ae4d258f33b9dbe0b907 (patch)
tree5b1712ebddb013c9a5c8f53d7fc2710892b2827f /scripts/extract-fwblobs
parentca57b5bfa214063a109ae9bc85862ce3ed155027 (diff)
downloadlinux-e7112524e5e885181cc5ae4d258f33b9dbe0b907.tar.xz
block: Name the RQF flags enum
Commit 5f89154e8e9e3445f9b59 ("block: Use enum to define RQF_x bit indexes") converted the RQF flags to an anonymous enum, which was a beneficial change. This patch goes one step further by naming the enum as "rqf_flags". This naming enables exporting these flags to BPF clients, eliminating the need to duplicate these flags in BPF code. Instead, BPF clients can now access the same kernel-side values through CO:RE (Compile Once, Run Everywhere), as shown in this example: rqf_stats = bpf_core_enum_value(enum rqf_flags, __RQF_STATS) Suggested-by: Yonghong Song <yonghong.song@linux.dev> Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://lore.kernel.org/r/20250306-rqf_flags-v1-1-bbd64918b406@debian.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions