numam-dpdk/mk/machine
Yongseok Koh e404de1305 config: disable armv8 crypto extension
Per armv8 crypto extension support, make build always enable it by default
as long as compiler supports the feature while meson build only enables it
for 'default' machine of generic armv8 architecture.

It is known that not all the armv8 platforms have the crypto extension. For
example, Mellanox BlueField has a variant which doesn't have it. If crypto
enabled binary runs on such a platform, rte_eal_init() fails.

'+crypto' flag currently implies only '+aes' and '+sha2' and enabling it
will generate the crypto instructions only when crypto intrinsics are used.
For the devices supporting 8.2 crypto or newer, compiler could generate
such instructions beyond intrinsics or asm code. For example, compiler can
generate 3-way exclusive OR instructions if sha3 is supported. However, it
has to be enabled by adding '+sha3' as of today.

In DPDK, armv8 cryptodev is the only one which requires the crypto support.
As it even uses external library of Marvell which is compiled out of DPDK
with crypto support and there's run-time check for required cpuflags,
crypto support can be disabled in DPDK.

Cc: stable@dpdk.org

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Tested-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
2019-06-04 01:24:25 +02:00
..
armv7a use SPDX tag for RehiveTech copyright files 2018-04-11 01:47:43 +02:00
armv8a config: disable armv8 crypto extension 2019-06-04 01:24:25 +02:00
default mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
dpaa mk: change TLS model for DPAA machine 2018-07-12 12:45:15 +02:00
dpaa2 mk: change TLS model for DPAA machine 2018-07-12 12:45:15 +02:00
hsw mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ivb mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
native mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
nhm mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
octeontx2 config: add octeontx2 machine 2019-04-15 22:58:20 +02:00
power8 mk: introduce IBM Power architecture 2014-11-26 21:50:09 +01:00
silvermont mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
snb mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
thunderx mk: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
thunderx2 config: add thunderx2 machine 2019-04-15 22:57:29 +02:00
wsm mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
xgene1 mk: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00