From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0080.outbound.protection.outlook.com [104.47.32.80]) by dpdk.org (Postfix) with ESMTP id 6736CF939 for ; Thu, 12 Jan 2017 10:18:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=QGxrrX56f3lb4GbY7beLtDwshif054kcwBYaznjKRDM=; b=SHuaJ7lwFR+V31VrMVCZYAwblHQpzJDnc7wJZ3tm1bGM26yWqr4lnLkgEmj7eygWvfeP39iI5cTII2/6bJocKyyozf+2VtFDd4SZp2RlknMsK2E12VtaGjs7VsxvqvhcThleIzkaauEER4WG/dZSXbjgCPxMcpXG6uhr3g28l5U= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.caveonetworks.com (111.93.218.67) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Thu, 12 Jan 2017 09:18:30 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob Date: Thu, 12 Jan 2017 14:47:03 +0530 Message-ID: <1484212646-10338-7-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1484212646-10338-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1482832175-27199-1-git-send-email-jerin.jacob@caviumnetworks.com> <1484212646-10338-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BY2PR06CA0007.namprd06.prod.outlook.com (10.166.106.145) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-Office365-Filtering-Correlation-Id: 14629a23-8c92-4fca-42a9-08d43acbfb97 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:FSxfkrgWY8C2o3mMAoFr3wfL875H2OLriOIUvUGmZcWCgv3OLiOLS07OXamwtBCTge6EGK3jf4xhSs5ZlJYT9mXPdq6qYsgaEL5rD4qTFBQIgsEUvS5Fo7r0pU4gYGIDgk72oANf0OaazM1lPFRd23kA748VSZ77jCkXW0Wm+iP+Gy8R+bhR5I+s3FL5NKVmJ3MF+QAzg3BxE460FVIAsB4P8sqVI8ubRkuoUDLYOI/YCb66CFcsJ79ALzPcsDsNEEC+3heShyAx0EMKJJb3Aw==; 25:mFUDjvIYlnZg0OE/74qZyUdk/2daKdFOA/60DCDnJTtBvj9mGN5nlRPN8J98W6O+lg+8oWC/jJrGKzw4iaQXaRyXutZE0hDyYyM8WzkH8V9kydUxNnN/XUpunUBFl1LQaIIXi6EBDNfafd4tACNJ4my5UucwtqgoEiMAfxgszCoZGTEvnk49YQjJeLrMLQ0JSPdueH4/O6913tptcKghT03DtL8RjgEsNTYKD/oBj0Qmryvl1cchu1DCfFJpT/C4Tand+LXp+MvbXvvLfQU50Y/0lwpEbrl3+vtabv9QVVojXgKlzxI3LGTI/KCrmBRf0zney4fhRdEJt03BqXG5H5kUzbgGaogInlW1P12kyQMJcSGu3gDSW0bFJzBIVy2SMhsWr15Qb0s9RYNIET2ycp/9pucJtW2AUeyW1Nyz9Ktc41o7nDdLz70vUTpzzC21RVKOaZ5tvJPD3AmmfHwHLA== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 31:PxGiw7RUIMhbj8ATOhlB3cwGb7aFGrYRFN6cgzls3ts6kNJ0PUnnoQkTnFYZBsEmALB6kLmTYhL/8Jml23Q+SVHvWN8/0oBo05sxc1HmMZPp85UjtU3ckyAkHqeXdv1eZq2D/1OYEfx7jZPmN6UbyEi8xeAhFZ4II6wkld9LtuP3YtpKaBM37uaiZ1Km816bVh13k4URa3NECO5iLnDsxvZgu+/TWrSNSAyEN1UoMAY8SnNFNpL6fYN5FAK+bR0d; 20:F4XfIQSXDhkpEvOT2Y+IY2kj46mH2q1cyXkccDF5ZRClYoc8CwA2iXQzWrim5e+ajmManMLDimlmIL5LwF6XRdRfq2YWMdBmxtY6Hksb1N8hD008S/rQYR39QgSsMZOuWqwwXIzrRLhgHA2ZfP6CGCNEglWILNqc0FEllwFExcWEHDtA91KV/nI2rKjryJXlWuoA4qGwm0DFPdjjY1VkPqlawB8yljtGEi5B3+IGxWmIgtsv71SM8K6Vre3jhg5ygVqyQG0qAYeKqiasRnxYFn8zoZdWwH3sq1vWPyviIOBZ/Jq1GCNoFTigQq8sSBknS+sCFrK/q9ZUAs0DKAgfBNKfJb5S7GhtvDL5H0Ru+3+X8j4UPsVTkHY9q4Y65Q81Yiwrf/zWb/GIHnjdlqubRsMRH99LbBnH8IHQ76r5H2+iKyWFkXBFELyEcZgV1XpXrvtWjEVkVpFgVKxslsCvMgheTpjqlVkPBH10IJX9ueOhmcZBY2aTGDz7R0+Q6Aff9jYYQrm2INNfl0KUDvD2oYptjiImW4UyS+RSx8TUZv2+rySgP+chWs+CxtarWW+DtQ1crcMMVXVy6Qqvvr6xezW3RmvIM6OPhtcywa0/zMs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(6072148); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 4:Nxu6Vs8m+ZjPGmrwnbhamO1vnMRfV/Y838QbTMN1u07KEfrNDmJGleNQ9c7SFOG4WOa2i0WybaRKTE7MiR8mDL2btznPEITuRKSDxlErfqGItRPO5fE0CVe0czaHZXEJ+pcZ53QFLsmDUBLnJqK1t2lZKtBIEjIe+sNNT0FeBaCvPw/cP0t0Y3dJhBQPMmfF0/fpNdBWUbGJk4oIMb+3PeUppbK3uog5BWytokGZAJZR6+h8rxPlCf251wt7Lvyh5TF4agBmmc6kwBllBo4bbstk35Psa11PsubHchZmCpt4CNPh0SJffvVBhS6662B24PBa5T+Yox2l2aVJctbReAoIQH8PjSRk9ZSnnep9sSp50U1g33bKN1noWcFuDKVbEvlZfpyy8iO7BCYr1uEfqZ/1YjTOJPcxLzlU1O5zkGX6vmRs9jkue3pvJ34H6lY31i6dmAGM0pEkjJXhGCLXtwd9jrU6urlMqRyfusAbCZCsifxKApgP06PC5ULdzNcqhAW7ppnqpRc5jhKA8/8Ea+IwJxf5A9brQ56idkrDdGv0KJ7TaAsJod0RqXIi+wSznKWgG6fpGghAgRUmzGxIxw== X-Forefront-PRVS: 018577E36E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(189002)(199003)(2950100002)(53416004)(76506005)(92566002)(105586002)(69596002)(2351001)(42186005)(68736007)(106356001)(42882006)(6916009)(305945005)(2906002)(7736002)(50466002)(48376002)(36756003)(5660300001)(110136003)(4326007)(97736004)(107886002)(189998001)(50226002)(6666003)(6506006)(38730400001)(101416001)(54906002)(33646002)(5009440100003)(4001430100002)(6486002)(66066001)(5003940100001)(6116002)(3846002)(47776003)(25786008)(81166006)(6512007)(81156014)(76176999)(50986999)(8676002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:localhost.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:R3tEOR8B0ABk1q5+k5nNCHnfvbfg4jeh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iER6DMW75EvFd3pUtgKNELGqfIXZhhO0tXT7chcLu+bk72cmO7l+wXMWqq1W+f1jyD9YedkOKBg==; 24:5vdZR+6cNYf0Q92x5YbO2SYCQRyIZwhdnUETcuAHDTx+RKKDg11CVdZJoxb5Mnzktr+xYF1bosTZ3iWlEsqoF2eta36CehbNwDFwd9W7m5w= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:e66SFXa4x7p4tH7nIJEchKtrqDL4B2cMRYfjsT2tf5lFQHg7sZiYB3Nj7igYSHJ70Mh3NVQeEtl9i9l+gHO4NOspxzzxIOeAOHfJf2cO+6n8L3JFvNvoHWTaCLElQKeOx7KTMKQCjwkR+i3Fv/EuYUYIMax1h4bzluYjm7YrS8MUyUP30amuYy71I9vWx3fuO2OkNnCg+/cCbAw10shEemi+t5JFTmgBi8usnk3r8qaXVXfuOVLnxUF/ZyzNhukDDVodyyEo3HyZXD2WT4zmSrYxq32dX4AE4QCQ41pcwPRVXeTc8wR4DepLQwkpqHdJl5UirkgYMtFjJ3q+I+EYYnSbLobglhkFNMeNpxsmk1Dw0P6z6LtTNcrLhF14KULQO8lfQ3xqRd/M8r9mQnLZ2VeRX9oMdnKP7fZfvpGwVNvZ7msn6cqmN8YyKC4Msr557OT9H5rhOaGSiR4xlhTGYg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2017 09:18:30.0059 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH v3 06/29] eal/armv7: define I/O device memory barriers for ARMv7 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, 12 Jan 2017 09:18:35 -0000 The patch does not provide any functional change for ARMv7. I/O barriers are mapped to existing smp barriers. CC: Jan Viktorin CC: Jianbo Liu Signed-off-by: Jerin Jacob --- lib/librte_eal/common/include/arch/arm/rte_atomic_32.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h index dd627a0..14c0486 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h @@ -73,6 +73,12 @@ extern "C" { #define rte_smp_rmb() rte_rmb() +#define rte_io_mb() rte_mb() + +#define rte_io_wmb() rte_wmb() + +#define rte_io_rmb() rte_rmb() + #ifdef __cplusplus } #endif -- 2.5.5