From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH v2] event/opdl: fix atomic queue race condition issue Date: Mon, 2 Apr 2018 09:39:31 +0530 Message-ID: <20180402040930.GA21996@jerin> References: <1520940853-56748-1-git-send-email-liang.j.ma@intel.com> <1522160292-193409-1-git-send-email-liang.j.ma@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Ma, Liang J" , "dev@dpdk.org" , "Jain, Deepak K" , "Geary, John" , "Mccarthy, Peter" To: "Van Haaren, Harry" Return-path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0072.outbound.protection.outlook.com [104.47.34.72]) by dpdk.org (Postfix) with ESMTP id 5FFD72BE5 for ; Mon, 2 Apr 2018 06:09:54 +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" -----Original Message----- > Date: Thu, 29 Mar 2018 14:48:26 +0000 > From: "Van Haaren, Harry" > To: "Ma, Liang J" , "jerin.jacob@caviumnetworks.com" > > CC: "dev@dpdk.org" , "Jain, Deepak K" > , "Geary, John" , > "Mccarthy, Peter" > 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@caviumnetworks.com > > Cc: dev@dpdk.org; Van Haaren, Harry ; Jain, > > Deepak K ; Geary, John ; > > Mccarthy, Peter > > 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 > > Signed-off-by: Peter Mccarthy > > Note; compilation flagged as failing on patchwork, but its due to master build broken not this patch. > > Acked-by: Harry van Haaren Cc: stable@dpdk.org Applied to dpdk-next-eventdev/master. Thanks. >