[dpdk-dev] [PATCH v2] event/opdl: fix atomic queue race condition issue

Jerin Jacob jerin.jacob at caviumnetworks.com
Mon Apr 2 06:09:31 CEST 2018


-----Original Message-----
> Date: Thu, 29 Mar 2018 14:48:26 +0000
> From: "Van Haaren, Harry" <harry.van.haaren at intel.com>
> To: "Ma, Liang J" <liang.j.ma at intel.com>, "jerin.jacob at caviumnetworks.com"
>  <jerin.jacob at caviumnetworks.com>
> CC: "dev at dpdk.org" <dev at dpdk.org>, "Jain, Deepak K"
>  <deepak.k.jain at intel.com>, "Geary, John" <john.geary at intel.com>,
>  "Mccarthy, Peter" <peter.mccarthy at intel.com>
> Subject: RE: [PATCH v2] event/opdl: fix atomic queue race condition issue
> 
> > From: Ma, Liang J
> > Sent: Tuesday, March 27, 2018 3:18 PM
> > To: jerin.jacob at caviumnetworks.com
> > Cc: dev at dpdk.org; Van Haaren, Harry <harry.van.haaren at intel.com>; Jain,
> > Deepak K <deepak.k.jain at intel.com>; Geary, John <john.geary at intel.com>;
> > Mccarthy, Peter <peter.mccarthy at intel.com>
> > Subject: [PATCH v2] event/opdl: fix atomic queue race condition issue
> > 
> > If application link one atomic queue to multiple ports,
> > and each worker core update flow_id, there will have a
> > chance to hit race condition issue and lead to double processing
> > same event. This fix solve the problem and eliminate
> > the race condition issue.
> > 
> > Fixes: 4236ce9bf5bf ("event/opdl: add OPDL ring infrastructure library")
> > 
> > Signed-off-by: Liang Ma <liang.j.ma at intel.com>
> > Signed-off-by: Peter Mccarthy <peter.mccarthy at intel.com>
> 
> Note; compilation flagged as failing on patchwork, but its due to master build broken not this patch.
> 
> Acked-by: Harry van Haaren <harry.van.haaren at intel.com>

Cc: stable at dpdk.org

Applied to dpdk-next-eventdev/master. Thanks.

> 


More information about the dev mailing list