On Sun, Aug 18, 2024 at 12:13 AM Mina Almasry wrote:
>
> On Sat, Aug 17, 2024 at 9:58 AM Taehee Yoo wrote:
> >
> > On Wed, Aug 14, 2024 at 6:13 AM Mina Almasry wrote:
> > >
> >
> > Hi Mina,
> >
> > > In tcp_recvmsg_locked(), detect if the skb being received by the user
> > > is a devmem skb. In
On Sat, Aug 17, 2024 at 9:58 AM Taehee Yoo wrote:
>
> On Wed, Aug 14, 2024 at 6:13 AM Mina Almasry wrote:
> >
>
> Hi Mina,
>
> > In tcp_recvmsg_locked(), detect if the skb being received by the user
> > is a devmem skb. In this case - if the user provided the MSG_SOCK_DEVMEM
> > flag - pass it to
On Wed, Aug 14, 2024 at 6:13 AM Mina Almasry wrote:
>
Hi Mina,
> In tcp_recvmsg_locked(), detect if the skb being received by the user
> is a devmem skb. In this case - if the user provided the MSG_SOCK_DEVMEM
> flag - pass it to tcp_recvmsg_devmem() for custom handling.
>
> tcp_recvmsg_devmem()
In tcp_recvmsg_locked(), detect if the skb being received by the user
is a devmem skb. In this case - if the user provided the MSG_SOCK_DEVMEM
flag - pass it to tcp_recvmsg_devmem() for custom handling.
tcp_recvmsg_devmem() copies any data in the skb header to the linear
buffer, and returns a cmsg