From: Tom Rini Date: Sat, 27 Apr 2019 10:46:58 -0400 Subject: [U-Boot] net: lpc32xx: Use IRAM for transmit buffer In-Reply-To: <20190417094142.21132-1-gregory.clement@bootlin.com> References: <20190417094142.21132-1-gregory.clement@bootlin.com> Message-ID: <20190427144658.GR31207@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Apr 17, 2019 at 11:41:42AM +0200, Gregory CLEMENT wrote: > Since the introduction of the driver, some memory in IRAM is reserved for > the TX buffers. > > However there are not used but instead of it, it is the buffer provided > by the net stack which is used. As stated in the comment of the driver, > not using the IRAM buffer could cause cache issue and lower the > throughput. > > For the second argument it is less the case for transmitting buffers > because the throughput gain in IRAM is mitigated by the time to copy the > data from RAM to IRAM, but the first argument is still valid and indeed > this patch fixes issue seen with Ethernet on some boards > > Signed-off-by: Gregory CLEMENT Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: