Re: [dpdk-dev] [PATCH v4 3/9] eal: introduce thread init helper

2020-06-30 Thread David Marchand
On Tue, Jun 30, 2020 at 11:37 AM Olivier Matz wrote: > > > > +void > > +rte_thread_init(unsigned int lcore_id, rte_cpuset_t *cpuset) > > +{ > > + /* set the lcore ID in per-lcore memory area */ > > + RTE_PER_LCORE(_lcore_id) = lcore_id; > > + > > + /* acquire system unique id */ > > +

Re: [dpdk-dev] [PATCH v4 3/9] eal: introduce thread init helper

2020-06-30 Thread Olivier Matz
Hi David, one minor comment below On Fri, Jun 26, 2020 at 04:47:30PM +0200, David Marchand wrote: > Introduce a helper responsible for initialising the per thread context. > We can then have a unified context for EAL and non-EAL threads and > remove copy/paste'd OS-specific helpers. > > Per EAL