Re: [net-next v1 05/16] net: netdev netlink api to bind dma-buf to a net device

2023-12-13 Thread Jakub Kicinski
On Thu, 7 Dec 2023 16:52:36 -0800 Mina Almasry wrote: > +name: type > +doc: rx or tx queue > +type: u8 > +enum: queue-type nit: the queue/napi GET was applied to net-next, would be good to stick to the same types (s/u8/u32)

[net-next v1 05/16] net: netdev netlink api to bind dma-buf to a net device

2023-12-07 Thread Mina Almasry
API takes the dma-buf fd as input, and binds it to the netdevice. The user can specify the rx queues to bind the dma-buf to. Suggested-by: Stanislav Fomichev Signed-off-by: Mina Almasry --- Changes in v1: - Add rx-queue-type to distingish rx from tx (Jakub) - Return dma-buf ID from netlink