[LEDE-DEV] [PATCH 7/7] ag71xx: support for descriptors in SRAM

Felix Fietkau nbd at nbd.name
Fri Dec 8 02:16:25 PST 2017


On 2017-12-08 03:37, Rosen Penev wrote:
> A good performance improvement. As I have not tested this, I'm keeping the Qualcomm default to no.
> Original commit below:
> 
> From: Ben Menchaca <ben.menchaca at qca.qualcomm.com>
> Date: Fri, 7 Jun 2013 15:25:00 -0500
> Subject: [ag71xx] support for descriptors in SRAM
> 
> Adds support to the ag71xx to use SRAM for descriptors for a limited
> number of ag71xx instances.  This is a significant performance
> improvement over using non-cacheable RAM (~4% overall bridging
> performance).
> 
> Signed-off-by: Ben Menchaca <ben.menchaca at qca.qualcomm.com>
> Signed-off-by: Rosen Penev <rosenp at gmail.com>
For some reason, using descriptors in SRAM fails on the devices that I
tested it on. Also, this approach with hardcoded addresses in the driver
is rather messy, so NACK on this one.

- Felix



More information about the Lede-dev mailing list