Re: [PATCH net-next v15 11/14] net: add SO_DEVMEM_DONTNEED setsockopt to release RX frags

Pavel Begunkov
2024-07-02T14:56:41Z

On 6/28/24 01:32, Mina Almasry wrote:
> Add an interface for the user to notify the kernel that it is done
> reading the devmem dmabuf frags returned as cmsg. The kernel will
> drop the reference on the frags to make them available for reuse.
>
> Signed-off-by: Willem de Bruijn <willemb@google.com>
> Signed-off-by: Kaiyuan Zhang <kaiyuanz@google.com>
> Signed-off-by: Mina Almasry <almasrymina@google.com>

Same, lost tag from v13

Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>

And, as a follow up, would be great to clean up the loop.
Helper functions and "continue" should help to bring the
indention down.

--
Pavel Begunkov