Re: [PATCH net-next v7 4/9] net: devmem: Implement TX path

2025-03-24 Thread Mina Almasry
On Mon, Mar 24, 2025 at 9:25 AM Stanislav Fomichev wrote: > > On 03/08, Mina Almasry wrote: > > Augment dmabuf binding to be able to handle TX. Additional to all the RX > > binding, we also create tx_vec needed for the TX path. > > > > Provide API for sendmsg to be able to send dmabufs bound to th

Re: [PATCH net-next v7 4/9] net: devmem: Implement TX path

2025-03-24 Thread Stanislav Fomichev
On 03/08, Mina Almasry wrote: > Augment dmabuf binding to be able to handle TX. Additional to all the RX > binding, we also create tx_vec needed for the TX path. > > Provide API for sendmsg to be able to send dmabufs bound to this device: > > - Provide a new dmabuf_tx_cmsg which includes the dmab

Re: [PATCH net-next v7 4/9] net: devmem: Implement TX path

2025-03-21 Thread Mina Almasry
On Tue, Mar 18, 2025 at 1:53 AM Paolo Abeni wrote: > > Adding Kuniyuki. > > On 3/8/25 10:40 PM, Mina Almasry wrote: > > @@ -931,10 +932,67 @@ int netdev_nl_bind_rx_doit(struct sk_buff *skb, > > struct genl_info *info) > > return err; > > } > > > > -/* stub */ > > int netdev_nl_bind_tx_doi

Re: [PATCH net-next v7 4/9] net: devmem: Implement TX path

2025-03-18 Thread Paolo Abeni
Adding Kuniyuki. On 3/8/25 10:40 PM, Mina Almasry wrote: > @@ -931,10 +932,67 @@ int netdev_nl_bind_rx_doit(struct sk_buff *skb, struct > genl_info *info) > return err; > } > > -/* stub */ > int netdev_nl_bind_tx_doit(struct sk_buff *skb, struct genl_info *info) > { > - return 0; >

[PATCH net-next v7 4/9] net: devmem: Implement TX path

2025-03-08 Thread Mina Almasry
Augment dmabuf binding to be able to handle TX. Additional to all the RX binding, we also create tx_vec needed for the TX path. Provide API for sendmsg to be able to send dmabufs bound to this device: - Provide a new dmabuf_tx_cmsg which includes the dmabuf to send from. - MSG_ZEROCOPY with SCM_D