Re: [dpdk-dev] [PATCH v3 2/6] service: identify service running on another core correctly

2020-05-05 Thread Van Haaren, Harry
> -Original Message- > From: Honnappa Nagarahalli > Sent: Saturday, May 2, 2020 1:03 AM > To: dev@dpdk.org; phil.y...@arm.com; Van Haaren, Harry > > Cc: tho...@monjalon.net; david.march...@redhat.com; Ananyev, Konstantin > ; jer...@marvell.com; > hemant.agra...@nxp.com; Eads, Gage ; Richa

[dpdk-dev] [PATCH v3 2/6] service: identify service running on another core correctly

2020-05-01 Thread Honnappa Nagarahalli
The logic to identify if the MT unsafe service is running on another core can return -EBUSY spuriously. In such cases, running the service becomes costlier than using atomic operations. Assume that the application passes the right parameters and reduces the number of instructions for all cases. Cc