Re: [PATCH net-next] udp_offload: Allow device GRO without checksum-complete

2015-08-27 Thread Ramu Ramamurthy
On 2015-08-24 12:34, Tom Herbert wrote: This patch adds a sysctl which allows GRO for a UDP offload protocol to be performed in the device NAPI. This potentially is a performance improvement if the savings of doing GRO in device NAPI outweighs the cost of performing the checksum. Note that the pe

Re: [PATCH net-next] udp_offload: Allow device GRO without checksum-complete

2015-08-24 Thread Eric Dumazet
On Mon, 2015-08-24 at 12:34 -0700, Tom Herbert wrote: > diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c > index c0a15e7..1d91227 100644 > --- a/net/ipv4/udp.c > +++ b/net/ipv4/udp.c > @@ -130,6 +130,9 @@ EXPORT_SYMBOL(sysctl_udp_wmem_min); > atomic_long_t udp_memory_allocated; > EXPORT_SYMBOL(udp_m

[PATCH net-next] udp_offload: Allow device GRO without checksum-complete

2015-08-24 Thread Tom Herbert
This patch adds a sysctl which allows GRO for a UDP offload protocol to be performed in the device NAPI. This potentially is a performance improvement if the savings of doing GRO in device NAPI outweighs the cost of performing the checksum. Note that the performing the checksum in device NAPI may n