[dpdk-dev] [PATCH 2/2] build: add rdrand and rdseed checks to build

Mattias Rönnblom mattias.ronnblom at ericsson.com
Wed May 15 18:53:24 CEST 2019


On 2019-05-14 15:37, Bruce Richardson wrote:
> The meson build never checked for the presence of rdrand and rdseed
> instructions, while make build never checked for rdseed. Ensure builds
> always have the appropriate checks - and therefore defines - for these
> instructions. For runtime, we also add in rdseed to the list of known
> bits returned from cpuid() instruction, so we can confirm its presence at
> application init time.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---

Tested-by: Mattias Rönnblom <mattias.ronnblom at ericsson.com>



More information about the dev mailing list