[PATCH] bpf: don't verify classic bpfs

2024-05-11 Thread Yoav Winstein
e aware of bpf_prm originating from classic BPF, allowing to safely skip over the validation. Signed-off-by: Yoav Winstein --- app/test/test_bpf.c | 2 ++ lib/bpf/bpf_convert.c | 1 + lib/bpf/bpf_load.c| 4 +++- lib/bpf/rte_bpf.h | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff -

[PATCH] bpf: don't verify classic bpfs

2024-05-11 Thread Yoav Winstein
e aware of bpf_prm originating from classic BPF, allowing to safely skip over the validation. Signed-off-by: Yoav Winstein --- app/test/test_bpf.c | 2 ++ lib/bpf/bpf_convert.c | 1 + lib/bpf/bpf_load.c| 6 -- lib/bpf/rte_bpf.h | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) di

[PATCH] bpf: don't verify classic bpfs

2024-05-11 Thread Yoav Winstein
f_validate be aware of bpf_prm originating from classic BPF, allowing to safely skip over the validation. Signed-off-by: Yoav Winstein --- app/test/test_bpf.c | 2 ++ lib/bpf/bpf_convert.c | 1 + lib/bpf/bpf_load.c| 6 -- lib/bpf/rte_bpf.h | 1 + 4 files changed, 8 insertions(+), 2

[PATCH] bpf: don't verify classic bpfs

2024-05-11 Thread Yoav Winstein
Signed-off-by: Yoav Winstein --- app/test/test_bpf.c | 2 ++ lib/bpf/bpf_convert.c | 1 + lib/bpf/bpf_load.c| 7 +-- lib/bpf/rte_bpf.h | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c index 53e3a31123..7aae290c1a 100644