On Wed, Jul 12, 2023 at 09:55:51AM +0200, Christian König wrote:
In a nutshell, netdev's design currently needs struct pages to do DMAAnyone see any glaring issues with this approach? I plan on trying toWell we already have DMA-buf as user API for this use case, which is
implement a PoC and sending an RFC v2.
perfectly supported by RDMA if I'm not completely mistaken.
So what problem do you try to solve here actually?
to it's packet buffers.
So it cannot consume the scatterlist that dmabuf puts out
RDMA doesn't need struct pages at all, so it is fine.
If Mina can go down the path of changing netdev to avoid needing
struct pages then no changes to DRM side things.
Otherwise a P2P struct page and a co-existance with netmem on a
ZONE_DEVICE page would be required. :\
Jason