Re: [dpdk-dev] [PATCH v3] eal: fix crash when the random init

2020-04-21 Thread David Marchand
On Fri, Apr 17, 2020 at 1:37 PM wrote: > > From: Tonghao Zhang > > When rte_rand_init is invoked, and the kernel running dpdk does't > support *getentropy, at the same time, the cpu does't support rdseed, > then rte_rand_init invoked rte_get_timer_cycles. > > If HPET was enabled in the DPDK build

[dpdk-dev] [PATCH v3] eal: fix crash when the random init

2020-04-17 Thread xiangxia . m . yue
From: Tonghao Zhang When rte_rand_init is invoked, and the kernel running dpdk does't support *getentropy, at the same time, the cpu does't support rdseed, then rte_rand_init invoked rte_get_timer_cycles. If HPET was enabled in the DPDK build (CONFIG_RTE_LIBEAL_USE_HPET=y). rte_get_timer_cycles