mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 05:57:08 +07:00
08de198c95
Add two tests to check that sequence of 1024 jumps is verifiable. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
19 lines
324 B
C
19 lines
324 B
C
{
|
|
"scale: scale test 1",
|
|
.insns = { },
|
|
.data = { },
|
|
.fill_helper = bpf_fill_scale,
|
|
.prog_type = BPF_PROG_TYPE_SCHED_CLS,
|
|
.result = ACCEPT,
|
|
.retval = 1,
|
|
},
|
|
{
|
|
"scale: scale test 2",
|
|
.insns = { },
|
|
.data = { },
|
|
.fill_helper = bpf_fill_scale,
|
|
.prog_type = BPF_PROG_TYPE_SCHED_CLS,
|
|
.result = ACCEPT,
|
|
.retval = 2,
|
|
},
|