Re: [PATCH net-next v10 10/14] net: add support for skbs with unreadable frags

2024-06-06 Thread Mina Almasry
On Thu, Jun 6, 2024 at 9:49 AM Mina Almasry wrote: > > On Tue, Jun 4, 2024 at 3:46 AM Paolo Abeni wrote: > > > > On Thu, 2024-05-30 at 20:16 +, Mina Almasry wrote: > > > diff --git a/net/core/gro.c b/net/core/gro.c > > > index 26f09c3e830b7..7b9d018f552bd 100644 > > > --- a/net/core/gro.c > >

Re: [PATCH net-next v10 10/14] net: add support for skbs with unreadable frags

2024-06-06 Thread Mina Almasry
On Tue, Jun 4, 2024 at 3:46 AM Paolo Abeni wrote: > > On Thu, 2024-05-30 at 20:16 +, Mina Almasry wrote: > > diff --git a/net/core/gro.c b/net/core/gro.c > > index 26f09c3e830b7..7b9d018f552bd 100644 > > --- a/net/core/gro.c > > +++ b/net/core/gro.c > > @@ -422,6 +422,9 @@ static void gro_pull

Re: [PATCH net-next v10 10/14] net: add support for skbs with unreadable frags

2024-06-04 Thread Paolo Abeni
On Thu, 2024-05-30 at 20:16 +, Mina Almasry wrote: > diff --git a/net/core/gro.c b/net/core/gro.c > index 26f09c3e830b7..7b9d018f552bd 100644 > --- a/net/core/gro.c > +++ b/net/core/gro.c > @@ -422,6 +422,9 @@ static void gro_pull_from_frag0(struct sk_buff *skb, int > grow) > { > struct

[PATCH net-next v10 10/14] net: add support for skbs with unreadable frags

2024-05-30 Thread Mina Almasry
For device memory TCP, we expect the skb headers to be available in host memory for access, and we expect the skb frags to be in device memory and unaccessible to the host. We expect there to be no mixing and matching of device memory frags (unaccessible) with host memory frags (accessible) in the