From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C819B58CE; Wed, 14 Jun 2017 01:06:56 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2017 16:06:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,339,1493708400"; d="scan'208";a="980477430" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 13 Jun 2017 16:06:55 -0700 Received: from fmsmsx108.amr.corp.intel.com ([169.254.9.133]) by FMSMSX103.amr.corp.intel.com ([169.254.2.83]) with mapi id 14.03.0319.002; Tue, 13 Jun 2017 16:06:55 -0700 From: "Eads, Gage" To: Jerin Jacob , "dev@dpdk.org" CC: "hemant.agrawal@nxp.com" , "Van Haaren, Harry" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] event/octeontx: fix missing enqueue smp barrier Thread-Index: AQHS4SKmMStVL/evyUetHQdvSfmkFaIjcSPw Date: Tue, 13 Jun 2017 23:06:54 +0000 Message-ID: <9184057F7FC11744A2107296B6B8EB1E01ED30AA@FMSMSX108.amr.corp.intel.com> References: <20170609131603.13483-1-jerin.jacob@caviumnetworks.com> In-Reply-To: <20170609131603.13483-1-jerin.jacob@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.200.108] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] event/octeontx: fix missing enqueue smp barrier 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: Tue, 13 Jun 2017 23:06:57 -0000 > -----Original Message----- > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: Friday, June 9, 2017 8:16 AM > To: dev@dpdk.org > Cc: hemant.agrawal@nxp.com; Eads, Gage ; Van > Haaren, Harry ; Jerin Jacob > ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH] event/octeontx: fix missing enqueue smp barr= ier > =20 > Typically RTE_EVENT_OP_NEW issued by the producer lcore. To reflect the > write changes issued by the producer lcore on worker lcore, an SMP write > barrier is required on producer enqueue. Fixing the missing > rte_smp_wmb() on enqueue with RTE_EVENT_OP_NEW. > =20 > CC: stable@dpdk.org > Fixes: f10d322eff76 ("event/octeontx: support worker enqueue") > =20 > Signed-off-by: Jerin Jacob Acked-by: Gage Eads