[U-Boot] net: lpc32xx: Use IRAM for transmit buffer

Tom Rini trini at konsulko.com
Sat Apr 27 14:46:58 UTC 2019


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 <gregory.clement at bootlin.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20190427/c08fd933/attachment.sig>


More information about the U-Boot mailing list