From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0072.outbound.protection.outlook.com [104.47.1.72]) by dpdk.org (Postfix) with ESMTP id 097BC199B0 for ; Thu, 25 Jan 2018 22:03:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=c3B7bYtZqtLP3A9NWriPJHddYfHogjnAubuylIqn/kc=; b=S77GkT7x/sPhIEN8RzWS+DcEqhXyXWl7UHh+wx0MNLUbIJn4a326NRM0Pw58N49DB1TSQBdsoewzNIQT0Zr06Qqy1qgfvxcuYpEHx1F9z/glbWsUlRt3BUdCL8YrpkP0K8Ltrbm6fCN01VbN13uQidZ1+NCadA/aoUXL8RvRQaM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; Received: from mellanox.com (209.116.155.178) by DB6PR0501MB2037.eurprd05.prod.outlook.com (2603:10a6:4:6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Thu, 25 Jan 2018 21:03:08 +0000 From: Yongseok Koh To: adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, chaozhu@linux.vnet.ibm.com, jerin.jacob@caviumnetworks.com, jianbo.liu@arm.com Cc: arybchenko@solarflare.com, dev@dpdk.org, Yongseok Koh Date: Thu, 25 Jan 2018 13:02:42 -0800 Message-Id: <20180125210250.38233-2-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180125210250.38233-1-yskoh@mellanox.com> References: <20180119004430.15305-1-yskoh@mellanox.com> <20180125210250.38233-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: CY4PR15CA0014.namprd15.prod.outlook.com (2603:10b6:910:14::24) To DB6PR0501MB2037.eurprd05.prod.outlook.com (2603:10a6:4:6::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a606f88a-f066-4471-5365-08d564370a1b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DB6PR0501MB2037; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2037; 3:TjJ0rih4K8J+qP2016NoYDVlme5fGcMje4ys18Bs9W3mZnFQCX0UOXiLhpDTYijViTujEfgMkUL6dckUMS4WkYHgIuPNvCaJ8IwbVMFGOxzmTxxejYI7wXvYLYB/Yy+5Or5EJ4uplLxvx9sXbagnsaPjGND8nurGOzpG9xnQ+AX8lT3Vz3vjykmrNPp+QxSt74zsjKJk9uw8Sx2abCuJRAXzdLdFuVtBdlNd5fVMGEP1ByTjZL1ZB66DU56VEjC8; 25:bjyahrnp5EIDM6+vZj7JMRoPw8Q/FHiDPAEEbeCQQ0sW7Q8vQL4cUo/mBZzhE5xuDFbynsFWklcDgeWzB3dA0w2YbMDQ3MbQW7S/gqdyPMYXAnJFdDyUn1Zx2WZrn4rBK9oWK0icH8e/Ea4Y7/DiGv5VPNtluVdcaJp69PV3mTN3oE+3c+wq2rUF6hM3A8i/6OegA+k7b70CTqsD8XicoxVMY2hM9jLYbL2Vz1chHArMiOfs7Wxi+Hssd2GLTsMi6mDdhrCYlbLuwgynUul98chzJaSg3AREO/YPwF8o876q1AVuH7Cj10bWhG/KDyCfwKoSXWqFdl+P2+8betVePA==; 31:ztFbHQpV6t6DfMeiv9U79nc6yV7WyIIoQ5NUswEvUUa5P+hETuZfT/xK6uy4GIbT5ELoF9PanvOl6w6SoW1Wp1IP62B1gIgwMEuRFgMHNvMQygDroJ3a4pqY+tDdaojoPsoF8ei5Ant5KB6fLtXtGZputHSFMsrfSvsdRIAapt8+IaUVee6OEiredbLKQY6eT5rRrhfCXISrxqyBGOKvlOzcqJFCe3yJLKW5WkfyNOE= X-MS-TrafficTypeDiagnostic: DB6PR0501MB2037: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2037; 20:tgLkXFfhv/2FBbHL2CdNldug+AEB62Z/l5dku+39gPgbVPpiYli0SgGvqchrdwKxpUP1kDXHqlvBVXJ+TlAd706E5FmV72x3ZHf2B7L6d2WXKXp2zbicBpm0kRY+Ri8RGHHyrMYCi14/Ip023Q1IxhU9XNY/9h6IfIPdYcJvxqko0PSR5sdT9QS9gM8AZz168HO62twmjIvnIu6lmHVycy19Q8vNZTdqW+HVpEI5xDOPLSLsJoXj2FX7keR7K4BMMmUtoN9/l/zKj5vAPF3bAGS/4fO1E74n31ejl0QQqkEL0lZV35sV4It4f4mrq1fWXZUKrkKXgy4UVZev64Mi2bVhfaNFFJxRputha52qkGr9oKYr9zqog1qQgdyx0o90WwkYPoTqV5qFrYjR0obZ385PxA+VH5KAE2yR8OxRE6hjsPHAa/wNag1egemqeMEV9hwwx5bI4KAY1Dp6lksF3nOYH/QHZ4dAMBGbzraf5EpSUVaDdXhwtG/Sg0POQ3Vq; 4:/mMkKh6VruC0YkZcz8ukKUH+n91lyvCYnht7Ci75guKMVbU0i4/1MRerVDozm4dCYfjA9rmVpU4cnrY3UJzErYvLfqctbXNyBOo1AqCe4Yy6fP+b1GbJEM6PWf0wSOlNPGb7uyR19SoXHGlvtk4qJGMoG5wRg5LvoszMq7T265ea+KK77aau85DDNj/7eVE5FSR5qHPPbzBxSQ6H61gf3ZObmd2xeh0HnA1ZtMCayZBlnV3n77TE6/8ZPyFaZgVCwx5uP7Q3XKz2r9rowzwknw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231023)(2400081)(944501161)(10201501046)(3002001)(6055026)(6041288)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:DB6PR0501MB2037; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0501MB2037; X-Forefront-PRVS: 0563F2E8B7 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(366004)(39860400002)(39380400002)(346002)(396003)(199004)(189003)(47776003)(66066001)(21086003)(69596002)(105586002)(106356001)(6116002)(26005)(3846002)(16526019)(478600001)(305945005)(7736002)(1076002)(2950100002)(6666003)(81166006)(8676002)(81156014)(76176011)(386003)(51416003)(52116002)(7696005)(186003)(2906002)(316002)(16586007)(5660300001)(48376002)(50466002)(97736004)(36756003)(53936002)(55016002)(8936002)(50226002)(68736007)(107886003)(4326008)(25786009)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2037; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2037; 23:xZoalz9kWewxijgpK/d04CiMkgmdHDueUPfme9p?= =?us-ascii?Q?Cy3yKJTbGsY/WmzlyQirTHkxjVAz9LuTmGxnEEe1ORZ+yX9OWHWPkMpfChnv?= =?us-ascii?Q?WSB5bTZEE5GzJaesoFfUwJd/sF6HIf850va8zvKzOGJP2TI0G3hsMxZdXpht?= =?us-ascii?Q?Pp+sqWiX4GrAw9BaimMqChaQsCepBu457IA6VLHWRwzGNtKRdBdnM4Oywbnh?= =?us-ascii?Q?93Nsj/8DGBYuMOyzWwKUX0C+JGVhTYp/uJ3d6EM0CYG9QmJWWFHQ2EnFrYOE?= =?us-ascii?Q?Rtu/VPxJSarp/V46YzP2Cu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R0501MB2037; 6:6djMlwke0S53JasHyw9dfvjWWcDWHGCDmO37huWWuG5tbTlt6BdlG1I6J2tviFvG7A+ZsHeG7s0Kj4LaSmwmS8lf4DYqzttjPk9QFXEOXvRrbJCOViznEiN7fxks3SBnz2oejxo0x/2K4vYPQ0OjxV7VPm2EyViB98su4HeukSY4EaQG9fSwHpoFQClD2+DRI5rGTjXS2zzV0FQXFD/3RVH2wT350dPIl+Kh+aObMGqH7rJT7M+PAkvuRdkYcSuaXVCKZpNIc/AVXnPh+EfQceeQmxPZuqNQ9UDCJIOSRp21HW+Bjt6R+CnPVGskrM6opKTf16HLLHGrKWFnxabqWmnXYHOWHqTf5Oc8y+ChLi0=; 5:k/01x6G4Nroo2iafFQpnQHLMNBvT/5cIbSd4E36xSQ/8BbYHtdRR1ovjI3nqfkXIX6ELJ8xfbyuW19TIik4/zPIwpT8VsGsPlhlrAxWfJTNjETsC+aXkoTbgo9guyj1933L9d6aYtuiRqW4NHwBRcFrQYrPQoBkUc88aYXP8MAk=; 24:2jyyiU8GVvbGz2XrDcX/dFr+rJR+P4b5HZEUdQ53N0Dh1bGTdy53UoEag0uKrpL+hLrZ2PMm7BZkf/qEge7mjalZlNzP8QA4rJUbpZur3iY=; 7:loNOJObhP8+5Id0LmiQUNGRTgKIkrF/yOR4YhmN8dSBvKAmaype9I/W2ydjtU7+GxwkJtbM7ZlJICynMa1Lqb1gLOmOHJ0y1BGZ5iaKseOJr0KsZvDP7JWYeA2PSRnywK8Z6tA012nrF+reh9EatPSOEXaG+uKaIha/dv9BVxxcqiF/fqY0DX/t1YIrSo9b4Y+dEo+Ecjv99FWHyaDqihR5qSGCTGopiqZHhXUVv716o0z5Emd7AWvfMa4adrlsl SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 21:03:08.0365 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a606f88a-f066-4471-5365-08d564370a1b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2037 Subject: [dpdk-dev] [PATCH v4 1/9] eal: add Doxygen grouping for memory barriers 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: Thu, 25 Jan 2018 21:03:12 -0000 Signed-off-by: Yongseok Koh --- lib/librte_eal/common/include/generic/rte_atomic.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/librte_eal/common/include/generic/rte_atomic.h b/lib/librte_eal/common/include/generic/rte_atomic.h index 3ba7245a3..58c40489b 100644 --- a/lib/librte_eal/common/include/generic/rte_atomic.h +++ b/lib/librte_eal/common/include/generic/rte_atomic.h @@ -17,6 +17,9 @@ #ifdef __DOXYGEN__ +/** @name Memory Barrier + */ +///@{ /** * General memory barrier. * @@ -43,7 +46,11 @@ static inline void rte_wmb(void); * This function is architecture dependent. */ static inline void rte_rmb(void); +///@} +/** @name SMP Memory Barrier + */ +///@{ /** * General memory barrier between lcores * @@ -70,7 +77,11 @@ static inline void rte_smp_wmb(void); * before the LOAD operations that follows it. */ static inline void rte_smp_rmb(void); +///@} +/** @name I/O Memory Barrier + */ +///@{ /** * General memory barrier for I/O device * @@ -97,6 +108,7 @@ static inline void rte_io_wmb(void); * operations that follow it. */ static inline void rte_io_rmb(void); +///@} #endif /* __DOXYGEN__ */ -- 2.11.0