17400b063SStefano Brivio /* SPDX-License-Identifier: GPL-2.0-only */
27400b063SStefano Brivio #ifndef _NFT_SET_PIPAPO_AVX2_H
37400b063SStefano Brivio 
4e6abef61SJason A. Donenfeld #if defined(CONFIG_X86_64) && !defined(CONFIG_UML)
57400b063SStefano Brivio #include <asm/fpu/xstate.h>
67400b063SStefano Brivio #define NFT_PIPAPO_ALIGN	(XSAVE_YMM_SIZE / BITS_PER_BYTE)
77400b063SStefano Brivio 
87400b063SStefano Brivio bool nft_pipapo_avx2_estimate(const struct nft_set_desc *desc, u32 features,
97400b063SStefano Brivio 			      struct nft_set_estimate *est);
10e6abef61SJason A. Donenfeld #endif /* defined(CONFIG_X86_64) && !defined(CONFIG_UML) */
117400b063SStefano Brivio 
127400b063SStefano Brivio #endif /* _NFT_SET_PIPAPO_AVX2_H */
13