From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] service: fix service lcore stop function Date: Fri, 15 Sep 2017 15:34:30 +0200 Message-ID: <48564633.AYoj5gbtiS@xps> References: <20170906071541.1922-1-gprathyusha@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Van Haaren, Harry" To: Guduri Prathyusha Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 2DAC91396 for ; Fri, 15 Sep 2017 15:34:32 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > lcore_states store the state of the lcore. Fixing the invalid > > dereference of lcore_states with service number > > > > Unit test case service_lcore_start_stop fails with the above fix. > > Service core was stopped without stopping the service. > > > > This commit fixes the test by adding negative and positive cases of > > stopping the service lcore before and after stopping the service > > respectively > > > > Fixes: 21698354c832 ("service: introduce service cores concept") > > Fixes: f038a81e1c56 ("service: add unit tests") > > > > Signed-off-by: Guduri Prathyusha > > Thanks for fixing and rebase / update to v2. Please mark the v1 of this patchset as "Superseded" in patchwork. > > Reviewed-by: Harry van Haaren Applied, thanks