-----Original Message----- > Date: Fri, 21 Sep 2018 12:17:38 +0000 > From: "Elo, Matias (Nokia - FI/Espoo)" <[email protected]> > To: Harry van Haaren <[email protected]> > CC: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> > 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 <[email protected]> > > 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 <[email protected]> > > Signed-off-by: Harry van Haaren <[email protected]> > > > > --- > > > > Cc: [email protected] > > > > @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: [email protected] Applied to dpdk-next-eventdev/master. Thanks. >

