Commit | Line | Data |
---|---|---|
7400b063 SB |
1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | #ifndef _NFT_SET_PIPAPO_AVX2_H | |
3 | ||
e6abef61 | 4 | #if defined(CONFIG_X86_64) && !defined(CONFIG_UML) |
7400b063 SB |
5 | #include <asm/fpu/xstate.h> |
6 | #define NFT_PIPAPO_ALIGN (XSAVE_YMM_SIZE / BITS_PER_BYTE) | |
7 | ||
7400b063 SB |
8 | bool nft_pipapo_avx2_estimate(const struct nft_set_desc *desc, u32 features, |
9 | struct nft_set_estimate *est); | |
e6abef61 | 10 | #endif /* defined(CONFIG_X86_64) && !defined(CONFIG_UML) */ |
7400b063 SB |
11 | |
12 | #endif /* _NFT_SET_PIPAPO_AVX2_H */ |