[RFC PATCH v3 03/12] net: netdev netlink api to bind dma-buf to a net device

Jakub Kicinski kuba at kernel.org
Fri Nov 10 23:16:29 UTC 2023


On Sun,  5 Nov 2023 18:44:02 -0800 Mina Almasry wrote:
> +      -
> +        name: queues
> +        doc: receive queues to bind the dma-buf to.
> +        type: u32
> +        multi-attr: true

I think that you should throw in the queue type.
I know you made the op imply RX:

> +    -
> +      name: bind-rx

but if we decide to create a separate "type" for some magic 
queue type one day we'll have to ponder how to extend this API

IMHO queue should be identified by a <type, id> tuple, always.


More information about the dri-devel mailing list