Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752288AbcLBRTj (ORCPT ); Fri, 2 Dec 2016 12:19:39 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:36922 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750848AbcLBRTi (ORCPT ); Fri, 2 Dec 2016 12:19:38 -0500 Date: Fri, 02 Dec 2016 12:11:41 -0500 (EST) Message-Id: <20161202.121141.1787238234799478833.davem@davemloft.net> To: LinoSanfilippo@gmx.de Cc: vbridger@opensource.altera.com, nios2-dev@lists.rocketboards.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 1/2] net: ethernet: altera: TSE: Remove unneeded dma sync for tx buffers From: David Miller In-Reply-To: <1480546112-3099-1-git-send-email-LinoSanfilippo@gmx.de> References: <1480546112-3099-1-git-send-email-LinoSanfilippo@gmx.de> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 02 Dec 2016 08:12:19 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 347 Lines: 10 From: Lino Sanfilippo Date: Wed, 30 Nov 2016 23:48:31 +0100 > An explicit dma sync for device directly after mapping as well as an > explicit dma sync for cpu directly before unmapping is unnecessary and > costly on the hotpath. So remove these calls. > > Signed-off-by: Lino Sanfilippo Applied.