Re: [PATCH net-next v16 03/13] netdev: support binding dma-buf to netdevice
On Wed, 10 Jul 2024 00:17:36 + Mina Almasry wrote: > + err = gen_pool_add_owner(binding->chunk_pool, dma_addr, > + dma_addr, len, dev_to_node(&dev->dev), > + owner); > + if (err) { kfree(o
[PATCH net-next v16 03/13] netdev: support binding dma-buf to netdevice
Add a netdev_dmabuf_binding struct which represents the dma-buf-to-netdevice binding. The netlink API will bind the dma-buf to rx queues on the netdevice. On the binding, the dma_buf_attach & dma_buf_map_attachment will occur. The entries in the sg_table from mapping will be inserted into a genpool