Re: [dpdk-dev] [PATCH v2] eal: fix lcore state bug

2020-07-08 Thread Lukasz Wojciechowski
W dniu 08.07.2020 o 19:10, David Marchand pisze: > On Wed, Jul 8, 2020 at 4:52 PM Van Haaren, Harry > wrote: >>> The rte_service_lcore_reset_all function stops execution of services >>> on all lcores and switches them back from ROLE_SERVICE to ROLE_RTE. >>> However the thread loop for slave lcor

Re: [dpdk-dev] [PATCH v2] eal: fix lcore state bug

2020-07-08 Thread David Marchand
On Wed, Jul 8, 2020 at 4:52 PM Van Haaren, Harry wrote: > > The rte_service_lcore_reset_all function stops execution of services > > on all lcores and switches them back from ROLE_SERVICE to ROLE_RTE. > > However the thread loop for slave lcores (eal_thread_loop) distincts these > > roles to set l

Re: [dpdk-dev] [PATCH v2] eal: fix lcore state bug

2020-07-08 Thread Van Haaren, Harry
> -Original Message- > From: Lukasz Wojciechowski > Sent: Wednesday, July 8, 2020 2:38 PM > To: Van Haaren, Harry ; Jerin Jacob > > Cc: dev@dpdk.org; l.wojciec...@partner.samsung.com; sta...@dpdk.org > Subject: [PATCH v2] eal: fix lcore state bug > > The rte_service_lcore_reset_all funct

[dpdk-dev] [PATCH v2] eal: fix lcore state bug

2020-07-08 Thread Lukasz Wojciechowski
The rte_service_lcore_reset_all function stops execution of services on all lcores and switches them back from ROLE_SERVICE to ROLE_RTE. However the thread loop for slave lcores (eal_thread_loop) distincts these roles to set lcore state after processing delegated function. It sets WAIT state for RO