RE: [v1,net-next 1/3] net:enetc: allocate CBD ring data memory using DMA coherent methods

From: Claudiu Manoil
Date: Wed Feb 09 2022 - 03:31:27 EST


> -----Original Message-----
> From: Po Liu <po.liu@xxxxxxx>
[...]
> Subject: [v1,net-next 1/3] net:enetc: allocate CBD ring data memory using
> DMA coherent methods
>
> To replace the dma_map_single() stream DMA mapping with DMA coherent
> method dma_alloc_coherent() which is more simple.
>
> dma_map_single() found by Tim Gardner not proper. Suggested by Claudiu
> Manoil and Jakub Kicinski to use dma_alloc_coherent(). Discussion at:
>
> https://lore.kernel.org/netdev/AM9PR04MB8397F300DECD3C44D2EBD07796
> BD9@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/t/
>
> Fixes: 888ae5a3952ba ("net: enetc: add tc flower psfp offload driver")
> cc: Claudiu Manoil <claudiu.manoil@xxxxxxx>
> Reported-by: Tim Gardner <tim.gardner@xxxxxxxxxxxxx>
> Signed-off-by: Po Liu <po.liu@xxxxxxx>

Thanks, Po.

Reviewed-by: Claudiu Manoil <claudiu.manoil@xxxxxxx>