Re: [PATCH v9 17/20] ebpf: Fix RSS error handling

2024-04-13 Thread Akihiko Odaki
On 2024/04/13 21:16, Yuri Benditovich wrote: On Wed, Apr 3, 2024 at 2:12 PM Akihiko Odaki wrote: calculate_rss_hash() was using hash value 0 to tell if it calculated a hash, but the hash value may be 0 on a rare occasion. Have a distinct bool value for correctness. This is interesting questi

Re: [PATCH v9 17/20] ebpf: Fix RSS error handling

2024-04-13 Thread Yuri Benditovich
On Wed, Apr 3, 2024 at 2:12 PM Akihiko Odaki wrote: > > calculate_rss_hash() was using hash value 0 to tell if it calculated > a hash, but the hash value may be 0 on a rare occasion. Have a > distinct bool value for correctness. This is interesting question whether in reality the hash value might

[PATCH v9 17/20] ebpf: Fix RSS error handling

2024-04-03 Thread Akihiko Odaki
calculate_rss_hash() was using hash value 0 to tell if it calculated a hash, but the hash value may be 0 on a rare occasion. Have a distinct bool value for correctness. Fixes: f3fa412de2 ("ebpf: Added eBPF RSS program.") Signed-off-by: Akihiko Odaki --- ebpf/rss.bpf.skeleton.h | 1210 +++