From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0046.outbound.protection.outlook.com [104.47.0.46]) by dpdk.org (Postfix) with ESMTP id AB34D322C for ; Tue, 16 Jan 2018 02:12:23 +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=u6mN5yzA2ZgG3/Z/a/s6dDVLFWr5zwxEMRElmzA3BUE=; b=NKVACDFWJZc7VUu9gcwot/vxzDuirZ1eccDupGbSVz2vm55Sp08DSX+bm/xKpUW7HPmwNQ3MwW9TvTjUNIPHkhse4oiCPqonM9T8x7beZfvyH6W4+r4leabQk3MosnJsq3uA/Jk346Ak0tkr7rd+qKmiILb/mQNv+NVFSlO17ho= 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:19 +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 Date: Mon, 15 Jan 2018 17:10:42 -0800 Message-Id: <20180116011050.18866-1-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171227042824.33373-1-yskoh@mellanox.com> References: <20171227042824.33373-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: b754050e-7be7-4a41-45ff-08d55c7e318a 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:7iIg3VaYKN8tGw/CkbSFqRQTLya27p9LFzyuLDNqWrfCXYrgQcOBr/83elTWij7Le5R3bzhkTeBQIn2qz7hvFPlRNEoAs62mZMY+Cp9Gwik8QVZrJ6UL/BvgRhIWzIMNX+Vo9xXy5qAjS+hT/0XnybMNwV8/blWHCiAn0k9z1SMYsFrasHZGDcYwgxnqXOXI+0JZqk1GP9kGQ4uaZgoXSwemGlUF58YelzIlF0+K7lD1TLmOPxD4Rf2/TVBxpclc; 25:aXj16PJFvYQq+17yD6GkHrWLffSW8+7Jh5vrVeRGWhGqKIH5+DVuFw19VVQYQ0D/pBTd82y9AnMtjckkRCoZ9F3kSE2R9JGoUSo7nOhSApsRJvfSHSVI9yv1+LHSmSSytL6Oz4BAbu1JHEv7fOTDk1AQr0W0cou5aC2ccZYFDmizj4EzrALI04n/IxpV1+IqHG9JLV1cM8ANJ9FH92wQT9UJ+/9O1RwA9w1SayrST22biD8PKYWBR9bem5nFVW1iIedfDi0dagYyLozQ9n2xl4hiCl/cN9AoEl+eFDYCX23/lRzzhZrgNp3H6OhxH64yxnvF4lsagj6IJzkOsTHJuQ==; 31:4NGdaaszB0nZV12oAMUGzqjNoL4F9ICZSBsAvKgevGhjzY3dwXvql/k3AoFoSv6NpvvYH0RebcBmtFWX/DS75OlKyqDydeBh0x/uw0g8wyYoALcQwluit/SfGGxRmX045vV2Ur3Wn0CeBZ6eEfS0AVq/lvGOV4yzbQ+aLmxdRBebV3cjj2DfyFIJRRWMJR+F79uJK4DKEnv6hANORCBE0YlXarBzgvZYRWVKHKzTrcc= 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:rsVpUhx6eLAW8CO5p97j5/YdK2RiYSzZjLHzPt4COfHzVAWvIFzOF6NdKuOHmbOvVWjf6F8lLpd9jBeS2C4XMdCiKWb6bjLKG5s5tTQJkMiLBzx5L3ICKmQQrveojB/y/fODnzoQPIkdGMmO+/ELHTPmZQke3tmJoINvT/zteuT6A20Ol57eLz8VZsPXXikHSNhizy2NZFyM8B+HCkfmijOjD0I6oiylAvL/NWQqH7wHwlm3kmiu2Efhg08oSRuAhfuuFvemMM3EE7PwPdVRXwYLWWBu1uoRMNhCjI6W1EIp3TzVAyHR1OpQJp2mYJB5Lv9RUJ1SZTG+P0WnwUWHPF4f88PHg/gpAhLFwus+VlxVm70f7zs2fu7dt1IBZcuLkpk63FbRXLNgoSUXFeWPrGpoPs7ZKAZWEcQZ8xO5Z3K2quZgLz97vsavykW8Zs804szEJxj2V5JKoWnoBG7nlf31sTTiw7XotowvyT8vSJVkqQJbCnzVoxDwFrqXbPVH; 4:uCwkf6lrm0Xl6mKAZLN/p4n8WygEcrkeVy0FC1NC/zO0iZzWAAz3wkfmy/6DjsaZVvpD6YNsVpC08aPSw/kFyuaghQCeh7gawcBspi8o968TXaGdgPjOPHnR2NGqIV8/elItT7PUGGzBXTMYqVvmm/IDQkgsbEVSMIwpwZNHNyuoz/UbuGmTJahOR6iqOfENPTf42vNWQLn7c5BKdMS2NdvGbZUBJ0VqFxZx/XTpof8nc/PdCnj2aRlE12LWujuSXP/d/WRJ8vSPpTYOSYPLbMTlnvC4JweFhpMVPh+g2eVlk5EaIaaoJtWUHK8vwP2x X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089); 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)(86362001)(97736004)(21086003)(316002)(5660300001)(2950100002)(6666003)(16526018)(47776003)(16586007)(76176011)(7696005)(478600001)(81156014)(25786009)(51416003)(81166006)(52116002)(4326008)(8676002)(36756003)(386003)(107886003)(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:Fceh5NfxwkKWH7CjZqe4+qcynJdv/P6OPXcwLjh?= =?us-ascii?Q?kK53gLTMABoc7DGOKw+9V6rdshv4ymohCHXX7D2dL9PVmw7FJso2QlG0hNV0?= =?us-ascii?Q?mKfc4rWrkaNwGM9GPyUz1x05uWfyseQwHQPiylHi3gvs+XE+ACJxz44F1tjA?= =?us-ascii?Q?5Y2gZgXL8+N9sZhh9DRjQn8cmJoNctqCnw5+7IchtCWftULuaUmQC4gXJEcr?= =?us-ascii?Q?eduP7cADyWPPcIS1zq0MPt4uO/4PWAzwWZJuWUem2uEehDyaZbIYM2G3NGGg?= =?us-ascii?Q?x7p6jbCUixEU+0O7E8+hSu1q6zmDHUShznD2KE+PW+t6UHgfxajGsNrtg5/H?= =?us-ascii?Q?DVnEoEFokls+f5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sPqEa8qULigFZzMkkPx+1JpZ6+d9mtqq/2dFmBkk5O2s9N8tzejcbqo6t5D8K3BcIYsID+EJHo9+W379R0DT36Ix82rRtbsjKX1i8/V69JZ6NgEm75z6WxhKxLhxcsU1gsom86cQc7RDQphcCjlgzfZVrsiVaJ0qXHipdH45hdifL/dOP4EZWUR1bb+dkorf4Bgr6SjNAr3KyxBgRwR5ER/zfFTHO2XyJXJU1svfemjf4nTiZQLdFvUQFdSHcXu9kZB+7EjODGpigYh5Bg9xnZF6B8oqpgVK5eh49GOKKYe+UdaTernDqxJhhUC3E=; 5:1FjFFYRIuR9WyMUw9588PLpumBxbubfy6qmZel/8n75Lel/5wnadh1VXmHCyKwHeAEXsAYmCKNiYWs7/e4U/BsnRX3OujI2ITQdHKbxP4QAAr3vw5qhLvT9jis0UeOshWfkhIMRrsibHffzTj5NK2YBRdFpTINCRYROlrFqSAMw=; 24:Wgi427GITnygmUsEGCsnsK8qc5k+0b4b5ez1qO0ZVJcAw2cMpRShvDVbotZctK+xAV0VTNGFwRDxepoU3XKOntcZy+TlJxEXiRbvfXD5iHc=; 7:keaRAbH05MvWUGrPvoKfUhbB/DW+7AKXCuS+7cpfCCLZbVpAEWyHvceLnkmwouT2orOvBbjJ2GAzw3CYAFkNmuzq9gwEtx0YCw7Z0/iRQfC0lGEeTsGHNsCPUaPWL5g9ljWV+GIdvefTOrz6gz4+KGyInMCUi+1oaTgvjoFSCtEeP4uQftcf1LZbncpinUztAGTgmztqftxz/aYAMj6JmQu1pZrp4Ab+O0ybolWBLIv4i/O70YvWGt/u2usTh5tg SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 01:12:19.6604 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b754050e-7be7-4a41-45ff-08d55c7e318a 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 0/8] introduce 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:24 -0000 This patchset is to introduce DMA memory barriers, which could be more efficient for coherent memory between I/O device and CPU, especially for ARMv8. Yongseok Koh (8): eal: introduce DMA memory barriers eal/x86: define DMA memory barriers eal/ppc64: define DMA device memory barriers eal/armv7: define DMA memory barriers eal/arm64: define DMA memory barriers net/mlx5: remove unnecessary memory barrier net/mlx5: replace IO memory barrier with DMA memory barrier net/mlx5: fix synchonization on polling Rx completions drivers/net/mlx5/mlx5_rxq.c | 1 - drivers/net/mlx5/mlx5_rxtx.c | 5 +- drivers/net/mlx5/mlx5_rxtx.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 53 ++++++++++++---------- drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 2 +- .../common/include/arch/arm/rte_atomic_32.h | 4 ++ .../common/include/arch/arm/rte_atomic_64.h | 4 ++ .../common/include/arch/ppc_64/rte_atomic.h | 4 ++ .../common/include/arch/x86/rte_atomic.h | 4 ++ lib/librte_eal/common/include/generic/rte_atomic.h | 18 ++++++++ 11 files changed, 70 insertions(+), 29 deletions(-) -- 2.11.0