From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 553E8A0519; Fri, 3 Jul 2020 12:51:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9C41E1DB69; Fri, 3 Jul 2020 12:51:16 +0200 (CEST) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by dpdk.org (Postfix) with ESMTP id 1AADD1DB10 for ; Fri, 3 Jul 2020 12:51:15 +0200 (CEST) Received: by mail-io1-f67.google.com with SMTP id i4so31986759iov.11 for ; Fri, 03 Jul 2020 03:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dY2/oZxoZD8ofFuoWjHfoXhEHLEx+91jdoZZ/OtFczI=; b=PYXtirAOrrmU1baK78odR3y2VMdmtvrJVuh1+IRmFCqq6uPKVU20J2Dl/TAKJJi3iD nGG18eCGdlWuXmX2tgqivS/szxap2x+/VB+4GvLw5I50gQDneEscOs/Cl/ua5VMZm2/F PokhmMi9wb1NXARym0NK4DtxnxOcfMXqYt7t7C9+faR8PIVs6nEIEvMLyylVpDfIr1XS SNhdHYSiZo033y6zG9TcbBwk7VHok04/gOgPglyKxsPijv+vur6bIz0IRQkCB60tH3xX mU1ylt81vBXiMhy9teoAtocFt2a2mBsyQ1luDuG576pXKLfHgGDn5PFjKV/SIcDduiW/ xg9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dY2/oZxoZD8ofFuoWjHfoXhEHLEx+91jdoZZ/OtFczI=; b=Dq5egPruX1BhG0WutlYbaLgTWSs21eUYoRuA5no2ADsIGmXU09UbMt8GENb/y9jnEA W/SY8Htq4z5d6eG6rIm2GncOKw1169TD/zl5KBfVYo0zjTv5kCxFc+onnKz+yIWmPck5 yCtDVC1l6wOsrdrtveqlMJifMcqjDJCk8CoVQsF3QcQGhh2q/LiTpDeCYPc7BcQDuQFg LzY+AS3oG9MerNW5p6TeNlY5vv+T/pL1Puh2M350YkCI+OK2sAOOb5voX6S1/6+0FD8d +3339L25tyPaFw8vM7yELWNPMvRYJNFxpwAW6PlaWL8Sh6ZVg0zwMrsr2iWLnY+gWo1J vQ1A== X-Gm-Message-State: AOAM530uF/ztXdsMPhql2u+nQEPPEcxhJReUmhhJTVNDFnMhDoAJoaJy BrIW3Uv2OWSj26X3XrFyqOH4WzaMKtDkqDBR64Q= X-Google-Smtp-Source: ABdhPJxQzYf2D0EUCtuSDI2nHemnwHnhJ3G6JKGFf7XGHMOmyeJHlw5eLpa2XA5SGwUhA7hDNMA58KRRW6L0IFZSAS8= X-Received: by 2002:a02:cb59:: with SMTP id k25mr38705899jap.112.1593773474292; Fri, 03 Jul 2020 03:51:14 -0700 (PDT) MIME-Version: 1.0 References: <1591960798-24024-1-git-send-email-phil.yang@arm.com> <1593667604-12029-1-git-send-email-phil.yang@arm.com> <1593667604-12029-4-git-send-email-phil.yang@arm.com> In-Reply-To: From: Jerin Jacob Date: Fri, 3 Jul 2020 16:20:58 +0530 Message-ID: To: "Carrillo, Erik G" Cc: Phil Yang , "dev@dpdk.org" , "jerinj@marvell.com" , "Honnappa.Nagarahalli@arm.com" , "drc@linux.vnet.ibm.com" , "Ruifeng.Wang@arm.com" , "Dharmik.Thakkar@arm.com" , "nd@arm.com" Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 4/4] eventdev: relax smp barriers with c11 atomics 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jul 3, 2020 at 2:00 AM Carrillo, Erik G wrote: > > > -----Original Message----- > > From: Phil Yang > > Sent: Thursday, July 2, 2020 12:27 AM > > To: Carrillo, Erik G ; dev@dpdk.org > > Cc: jerinj@marvell.com; Honnappa.Nagarahalli@arm.com; > > drc@linux.vnet.ibm.com; Ruifeng.Wang@arm.com; > > Dharmik.Thakkar@arm.com; nd@arm.com > > Subject: [PATCH v2 4/4] eventdev: relax smp barriers with c11 atomics > > > > The implementation-specific opaque data is shared between arm and cancel > > operations. The state flag acts as a guard variable to make sure the update of > > opaque data is synchronized. This patch uses c11 atomics with explicit one > > way memory barrier instead of full barriers rte_smp_w/rmb() to synchronize > > the opaque data between timer arm and cancel threads. > > > > Signed-off-by: Phil Yang > > Reviewed-by: Dharmik Thakkar > > Reviewed-by: Ruifeng Wang > Acked-by: Erik Gabriel Carrillo Series applied to dpdk-next-eventdev/master. Thanks.