Re: [PATCH net-next v4 5/9] net: add devmem TCP TX documentation

2025-02-20 Thread Stanislav Fomichev
On 02/20, Mina Almasry wrote: > Add documentation outlining the usage and details of the devmem TCP TX > API. > > Signed-off-by: Mina Almasry With a few nits below: Acked-by: Stanislav Fomichev > > --- > > v4: > - Mention SO_BINDTODEVICE is recommended (me/Pavel). > > v2: > - Update docume

Re: [PATCH net-next v4 5/9] net: add devmem TCP TX documentation

2025-02-20 Thread Bagas Sanjaya
On Thu, Feb 20, 2025 at 02:09:10AM +, Mina Almasry wrote: > +The user application must use MSG_ZEROCOPY flag when sending devmem TCP. > Devmem > +cannot be copied by the kernel, so the semantics of the devmem TX are similar > +to the semantics of MSG_ZEROCOPY. > + > + setsockopt(socket_fd,

[PATCH net-next v4 5/9] net: add devmem TCP TX documentation

2025-02-19 Thread Mina Almasry
Add documentation outlining the usage and details of the devmem TCP TX API. Signed-off-by: Mina Almasry --- v4: - Mention SO_BINDTODEVICE is recommended (me/Pavel). v2: - Update documentation for iov_base is the dmabuf offset (Stan) --- Documentation/networking/devmem.rst | 150 +