aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/x86/nested_exceptions_test.c
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2025-03-06 16:27:51 +0000
committerJens Axboe <[email protected]>2025-03-07 00:50:55 +0000
commite7112524e5e885181cc5ae4d258f33b9dbe0b907 (patch)
tree5b1712ebddb013c9a5c8f53d7fc2710892b2827f /tools/testing/selftests/kvm/x86/nested_exceptions_test.c
parentMerge tag 'nvme-6.14-2025-03-05' of git://git.infradead.org/nvme into block-6.14 (diff)
downloadkernel-e7112524e5e885181cc5ae4d258f33b9dbe0b907.tar.gz
kernel-e7112524e5e885181cc5ae4d258f33b9dbe0b907.zip
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 <[email protected]> Signed-off-by: Breno Leitao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions