aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpicoder.c
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2025-07-09 17:05:15 +0000
committerPablo Neira Ayuso <[email protected]>2025-07-25 16:40:30 +0000
commitd8d871a35ca9ee4881d34995444ed1cb826d01db (patch)
treed5eb042964c82c57a7d0d8fd4f0c62d12c62e2bc /lib/crypto/mpi/mpicoder.c
parentnetfilter: nft_set: remove indirection from update API call (diff)
downloadkernel-d8d871a35ca9ee4881d34995444ed1cb826d01db.tar.gz
kernel-d8d871a35ca9ee4881d34995444ed1cb826d01db.zip
netfilter: nft_set_pipapo: merge pipapo_get/lookup
The matching algorithm has implemented thrice: 1. data path lookup, generic version 2. data path lookup, avx2 version 3. control plane lookup Merge 1 and 3 by refactoring pipapo_get as a common helper, then make nft_pipapo_lookup and nft_pipapo_get both call the common helper. Aside from the code savings this has the benefit that we no longer allocate temporary scratch maps for each control plane get and insertion operation. Signed-off-by: Florian Westphal <[email protected]> Reviewed-by: Stefano Brivio <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions