From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C70E52BB1 for ; Thu, 29 Mar 2018 16:48:30 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Mar 2018 07:48:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,376,1517904000"; d="scan'208";a="42353442" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga001.fm.intel.com with ESMTP; 29 Mar 2018 07:48:28 -0700 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 29 Mar 2018 15:48:27 +0100 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.176]) by IRSMSX156.ger.corp.intel.com ([169.254.3.229]) with mapi id 14.03.0319.002; Thu, 29 Mar 2018 15:48:27 +0100 From: "Van Haaren, Harry" To: "Ma, Liang J" , "jerin.jacob@caviumnetworks.com" CC: "dev@dpdk.org" , "Jain, Deepak K" , "Geary, John" , "Mccarthy, Peter" Thread-Topic: [PATCH v2] event/opdl: fix atomic queue race condition issue Thread-Index: AQHTxdZt6ttDFpEqk06rxjCfDrWzS6PnTLPA Date: Thu, 29 Mar 2018 14:48:26 +0000 Message-ID: References: <1520940853-56748-1-git-send-email-liang.j.ma@intel.com> <1522160292-193409-1-git-send-email-liang.j.ma@intel.com> In-Reply-To: <1522160292-193409-1-git-send-email-liang.j.ma@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZGU2NTY4YzUtNjZjOC00ZGYzLTk2NzgtOWMwYjNiYzFiYmE2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJoeGVmRlpwZ1R5aXpWN0djXC9xS2JwbDE4M2l6V245T01CeHUxVXBwTHFwcWU1WjhYRzVGZTRcL2FNZ09aSlhaZ0QifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] event/opdl: fix atomic queue race condition issue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2018 14:48:31 -0000 > 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 >=20 > 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. >=20 > Fixes: 4236ce9bf5bf ("event/opdl: add OPDL ring infrastructure library") >=20 > Signed-off-by: Liang Ma > Signed-off-by: Peter Mccarthy Note; compilation flagged as failing on patchwork, but its due to master bu= ild broken not this patch. Acked-by: Harry van Haaren