RE: [PATCH] bpf: don't verify classic bpfs

2024-06-27 Thread Konstantin Ananyev
> > > > When classic BPFs with lots of branching instructions are compiled, > > > > __rte_bpf_bpf_validate runs way too slow. A simple bpf such as: > > > > 'ether host a0:38:6d:af:17:eb or b3:a3:ff:b6:c1:ef or ...' 12 times > > > > > > > > results in ~1 minute of bpf validation. > > > > This patch

Re: [PATCH] bpf: don't verify classic bpfs

2024-06-27 Thread Thomas Monjalon
16/05/2024 11:36, Konstantin Ananyev: > > > On Sun, 12 May 2024 08:55:45 +0300 > > Yoav Winstein wrote: > > > > > When classic BPFs with lots of branching instructions are compiled, > > > __rte_bpf_bpf_validate runs way too slow. A simple bpf such as: > > > 'ether host a0:38:6d:af:17:eb or b3:a3

RE: [PATCH] bpf: don't verify classic bpfs

2024-05-16 Thread Konstantin Ananyev
> On Sun, 12 May 2024 08:55:45 +0300 > Yoav Winstein wrote: > > > When classic BPFs with lots of branching instructions are compiled, > > __rte_bpf_bpf_validate runs way too slow. A simple bpf such as: > > 'ether host a0:38:6d:af:17:eb or b3:a3:ff:b6:c1:ef or ...' 12 times > > > > results in ~