Re: [PATCH net-next v3] net: lan743x: Allocate rings outside ZONE_DMA
From: Simon Horman
Date: Wed Apr 16 2025 - 11:14:36 EST
On Tue, Apr 15, 2025 at 10:15:09AM +0530, Thangaraj Samynathan wrote:
> The driver allocates ring elements using GFP_DMA flags. There is
> no dependency from LAN743x hardware on memory allocation should be
> in DMA_ZONE. Hence modifying the flags to use only GFP_ATOMIC. This
> is consistent with other callers of lan743x_rx_init_ring_element().
>
> Reported-by: Zhang, Liyin(CN) <Liyin.Zhang.CN@xxxxxxxxxxxxx>
> Signed-off-by: Thangaraj Samynathan <thangaraj.s@xxxxxxxxxxxxx>
> ---
> v0
> -Initial Commit
>
> v1
> -Modified GFP flags from GFP_KERNEL to GFP_ATOMIC
>
> v2
> -resubmit to net-next
>
> v3
> -Shortened prefix and updated commit message
Thanks for the updates.
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>