[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHS8izNto5Na=jAyXhvm0ocL4mA0pUXmXMcn4bwnNvQbA81hzg@mail.gmail.com>
Date: Wed, 20 Aug 2025 15:48:32 -0700
From: Mina Almasry <almasrymina@...gle.com>
To: Dragos Tatulea <dtatulea@...dia.com>
Cc: asml.silence@...il.com, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>, cratiu@...dia.com, parav@...dia.com,
netdev@...r.kernel.org, sdf@...a.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v4 1/7] queue_api: add support for fetching per
queue DMA dev
On Wed, Aug 20, 2025 at 10:13 AM Dragos Tatulea <dtatulea@...dia.com> wrote:
>
> For zerocopy (io_uring, devmem), there is an assumption that the
> parent device can do DMA. However that is not always the case:
> - Scalable Function netdevs [1] have the DMA device in the grandparent.
> - For Multi-PF netdevs [2] queues can be associated to different DMA
> devices.
>
> This patch introduces the a queue based interface for allowing drivers
> to expose a different DMA device for zerocopy.
>
> [1] Documentation/networking/device_drivers/ethernet/mellanox/mlx5/switchdev.rst
> [2] Documentation/networking/multi-pf-netdev.rst
>
> Signed-off-by: Dragos Tatulea <dtatulea@...dia.com>
> Reviewed-by: Pavel Begunkov <asml.silence@...il.com>
Reviewed-by: Mina Almasry <almasrymina@...gle.com>
--
Thanks,
Mina
Powered by blists - more mailing lists