RE: [PATCH net-next v3 2/5] lan743x: sync only the received area of an rx ring buffer

From: Bryan.Whitehead
Date: Tue Feb 16 2021 - 15:51:51 EST


> From: Sven Van Asbroeck <thesven73@xxxxxxxxx>
>
> On cpu architectures w/o dma cache snooping, dma_unmap() is a is a very
> expensive operation, because its resulting sync needs to invalidate cpu
> caches.
>
> Increase efficiency/performance by syncing only those sections of the
> lan743x's rx ring buffers that are actually in use.
>
> Signed-off-by: Sven Van Asbroeck <thesven73@xxxxxxxxx>
> ---

Looks Good, Thanks Sven
Our testing is in progress, We will let you know our results soon.

Reviewed-by: Bryan Whitehead <Bryan.Whitehead@xxxxxxxxxxxxx>