| b0986c39 | 27-Jul-2023 |
Bruce Richardson <bruce.richardson@intel.com> |
build: remove unnecessary AVX2 compiler flag
Since AVX2 is always available at build time, the CC_AVX2_SUPPORT cflag became equivalent to the RTE_ARCH_X86 one. Therefore, we can just remove all use
build: remove unnecessary AVX2 compiler flag
Since AVX2 is always available at build time, the CC_AVX2_SUPPORT cflag became equivalent to the RTE_ARCH_X86 one. Therefore, we can just remove all use of the flag, replacing it will the RTE_ARCH_X86 one, and also simplifying the code in a few places where we can merge with other X86/non-X86 blocks e.g. for providing SSE fallbacks.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
| 33d66940 | 02-Aug-2023 |
Bruce Richardson <bruce.richardson@intel.com> |
build: use C11 standard
As previously announced, DPDK 23.11 will require a C11 supporting compiler and will use the C11 standard in all builds.
Forcing use of the C standard, rather than the standa
build: use C11 standard
As previously announced, DPDK 23.11 will require a C11 supporting compiler and will use the C11 standard in all builds.
Forcing use of the C standard, rather than the standard with GNU extensions, means that some posix definitions which are not in the C standard are unavailable by default. We fix this by ensuring the correct defines or cflags are passed to the components that need them.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Tested-by: Ali Alnubani <alialnu@nvidia.com>
show more ...
|
| 16bd1c62 | 14-Jun-2023 |
Thomas Monjalon <thomas@monjalon.net> |
lib: restrict use of keyword extern
Variable declarations in header files are using extern, it is valid. But function declarations do not need the keyword extern.
Also, extern "C" should have a spa
lib: restrict use of keyword extern
Variable declarations in header files are using extern, it is valid. But function declarations do not need the keyword extern.
Also, extern "C" should have a space after the keyword extern.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
| 45109815 | 15-May-2022 |
Konstantin Ananyev <konstantin.v.ananyev@yandex.ru> |
acl: fix rules with 8-byte field size
In theory ACL library allows fields with 8B long. Though in practice they usually not used, not tested, and as was revealed by Ido, this functionality is not wo
acl: fix rules with 8-byte field size
In theory ACL library allows fields with 8B long. Though in practice they usually not used, not tested, and as was revealed by Ido, this functionality is not working properly. There are few places inside ACL build code-path that need to be addressed.
Bugzilla ID: 673 Fixes: dc276b5780c2 ("acl: new library") Cc: stable@dpdk.org
Reported-by: Ido Goshen <ido@cgstowernetworks.com> Signed-off-by: Konstantin Ananyev <konstantin.v.ananyev@yandex.ru> Tested-by: Ido Goshen <ido@cgstowernetworks.com>
show more ...
|
| 04f9fac6 | 12-Nov-2021 |
Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> |
config/x86: skip GNU binutils bug check for LLVM
AVX512 was disabled when GNU binutils were missing or had a known bug, even if LLVM binutils were used for the build, because binutils-avx512-check.s
config/x86: skip GNU binutils bug check for LLVM
AVX512 was disabled when GNU binutils were missing or had a known bug, even if LLVM binutils were used for the build, because binutils-avx512-check.sh was invoked regardless and failed. In particular, this was the case for FreeBSD with clang (default). Run the check only when GNU binutils are used.
Fixes: 68b1f1cda5b4 ("build: check AVX512 rather than binutils version") Cc: stable@dpdk.org
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|