diff options
| author | Florian Westphal <fw@strlen.de> | 2026-03-17 15:09:18 +0100 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-04-08 07:51:31 +0200 |
| commit | a3f1e6a19a5dccb7a29d941b3acee0a3974974f4 (patch) | |
| tree | 17f714947217f5d0cd2d923effc74302a86d1855 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 04e1ca21a5e3f84595c546b481b7bc2b5c3c5fbd (diff) | |
netfilter: nft_set_pipapo_avx2: remove redundant loop in lookup_slow
nft_pipapo_avx2_lookup_slow will never be used in reality, because the
common sizes are handled by avx2 optimized versions.
However, nft_pipapo_avx2_lookup_slow loops over the data just like the
avx2 functions. However, _slow doesn't need to do that.
As-is, first loop sets all the right result bits and the next iterations
boil down to 'x = x & x'. Remove the loop.
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
