Re: [PATCH net-next] udp: Avoid post-GRO UDP checksum recalculation

2019-05-25 Thread David Miller
From: Sean Tranchetti Date: Thu, 23 May 2019 13:36:17 -0600 > @@ -472,11 +472,15 @@ static inline struct sk_buff *udp_rcv_segment(struct > sock *sk, > struct sk_buff *skb, bool ipv4) > { > struct sk_buff *segs; > + netdev_features_t features

Re: [PATCH net-next] udp: Avoid post-GRO UDP checksum recalculation

2019-05-24 Thread Paolo Abeni
On Thu, 2019-05-23 at 13:36 -0600, Sean Tranchetti wrote: > Currently, when resegmenting an unexpected UDP GRO packet, the full UDP > checksum will be calculated for every new SKB created by skb_segment() > because the netdev features passed in by udp_rcv_segment() lack any > information about chec

[PATCH net-next] udp: Avoid post-GRO UDP checksum recalculation

2019-05-23 Thread Sean Tranchetti
Currently, when resegmenting an unexpected UDP GRO packet, the full UDP checksum will be calculated for every new SKB created by skb_segment() because the netdev features passed in by udp_rcv_segment() lack any information about checksum offload capabilities. We have no need to perform this calcul