From: David Miller Subject: Re: [PATCH net-next] net: mvpp2: Use relaxed I/O in data path Date: Tue, 27 Mar 2018 13:16:24 -0400 (EDT) Message-ID: <20180327.131624.64497520832369981.davem@davemloft.net> References: <20180327144905.23499-1-maxime.chevallier@bootlin.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: ymarkman@marvell.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, antoine.tenart@bootlin.com, thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, mw@semihalf.com To: maxime.chevallier@bootlin.com Return-path: In-Reply-To: <20180327144905.23499-1-maxime.chevallier@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Maxime Chevallier Date: Tue, 27 Mar 2018 16:49:05 +0200 > From: Yan Markman > > Use relaxed I/O on the hot path. This achieves significant performance > improvements. On a 10G link, this makes a basic iperf TCP test go from > an average of 4.5 Gbits/sec to about 9.40 Gbits/sec. > > Signed-off-by: Yan Markman > [Maxime: Commit message, cosmetic changes] > Signed-off-by: Maxime Chevallier > --- > David, this patch should not conflict with other the pending PPv2 series I sent > earlier ("[PATCH net-next 0/2] net: mvpp2: Remove unnecessary dynamic allocs") Applied, but it is up to you to make sure the correct barriers are in place such that undesirable memory and IOMEM operation reordering does not occur. Said another way, you get to keep the pieces if this breaks things :-)