Re: [dpdk-dev] [PATCH] eal: choose initial PRNG seed source at runtime

2020-04-16 Thread Jerin Jacob
On Thu, Apr 16, 2020 at 5:30 PM Mattias Rönnblom wrote: > > On 2020-04-16 13:48, Jerin Jacob wrote: > > On Thu, Apr 16, 2020 at 5:06 PM Mattias Rönnblom > > wrote: > >> On 2020-04-16 08:07, Jerin Jacob wrote: > >>> On Thu, Apr 16, 2020 at 4:42 AM Dan Gora wrote: > Instead of choosing to use

Re: [dpdk-dev] [PATCH] eal: choose initial PRNG seed source at runtime

2020-04-16 Thread Mattias Rönnblom
On 2020-04-16 13:48, Jerin Jacob wrote: > On Thu, Apr 16, 2020 at 5:06 PM Mattias Rönnblom > wrote: >> On 2020-04-16 08:07, Jerin Jacob wrote: >>> On Thu, Apr 16, 2020 at 4:42 AM Dan Gora wrote: Instead of choosing to use getentropy() or the rdseed instruction for the random number gene

Re: [dpdk-dev] [PATCH] eal: choose initial PRNG seed source at runtime

2020-04-16 Thread Jerin Jacob
On Thu, Apr 16, 2020 at 5:06 PM Mattias Rönnblom wrote: > > On 2020-04-16 08:07, Jerin Jacob wrote: > > On Thu, Apr 16, 2020 at 4:42 AM Dan Gora wrote: > >> Instead of choosing to use getentropy() or the rdseed instruction for > >> the random number generator entropy source using compilation flag

Re: [dpdk-dev] [PATCH] eal: choose initial PRNG seed source at runtime

2020-04-16 Thread Mattias Rönnblom
On 2020-04-16 08:07, Jerin Jacob wrote: > On Thu, Apr 16, 2020 at 4:42 AM Dan Gora wrote: >> Instead of choosing to use getentropy() or the rdseed instruction for >> the random number generator entropy source using compilation flags, >> determine the best source at run time. >> >> This is accompli

Re: [dpdk-dev] [PATCH] eal: choose initial PRNG seed source at runtime

2020-04-15 Thread Jerin Jacob
On Thu, Apr 16, 2020 at 4:42 AM Dan Gora wrote: > > Instead of choosing to use getentropy() or the rdseed instruction for > the random number generator entropy source using compilation flags, > determine the best source at run time. > > This is accomplished by defining a weak symbol for getentropy

[dpdk-dev] [PATCH] eal: choose initial PRNG seed source at runtime

2020-04-15 Thread Dan Gora
Instead of choosing to use getentropy() or the rdseed instruction for the random number generator entropy source using compilation flags, determine the best source at run time. This is accomplished by defining a weak symbol for getentropy(), checking that the compiler can generate the rdseed instr