Re: [RFC PATCH v2 03/10] udp: add support for UDP_GRO cmsg

2018-10-22 Thread Paolo Abeni
On Sun, 2018-10-21 at 16:07 -0400, Willem de Bruijn wrote: > On Fri, Oct 19, 2018 at 10:30 AM Paolo Abeni wrote: > > > > When UDP GRO is enabled, the UDP_GRO cmsg will carry the ingress > > datagram size. User-space can use such info to compute the original > > packets layout. > > > > Signed-off

Re: [RFC PATCH v2 03/10] udp: add support for UDP_GRO cmsg

2018-10-21 Thread Willem de Bruijn
On Fri, Oct 19, 2018 at 10:30 AM Paolo Abeni wrote: > > When UDP GRO is enabled, the UDP_GRO cmsg will carry the ingress > datagram size. User-space can use such info to compute the original > packets layout. > > Signed-off-by: Paolo Abeni > --- > CHECK: should we use a separate setsockopt to exp

[RFC PATCH v2 03/10] udp: add support for UDP_GRO cmsg

2018-10-19 Thread Paolo Abeni
When UDP GRO is enabled, the UDP_GRO cmsg will carry the ingress datagram size. User-space can use such info to compute the original packets layout. Signed-off-by: Paolo Abeni --- CHECK: should we use a separate setsockopt to explicitly enable gso_size cmsg reception? So that user space can enabl