Re: [PATCH net-next v15 02/14] net: netdev netlink api to bind dma-buf to a net device

2024-07-02 Thread Jakub Kicinski
On Fri, 28 Jun 2024 00:32:39 + Mina Almasry wrote: > 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 > diff --git a/Documentation/netlink/specs/n

Re: [PATCH net-next v15 02/14] net: netdev netlink api to bind dma-buf to a net device

2024-07-02 Thread Donald Hunter
On Mon, 1 Jul 2024 at 20:05, Mina Almasry wrote: > > On Fri, Jun 28, 2024 at 3:10 AM Donald Hunter wrote: > > > > Mina Almasry writes: > > > + - > > > +name: bind-dmabuf > > > +attributes: > > > + - > > > +name: ifindex > > > +doc: netdev ifindex to bind the dma-buf

Re: [PATCH net-next v15 02/14] net: netdev netlink api to bind dma-buf to a net device

2024-07-01 Thread Mina Almasry
On Fri, Jun 28, 2024 at 3:10 AM Donald Hunter wrote: > > Mina Almasry writes: > > + - > > +name: bind-dmabuf > > +attributes: > > + - > > +name: ifindex > > +doc: netdev ifindex to bind the dma-buf to. > > Minor nit: > > The series uses a mix of dmabuf and dma-buf bu

Re: [PATCH net-next v15 02/14] net: netdev netlink api to bind dma-buf to a net device

2024-06-28 Thread Donald Hunter
Mina Almasry writes: > + - > +name: bind-dmabuf > +attributes: > + - > +name: ifindex > +doc: netdev ifindex to bind the dma-buf to. Minor nit: The series uses a mix of dmabuf and dma-buf but the doc additions (devmem.rst) consistently uses dmabuf. I think it would

[PATCH net-next v15 02/14] net: netdev netlink api to bind dma-buf to a net device

2024-06-27 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 --- v7: - Use flags: [ admin-perm ] instead of a CAP_NET_ADMIN check. Changes in v1: - Add rx-queue-type to