Re: [RFC net-next v3 3/7] net: devmem: get netdev DMA device via new API

From: Mina Almasry
Date: Fri Aug 15 2025 - 13:33:43 EST


On Fri, Aug 15, 2025 at 4:07 AM Dragos Tatulea <dtatulea@xxxxxxxxxx> wrote:
>
> Switch to the new API for fetching DMA devices for a netdev. The API is
> called with queue index 0 for now which is equivalent with the previous
> behavior.
>
> This patch will allow devmem to work with devices where the DMA device
> is not stored in the parent device. mlx5 SFs are an example of such a
> device.
>
> Multi-PF netdevs are still problematic (as they were before this
> change). Upcoming patches will address this for the rx binding.
>
> Signed-off-by: Dragos Tatulea <dtatulea@xxxxxxxxxx>

Reviewed-by: Mina Almasry <almasrymina@xxxxxxxxxx>

--
Thanks,
Mina