From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1C4F2A0524; Thu, 4 Feb 2021 13:34:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C5142405D1; Thu, 4 Feb 2021 13:34:20 +0100 (CET) Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) by mails.dpdk.org (Postfix) with ESMTP id 938842405CE for ; Thu, 4 Feb 2021 13:34:18 +0100 (CET) Received: by mail-il1-f170.google.com with SMTP id g7so2416434iln.2 for ; Thu, 04 Feb 2021 04:34:18 -0800 (PST) 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:content-transfer-encoding; bh=1eQk4rU+0/KrLxfrb0ZM+9EkCnDqBHc1yhj8LEyGEEE=; b=M2fzzzYMhy4Uerd3HLoaLAwe5whaAzRbUKg09pMJEVEG7Z/NSKV2EYza73R+5CP1y/ +BKD3aqtPLV7OEDiy9/BWterOthuU2Cj2TIw/s7/3NdV0J2fxoMpeI1UY9di0G6z9FTQ 21an7dIm+V/W2H95DZPlf/OE/eNX8uaX2kUGS0Es+l7mdwhMlzHWDmkOTmNZteG9X9ep 9gdqzl76pNAX14nNnwpc/k+FSCwSpa8kw+rQp8KLxPTjzMnSPhBD2E4AnlwZkRKkxrwe V5lSEU2ONw8HVZsonUXVb5oolAPOyiiohsfyQ7KqUAVlH/o6i8TbrmpvS3TJcySMgxdS zFKQ== 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:content-transfer-encoding; bh=1eQk4rU+0/KrLxfrb0ZM+9EkCnDqBHc1yhj8LEyGEEE=; b=eUrXA6Z/o0+K8JPl0tBsqn7zOq04i33bDh67dGk1u5DoggrD2be07V2BT01m+3oXvV itVPbcSi0I/IGH7HfNasuQsiTooXtEW68bbNpLz0MTFNuLI3LuVikp83x6Cgw8yxzypL YYMyJ6x49qpPrCSEBBB0QAt202OvkbRH+/CWAipYaLLRyHMzpQT0D9WAetSSosPqLZtu srMMfC+a5EtNgLgvwQvXqGgwsEJ/amLdPqgo0JdvMKD0ARHpr4WGUX+/7xz46wQwgRkJ uzV/DBw18UyMD41d4RW8plTp9Unm1LOzOEUKUrDhtO9cxoHo1wh0zTeO+ymBLI+Kdyh1 OAiQ== X-Gm-Message-State: AOAM531+MVJYGPryYW567jTtfN4tAxycksgP2V4RG1EkpnbXLXkUjyYY 1FTKgcge5e2mKlSLPHy5+zHuru4dfcaK88FIXuM= X-Google-Smtp-Source: ABdhPJywkHVgZjQ/9nZHJho5vO+Dheoql4QvOAUx+QV72G8P90eQM1mXmmKYp/jeBS2skrx5YLi7ix3r1k5ayiSo6zE= X-Received: by 2002:a05:6e02:13f0:: with SMTP id w16mr6860698ilj.130.1612442058071; Thu, 04 Feb 2021 04:34:18 -0800 (PST) MIME-Version: 1.0 References: <20210126163650.63528-1-mattias.ronnblom@ericsson.com> In-Reply-To: <20210126163650.63528-1-mattias.ronnblom@ericsson.com> From: Jerin Jacob Date: Thu, 4 Feb 2021 18:04:02 +0530 Message-ID: To: =?UTF-8?Q?Mattias_R=C3=B6nnblom?= Cc: Jerin Jacob , dpdk-dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH] event/dsw: use GCC built-ins for atomics X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 Tue, Jan 26, 2021 at 10:07 PM Mattias R=C3=B6nnblom wrote: > > Use C11-style GCC built-in functions for atomic operations. > > Signed-off-by: Mattias R=C3=B6nnblom > --- > drivers/event/dsw/dsw_evdev.c | 5 +---- > drivers/event/dsw/dsw_evdev.h | 6 +++--- > drivers/event/dsw/dsw_event.c | 37 ++++++++++++++++++++-------------- > drivers/event/dsw/dsw_xstats.c | 4 ++-- > 4 files changed, 28 insertions(+), 24 deletions(-) Since this is not a fix, I will move this patch to the next release.