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 17BB5A0588; Thu, 16 Apr 2020 18:34:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 900631DD42; Thu, 16 Apr 2020 18:34:22 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id B4C171DD3B for ; Thu, 16 Apr 2020 18:34:21 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 64E335C02BA; Thu, 16 Apr 2020 12:34:21 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 16 Apr 2020 12:34:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=OwS3WMR/0PS2iJJxtscpZNtjWRylN7+PE2EMd2fFIDM=; b=Tciijnv7gYhw cbwQ3o+/bXZO9B+QsamaPPjie3UY4UymhD7CRec6kDSUKTWk9PVQ8gcQmBNn4xyp CAKvavKXgp/oCktoGv1x5QlcbkVorPWE0ngAtyv8I880J+DIMfnFHcl2iknM9uSm jU3s1xdzkj2xpCI0cHJiZLp5HJ+pQhs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=OwS3WMR/0PS2iJJxtscpZNtjWRylN7+PE2EMd2fFI DM=; b=llEaW5Ttxu9ycfvQcr8tKm0kPTaDeMKM/cCkfuEexV140aXoMtde3M8SX 8mMyx3NxrmOP9LN3f/F8Dss/9w11sGdT0OtnSDvyyPCM6rL8IPFbyLb7v34PWHfn QFGnDcKmcIZn+ARnU2+OE+avuqB4RvZivth2jvZVOYLhMFPIQ84wMKMT4dO0Wn2+ DeoULLEkcxO64q0OfZZ/k6oetd+ojLzICvnxeFfLr3aKNYWlaoiFsBnxNCbqCTaO oxrg7pUUlye0UwTyRximevwv8aOVr9AwpXEdRIGRNdjOLXjIGKuGjIK7+RtZCkTC yLH6Y8nLZ4HCzX4Gs3swUeNVewWgg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrfeehgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkjghfggfgtgesthfure dttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes mhhonhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtdefrddukeegnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghs sehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id D0505306005F for ; Thu, 16 Apr 2020 12:34:20 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Date: Thu, 16 Apr 2020 18:34:19 +0200 Message-ID: <3819412.otXNkdZ6W1@thomas> In-Reply-To: <20200210162032.1177478-1-thomas@monjalon.net> References: <20200210162032.1177478-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 20.05 00/15] clean-up use of __attribute__ 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" 10/02/2020 17:20, Thomas Monjalon: > Almost all usages of __attribute__ keyword are replaced > by a macro (existing or new) with prefix __rte_. > It makes code more consistent and will help changing > compiler behaviour, or adapting to new compilers, > in a central place. > > Kernel and BPF files cannot use macros from rte_common.h. > Some rare attributes are also kept unchanged. > > > Thomas Monjalon (15): > app/bbdev: replace constructor syntax with common macro > net/mlx5: replace destructor syntax with common macro > net/memif: use common macros for cache line marker > common/mlx5: replace alignas keyword > replace alignment attributes > replace packed attributes > replace always-inline attributes > replace no-inline attributes > replace unused attributes > replace used attributes > replace hot attributes > replace cold attributes > replace no-return attributes > replace printf format attributes > devtools: check use of compiler attributes Rebased and applied. Some commits are dropped because already fixed by others in the meantime: app/bbdev: replace constructor syntax with common macro replace printf format attributes