From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20053.outbound.protection.outlook.com [40.107.2.53]) by dpdk.org (Postfix) with ESMTP id F1821A498 for ; Tue, 16 Jan 2018 02:12:31 +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=3o7Zq5+lgg5yTkb4o68d0S5ufy183Aq250KWzaOSCAo=; b=G30bcTTc4FGSRBzoafTDsfDyPNT1xdb6Hf+NXDRmnAh0LmkrUhBU416is6CFoOB41EUzmJLSM0f2bkm66CuzUWXmZiwbu/79C/MpJtiBaP3Qz4fcf09J/WVJAcpktW1/QJaoYv6W8EsEJXUq00hJ1Kd9S7spH5buFQ/ACN56zdI= Received: from mellanox.com (209.116.155.178) by DB6PR0501MB2040.eurprd05.prod.outlook.com (2603:10a6:4:6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Tue, 16 Jan 2018 01:12:28 +0000 From: Yongseok Koh To: adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, jerin.jacob@caviumnetworks.com, jianbo.liu@arm.com Cc: dev@dpdk.org, Yongseok Koh , Thomas Speier Date: Mon, 15 Jan 2018 17:10:47 -0800 Message-Id: <20180116011050.18866-6-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180116011050.18866-1-yskoh@mellanox.com> References: <20171227042824.33373-1-yskoh@mellanox.com> <20180116011050.18866-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: CO2PR05CA0073.namprd05.prod.outlook.com (2603:10b6:102:2::41) To DB6PR0501MB2040.eurprd05.prod.outlook.com (2603:10a6:4:6::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9fed32ec-136a-4853-62e5-08d55c7e36ec X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(48565401081)(2017052603307)(7153060)(7193020); SRVR:DB6PR0501MB2040; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2040; 3:NCnwxEhlmXBesnO6y13w9i/Clb4GzWa53GPDdxiCysR1uzV6ak6mqeSYUDCUJyoY49s+4QYwLP3a7ei8NjePSUZmLjGGo6ohtq8gkemtoX05TUZ8PnkwfD3cxHr8XFdqm9Vq16vDT+sE5/zCWcBW2noxvViMUNtFweZBkRIZ3OQ4Rv4BsDY0TxlmqmJ8bOAM8mOEUx4BO64gqB8SL0lOOFLID7ym6HehdFEqtESRjDODiDbg1rn+M80L4gstDl6Y; 25:ZgUVOLatcH630478yWzXE0TwqgHaMBKw+xnNC0pdONpOOzCiCsmKJMWzdUp9bEEGpSPk6+fg9BonAc0mqvg6kfCS7pz57yvcZzN2hf5VzFZqAQAfzz0ruyWjh8gt5PfFFwxng76wviQrsC4I0VsheSvOz+Wkb1saucysd3/jk2YZIBb/C41Ze87Zxuv3GfPLubd9vkJFejuwt8mIjOSABNjXi83sunV4BEeVAh9HNg5JSAeovO7GCgsyd8nAKoB0U93Zdgf8Ft873G86xRN+6drk1XdCx+PoeKjD10rm8ZTzlhJ5sEPLJGYdonobgJDY573vbb0PusJGKsv8JArSHg==; 31:2UFQUm2DnjiN4W2z6c/1YvTXF3V3w16OPdzFR/Qi7fURFnFuBhbpeipjslZMNy1SSktg8Fmx5Fz1S8akbkRmf8ILC8lnGq+AojiGdBT73R+jlt8iIHMkXpODz81uHOrVusiN92N62TO6belBh04irUORTqR7lRFsYN7dr+hwrNGsNDsYlDvKKs6ktFRe7lVJsT1LYuQWa0EWI4zmhxt25c6f8nP1ukFRQkQuTnkiTSo= X-MS-TrafficTypeDiagnostic: DB6PR0501MB2040: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2040; 20:rUeI0CIDoj44YzeAG1/TW3VsbUDTN65+iiMUi2wig844vrBZ+sbT8yJRK8YigKAj/wohmwauuzHSO7A05K1Q288lVVRz4IlBESAU0y6MiYgscAcNauD/fzqrk0GRGPXbZGgN9LTUWdVMJqDjCrC0SAtaI0ajuVZK6YL58zGxSxesLxypLTKLwDseoRBQMDUvcXBGhpbDBjdNkigokn/MwRKW98xjMXI0W4L5p6Wy7+V6PdnjdwvwqvqXNQiedhdA8/PTaadqUvwPT9Z4gX8Xcqg0Ivk4O8aAxWOLmiHoMSRP1h+OBcCB1wnnZD5KXC1W0Mlpl0gDAEHB/a7uGnuvWOGBm7Tsj5DT/t8OFZvQtRMDTMLANU8z9c8xC8aMyfjKMvrGjwG7Hoy3dunXzUZ7nDXY0qDiEDIiUHEvQUl+N10+uQkRlXxZuFc5mYpF2hiX7SEdeYwSRyn0Cfm0nnQf/Rp8NDlTJY4WvrgeIM8cyCOrDoF3kZRKGQdzu1vI34hi; 4:Yxw3xZORZACRzu7kVIE3USNnsV3EjwZv7SIvBW8GrDzu6iRSqaKa7l5ABLIn0V5Ctoj8Vuh0+2l5xtaxzEf8z5EpxuPWAvUdlyildMkCGN5Ou3mLuSCsspKhwwMo1yiVo9Y0tU7hP7xcGi2PBZtTHDXEihKD7Kb82RnEKPWgq19ZyZeJD6mdPWJijWzaAkj7hPnKMfl/zqOy5aMdd8PTNqF8XbECNkY5qCVnU2/ujTUcWOZ/untSRF+7TD4IK0htVZB8UzLuL2qKYh5+ifeN2g== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231023)(944501161)(6055026)(6041268)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB6PR0501MB2040; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DB6PR0501MB2040; X-Forefront-PRVS: 0554B1F54F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39380400002)(366004)(39860400002)(346002)(396003)(189003)(199004)(66066001)(105586002)(106356001)(575784001)(86362001)(97736004)(21086003)(316002)(5660300001)(54906003)(2950100002)(6666003)(16526018)(47776003)(16586007)(76176011)(7696005)(478600001)(81156014)(25786009)(51416003)(81166006)(52116002)(4326008)(8676002)(36756003)(386003)(8936002)(69596002)(55016002)(1076002)(53936002)(305945005)(50226002)(7736002)(2906002)(3846002)(6116002)(48376002)(50466002)(68736007)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2040; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; DB6PR0501MB2040; 23:ppG6edoX8zN36PWtJocroNEvCig/JorbisYtg+7?= =?us-ascii?Q?7859RacOFVUcPufhSbyGEVX1FRsE6y2tuUK2po4hrdjwKxzbvPHlJ6X5gOrC?= =?us-ascii?Q?WX3Or5XPisKl1GIi80XhaJpYAo/B46//l7ctqoHiQpcoSJJullWH6k3bfFOb?= =?us-ascii?Q?J+9aq3CWdWuSt2tlctGYSYZhxPj2OTRDLJdbZG4PN4mOQa5cw+l24lw29U+Z?= =?us-ascii?Q?wd1FRv9oPTltraI4UzfbH8/h9R9sz+0/ImT4l0aaYQ2WfwFwnvw981/OZgF/?= =?us-ascii?Q?RW4CAswarEAaqFp/qZpJ3kNmG6EafvmzNBey31+U28/sYCb+zTb8rtvKZ1Ut?= =?us-ascii?Q?7Lr6H5WtiW1s76+3+wq0mggbpGf4qs6DLSZ8FcGxP89ti491Ae7GebpJDSWt?= =?us-ascii?Q?ESGIWP6v5DUxCl7n2MGHqQWM9buj8R04AyHFtZUBGcdF4OEdsEFo6q/iSh2K?= =?us-ascii?Q?mr3tg1tO1hgDcd+1RGqHiPpDMxCqfhbR8mgEEbgssS4JMnBRCVevXX7rK0p+?= =?us-ascii?Q?H++vwxm5Mfzn4jq8G0d1TpLjb39aqkP9UJ491kuJgoNZPeFR4JossizxY6XZ?= =?us-ascii?Q?0N3+7Xpl9D9iMlaSn0qI2rDs1r36NK0x2+xktql2TpQoNHhimG33KQFgGMOb?= =?us-ascii?Q?MrO7qFC4bei/vj+5+/5gIwAOIMPrm/M61550sz0RIZhQUTLQTKcehY6WXFyv?= =?us-ascii?Q?VS65KV2nPKbE4VH8uu/KKoqPPunGFuZ3Ug4lskHIAGc2AHT6JIA+zu7BigiJ?= =?us-ascii?Q?emnkxdWIIIXdcEdoks32XJV45Mc8UflmEhalzml44aAi0YKqvwVC/09U89A8?= =?us-ascii?Q?cIx9cJwHcNMQapaz26eaLVgo5npC1iqLQPnnXfBrc8m3mXfGPkyU727WxHes?= =?us-ascii?Q?oszF353LNkl4wBBGEb+8vDDbHLkSmZSXU1V5tlHt/iuse2A27xsR7czBnLQt?= =?us-ascii?Q?EWB0ThtY1l/mtv0oUw5XV61iLU1Rkw0ZC4CwxEQEEzNzrlsb334GplYgvnwn?= =?us-ascii?Q?g0U1sfskqDC9cU2jzn5BwDB8timopudCWktsXZFlChwYaECfMKOOuBLvjFDE?= =?us-ascii?Q?HevbuxL5JICTl4qsWETDl0NLfgCAz8MPdWxH5tjLbBotNKO9Ob7UVst+Fj2A?= =?us-ascii?Q?i9thrBy6mHpnTTJ9tEcE+P0SY/w0QVxh9paF8g2nQJaRNDEECk1xfCw=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2040; 6:RVVsSgRW13viI8y4n4A54bey1eCx/FT58khH0BhgJbqTnKTWgnmfCEuUB98u5pa1Ou8JByEomsLrML1qSJJWlEs9HmGuElVjQj8hAcu/qPgaH8qNpRkkcwHt+zlrAhHLiOt2teBUYZkkLsMfgZ2+yamvKgPl5TOhB6AbXcbEzbOCyPFt+ljbnEsPahIVbqAYxNTEefDJPJPkw7j7hR18h3KGj/0u9njNE+PiKaGnuFZWYsvp99IBaQT9kHC5Icauq+iU+3gUototHlQsV4ak+N3vjkiCGOgItlUm6yEsuih8vekDebETFGnqH6DsFPWIHbF2VaYs09rc8grrM7uenWaOijHJYMgDHeZV6iAbZIQ=; 5:VQAYA8R36z2A47Lxaj2vWKVL4evfqT2toB6MQuRf9XyrI1nWFydATpMUdrGIjRe+6n7HEogPctIFV088OTK8Ir3LImUxvyhaU1koyxbVP/dO0SG/Bl39ss5lKb6DFPJd/qO2SB70eNs97b7hWBarCzFVC9RPsax4tFSJQCiD1Yk=; 24:XTHdE/+qTWBJMZeFwgukXuGqBIzIzGuIgBwD5OpdIODtr9It49c0iJNhBUuyU/l8noTGQa22YtHvI+yFqjEI534ESC0PBJCjKm8GSY7Q0Hs=; 7:tJIszeKw2Ur0b09u2sAsUWJUG3EbQsSz42ptPrFECreAK9TGGRma1qh2TkVr2ES2W5fqf+ZMBjXWazrcw7i6/zLl0uT6ROuVaJXSE2hSQa/xUKkV83cR9gmPtqqdPIQ/svjk5xhKIVvwIa2cUXuESnWQr/H716wvShdSzXKVqH3sdsBgmfxcY8TrYGXBx9BpjWDkhksOOSj4pn6pGdnlsX0NA18icJqrmrExNJomLx9izt7P/8DPG67vEsGnTOc6 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 01:12:28.5201 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9fed32ec-136a-4853-62e5-08d55c7e36ec X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2040 Subject: [dpdk-dev] [PATCH v2 5/8] eal/arm64: define DMA 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: Tue, 16 Jan 2018 01:12:32 -0000 Cc: Thomas Speier Signed-off-by: Yongseok Koh Acked-by: Thomas Speier --- lib/librte_eal/common/include/arch/arm/rte_atomic_64.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h b/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h index b6bbd0b32..202abda79 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h @@ -36,6 +36,10 @@ extern "C" { #define rte_io_rmb() rte_rmb() +#define rte_dma_wmb() dmb(oshst) + +#define rte_dma_rmb() dmb(oshld) + #ifdef __cplusplus } #endif -- 2.11.0