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

Van Haaren, Harry harry.van.haaren at intel.com
Thu Mar 29 16:48:26 CEST 2018


> 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>



More information about the dev mailing list