Re: [dpdk-dev] [PATCH] examples/service_cores: fix lcore count check

2021-09-16 Thread Thomas Monjalon
31/08/2021 18:09, Van Haaren, Harry: > From: Ruifeng Wang > > Fixes: 7f6ee6aee717 ("examples/service_cores: check cores before run") > > Cc: sta...@dpdk.org > > Cc: vipin.vargh...@intel.com > > > > Signed-off-by: Ruifeng Wang > > Change makes sense to me, this was introduced in Oct 2020 > so a

Re: [dpdk-dev] [PATCH] examples/service_cores: fix lcore count check

2021-09-16 Thread David Marchand
On Tue, Aug 31, 2021 at 6:12 PM Van Haaren, Harry wrote: > > The example has various profiles to run services on specified > > number of lcores. Due to incorrect boundary condition, service > > can be dispatched to a core that does not exist. This puts main > > core into endless wait. > > > > Max

Re: [dpdk-dev] [PATCH] examples/service_cores: fix lcore count check

2021-08-31 Thread Van Haaren, Harry
> -Original Message- > From: Ruifeng Wang > Sent: Monday, August 30, 2021 9:04 AM > To: Van Haaren, Harry ; Varghese, Vipin > > Cc: dev@dpdk.org; tho...@monjalon.net; david.march...@redhat.com; > n...@arm.com; honnappa.nagaraha...@arm.com; Ruifeng Wang > ; sta...@dpdk.org > Subject: [PATC

[dpdk-dev] [PATCH] examples/service_cores: fix lcore count check

2021-08-30 Thread Ruifeng Wang
The example has various profiles to run services on specified number of lcores. Due to incorrect boundary condition, service can be dispatched to a core that does not exist. This puts main core into endless wait. Max available number of service cores is all detected lcores excluding main core. Fi