[PATCH v3 1/2] efd: fix AVX2 support

Bruce Richardson bruce.richardson at intel.com
Wed Sep 24 17:49:39 CEST 2025


On Wed, Sep 24, 2025 at 05:43:17PM +0200, Thomas Monjalon wrote:
> When switching to Meson build, the compilation check on CC_SUPPORT_AVX2
> became obsolete, thus the case EFD_LOOKUP_AVX2 became dead.
> The function efd_lookup_internal_avx2() was never called,
> and its header include rte_efd_x86.h has been removed later.
> 
> EFD_LOOKUP_AVX2 is chosen at runtime after checking AVX2 availability,
> so the obsolete build-time check for AVX2 can be simply removed,
> and the missing include added back.
> 
> Fixes: 5b9656b157d3 ("lib: build with meson")
> Fixes: 30a1de105a5f ("lib: remove unneeded header includes")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list