* [PATCH bpf-next] bpf/veristat: Fix veristat for map type BPF_MAP_TYPE_CGRP_STORAGE
@ 2025-06-13 5:00 Song Liu
2025-06-13 17:10 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Song Liu @ 2025-06-13 5:00 UTC (permalink / raw)
To: bpf; +Cc: kernel-team, andrii, ast, daniel, martin.lau, eddyz87, Song Liu
BPF_MAP_TYPE_CGRP_STORAGE doesn't allow non-zero max_entries. So veristat
should not set it to 1.
Signed-off-by: Song Liu <song@kernel.org>
---
tools/testing/selftests/bpf/veristat.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/bpf/veristat.c b/tools/testing/selftests/bpf/veristat.c
index b2bb20b00952..70cdabd88c50 100644
--- a/tools/testing/selftests/bpf/veristat.c
+++ b/tools/testing/selftests/bpf/veristat.c
@@ -1182,6 +1182,7 @@ static void fixup_obj(struct bpf_object *obj, struct bpf_program *prog, const ch
case BPF_MAP_TYPE_TASK_STORAGE:
case BPF_MAP_TYPE_INODE_STORAGE:
case BPF_MAP_TYPE_CGROUP_STORAGE:
+ case BPF_MAP_TYPE_CGRP_STORAGE:
break;
case BPF_MAP_TYPE_STRUCT_OPS:
mask_unrelated_struct_ops_progs(obj, map, prog);
--
2.47.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH bpf-next] bpf/veristat: Fix veristat for map type BPF_MAP_TYPE_CGRP_STORAGE
2025-06-13 5:00 [PATCH bpf-next] bpf/veristat: Fix veristat for map type BPF_MAP_TYPE_CGRP_STORAGE Song Liu
@ 2025-06-13 17:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-06-13 17:10 UTC (permalink / raw)
To: Song Liu; +Cc: bpf, kernel-team, andrii, ast, daniel, martin.lau, eddyz87
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:
On Thu, 12 Jun 2025 22:00:01 -0700 you wrote:
> BPF_MAP_TYPE_CGRP_STORAGE doesn't allow non-zero max_entries. So veristat
> should not set it to 1.
>
> Signed-off-by: Song Liu <song@kernel.org>
> ---
> tools/testing/selftests/bpf/veristat.c | 1 +
> 1 file changed, 1 insertion(+)
Here is the summary with links:
- [bpf-next] bpf/veristat: Fix veristat for map type BPF_MAP_TYPE_CGRP_STORAGE
https://git.kernel.org/bpf/bpf-next/c/ccefa19335a0
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-13 17:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-13 5:00 [PATCH bpf-next] bpf/veristat: Fix veristat for map type BPF_MAP_TYPE_CGRP_STORAGE Song Liu
2025-06-13 17:10 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.