From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guduri Prathyusha Subject: Re: [PATCH v2] service: fix service lcore stop function Date: Wed, 6 Sep 2017 14:31:03 +0530 Message-ID: <20170906090101.GA15798@cavium.com> References: <20170906071541.1922-1-gprathyusha@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: "Van Haaren, Harry" Return-path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0051.outbound.protection.outlook.com [104.47.42.51]) by dpdk.org (Postfix) with ESMTP id 6BCC4101B for ; Wed, 6 Sep 2017 11:01:22 +0200 (CEST) Content-Disposition: inline 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" On Wed, Sep 06, 2017 at 08:53:30AM +0000, Van Haaren, Harry wrote: > > From: Guduri Prathyusha [mailto:gprathyusha@caviumnetworks.com] > > Sent: Wednesday, September 6, 2017 8:16 AM > > To: Van Haaren, Harry > > Cc: dev@dpdk.org; Guduri Prathyusha > > Subject: [dpdk-dev] [PATCH v2] service: fix service lcore stop function > > > > 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 > > > > This patch is based on [1] > > To be totally clear, this patch depends on the service cores (v2) patchset, > as linked at [1]. > > Thanks. Updated the patchwork status for v1 -Prathyusha > > v2 changes: > > - Combined Patch 1/2 and 2/2 of v1 > > - Rebased to the future service core patches [1] > > > > [1] http://dpdk.org/dev/patchwork/patch/27684/ >