Message ID | 1709763287-10713-1-git-send-email-roretzla@linux.microsoft.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E62FB43C62; Wed, 6 Mar 2024 23:14:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 66AC142DBD; Wed, 6 Mar 2024 23:14:50 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 48547400EF for <dev@dpdk.org>; Wed, 6 Mar 2024 23:14:49 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 8FD7820B74C0; Wed, 6 Mar 2024 14:14:48 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 8FD7820B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1709763288; bh=HbRrvVhmCZ3UePCcpQaqIpxIHZ66ha6Q1Y95Z6ZbKSE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qvPcpvZww0X7v3MVgctf8Orp20JmUBFzZsvrOH7zIuhJS0dW9Po0/uNbY706oIifF DqtafA9jnL7KeB6sSoG2PByqa2krL/RsngSnDkJbVCc5soduOyER7TvMZJoCZZNglx AH6iePtbXlFVJSACOCVciWuALrX23kCp+gjnS1Xk= From: Tyler Retzlaff <roretzla@linux.microsoft.com> To: dev@dpdk.org Cc: Bruce Richardson <bruce.richardson@intel.com>, Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>, Vladimir Medvedkin <vladimir.medvedkin@intel.com>, mb@smartsharesystems.com, david.marchand@redhat.com, Tyler Retzlaff <roretzla@linux.microsoft.com> Subject: [PATCH v3 0/5] use rte macros instead of GCC __attribute Date: Wed, 6 Mar 2024 14:14:42 -0800 Message-Id: <1709763287-10713-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1709075273-6885-1-git-send-email-roretzla@linux.microsoft.com> References: <1709075273-6885-1-git-send-email-roretzla@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
use rte macros instead of GCC __attribute
|
|
Message
Tyler Retzlaff
March 6, 2024, 10:14 p.m. UTC
Clean up direct uses of GCC __attribute__((__pure__)) and __attribute__((__may_alias__)). A checkpatch check already warns for new additions. v3: * update series to clean app/drivers/lib v2: * fix typo __rte_pure -> __rte_may_alias in rcu commit message Tyler Retzlaff (5): eal: add rte pure attribute macro lpm: use rte macro instead of GCC attribute rcu: use rte macro instead of GCC attribute app/test: use rte macro instead of GCC attribute net/cxgbe: use rte macro instead of GCC attribute app/test-fib/main.c | 4 ++-- drivers/net/cxgbe/base/common.h | 2 +- drivers/net/cxgbe/base/t4_hw.c | 2 +- drivers/net/cxgbe/base/t4vf_hw.c | 2 +- lib/eal/include/rte_common.h | 9 +++++++++ lib/lpm/rte_lpm.c | 4 ++-- lib/lpm/rte_lpm6.c | 2 +- lib/rcu/rcu_qsbr_pvt.h | 2 +- 8 files changed, 18 insertions(+), 9 deletions(-)
Comments
On Wed, Mar 6, 2024 at 11:14 PM Tyler Retzlaff <roretzla@linux.microsoft.com> wrote: > > Clean up direct uses of GCC __attribute__((__pure__)) and > __attribute__((__may_alias__)). A checkpatch check already warns for > new additions. > > Tyler Retzlaff (5): > eal: add rte pure attribute macro > lpm: use rte macro instead of GCC attribute > rcu: use rte macro instead of GCC attribute > app/test: use rte macro instead of GCC attribute > net/cxgbe: use rte macro instead of GCC attribute > As explained in response to patch 5, I did not apply the last patch for now. Patch 1-4 applied, thanks for the cleanup Tyler.