> -----Original Message----- > From: Mattias Rönnblom <mattias.ronnb...@ericsson.com> > Sent: Monday, September 16, 2024 11:52 AM > To: dev@dpdk.org > Cc: hof...@lysator.liu.se; Morten Brørup <m...@smartsharesystems.com>; > Stephen Hemminger <step...@networkplumber.org>; > Konstantin Ananyev <konstantin.v.anan...@yandex.ru>; David Marchand > <david.march...@redhat.com>; Jerin Jacob > <jer...@marvell.com>; Mattias Rönnblom <mattias.ronnb...@ericsson.com> > Subject: [PATCH v4 4/7] random: keep PRNG state in lcore variable > > Replace keeping PRNG state in a RTE_MAX_LCORE-sized static array of > cache-aligned and RTE_CACHE_GUARDed struct instances with keeping the > same state in a more cache-friendly lcore variable. > > Signed-off-by: Mattias Rönnblom <mattias.ronnb...@ericsson.com> > Acked-by: Morten Brørup <m...@smartsharesystems.com> > > -- > > RFC v3: > * Remove cache alignment on unregistered threads' rte_rand_state. > (Morten Brørup) > ---
Acked-by: Konstantin Ananyev <konstantin.anan...@huawei.com> > 2.34.1