Re: [PATCH v2 4/4] drivers/net: remove AVX2 build-time define

2025-03-17 Thread David Marchand
On Fri, Mar 14, 2025 at 6:44 PM Bruce Richardson wrote: > > Since all supported compilers can generate AVX2 code, we will always > enable the build of the AVX2 files on x86. This means that > CC_AVX2_SUPPORT is always true on x86, so it can be removed and a > regular "#ifdef RTE_ARCH_x86" used in

[PATCH v2 4/4] drivers/net: remove AVX2 build-time define

2025-03-14 Thread Bruce Richardson
Since all supported compilers can generate AVX2 code, we will always enable the build of the AVX2 files on x86. This means that CC_AVX2_SUPPORT is always true on x86, so it can be removed and a regular "#ifdef RTE_ARCH_x86" used in its place. Signed-off-by: Bruce Richardson --- drivers/net/bnxt/