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

From: Jakub Kicinski
Date: Fri Nov 10 2023 - 18:16:40 EST


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.