Re: [PATCH] net/tap: do not force inline or unroll

2025-06-04 Thread Stephen Hemminger
On Wed, 04 Jun 2025 11:27:18 +0200 Thomas Monjalon wrote: > 24/04/2025 18:07, Stephen Hemminger: > > The BPF code in TAP device was using outdated advice on how > > to write BPF programs. Modern BPF verifier has to do less work > > if force inlining and unrolling is not done. > > Why do you ke

Re: [PATCH] net/tap: do not force inline or unroll

2025-06-04 Thread Thomas Monjalon
24/04/2025 18:07, Stephen Hemminger: > The BPF code in TAP device was using outdated advice on how > to write BPF programs. Modern BPF verifier has to do less work > if force inlining and unrolling is not done. Why do you keep unroll in IPv6 parsing?

[PATCH] net/tap: do not force inline or unroll

2025-04-24 Thread Stephen Hemminger
The BPF code in TAP device was using outdated advice on how to write BPF programs. Modern BPF verifier has to do less work if force inlining and unrolling is not done. Signed-off-by: Stephen Hemminger --- drivers/net/tap/bpf/tap_rss.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletio