# Re: \[RFC PATCH v2 01/11\] net: add netdev netlink api to bind dma-buf to a net device

- From: Samudrala, Sridhar \<sridhar.samudrala@intel.com\>
- Date: 2023-08-10 16:10:34 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/08/8452640
- Thread: https://ratatoskr.run/netdev/2023/08/8452614/t.md

```text


On 8/9/2023 6:57 PM, Mina Almasry wrote:
> API takes the dma-buf fd as input, and binds it to the netdevice. The
> user can specify the rx queue to bind the dma-buf to. The user should be
> able to bind the same dma-buf to multiple queues, but that is left as
> a (minor) TODO in this iteration.

To support binding dma-buf fd to multiple queues, can we extend/change this interface to bind dma-buf fd to a napi_id? Amritha is currently working on a patchset that exposes napi_id's and their association with the queues.

https://lore.kernel.org/netdev/169059098829.3736.381753570945338022.stgit@anambiarhost.jf.intel.com/

```
