From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] event/sw: fix cq idx check for unlink usecases Date: Sun, 23 Sep 2018 16:57:28 +0530 Message-ID: <20180923112727.GE20954@jerin> References: <20180921102510.24179-1-harry.van.haaren@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Harry van Haaren , "dev@dpdk.org" , "stable@dpdk.org" To: "Elo, Matias (Nokia - FI/Espoo)" Return-path: 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" -----Original Message----- > Date: Fri, 21 Sep 2018 12:17:38 +0000 > From: "Elo, Matias (Nokia - FI/Espoo)" > To: Harry van Haaren > CC: "dev@dpdk.org" , "stable@dpdk.org" > Subject: Re: [dpdk-dev] [PATCH] event/sw: fix cq idx check for unlink > usecases > x-mailer: Apple Mail (2.3445.9.1) > > > > On 21 Sep 2018, at 13:25, Harry van Haaren wrote: > > > > This commit fixes the cq index checks when unlinking > > ports/queues while the scheduler core is running. > > Previously, the == comparison could be "skipped" if > > in particular corner cases. With the check being changed > > to >= this is resolved as the cq idx gets reset to zero. > > > > Bugzilla ID: 60 > > Fixes: 617995dfc5b2 ("event/sw: add scheduling logic") > > > > Suggested-by: Matias Elo > > Signed-off-by: Harry van Haaren > > > > --- > > > > Cc: stable@dpdk.org > > > > @Matias, > > > > When testing this patch with your provided test case as per attachment > > to bug #60 in Bugzilla, I don't see any events arriving to port 0. > > Hence, I believe this to be the correct behaviour, if you can confirm > > that'd be awesome! > > > > I can confirm that this patch fixes the problem also on my system. Thanks! > > I can’t remember if I ever saw this problem with ordered queues. At least now they seem to be also working correctly. > > Regards, > Matias Cc: stable@dpdk.org Applied to dpdk-next-eventdev/master. Thanks. >