[LEDE-DEV] [PATCH 5/7] ag71xx: Replace AG71XX_DESC_SIZE macro with a struct member.

Felix Fietkau nbd at nbd.name
Fri Dec 8 02:18:13 PST 2017


On 2017-12-08 03:37, Rosen Penev wrote:
> Moves the code more in line with QCA code. Also reduces variable to a u16 instead of s32.
> 
> QCA code has the roundup component behind a Makefile config. Not sure if enabled by default so I opted to keep current behavior.
> 
> Signed-off-by: Rosen Penev <rosenp at gmail.com>
NACK. Using a constant is more efficient than loading the descriptor
size from memory.

- Felix



More information about the Lede-dev mailing list