Re: [net-next PATCH] net: Optimize local checksum offload

2016-02-18 Thread David Miller
From: Alexander Duyck Date: Wed, 17 Feb 2016 11:23:55 -0800 > This patch takes advantage of several assumptions we can make about the > headers of the frame in order to reduce overall processing overhead for > computing the outer header checksum. > > First we can assume the entire header is in t

[net-next PATCH] net: Optimize local checksum offload

2016-02-17 Thread Alexander Duyck
This patch takes advantage of several assumptions we can make about the headers of the frame in order to reduce overall processing overhead for computing the outer header checksum. First we can assume the entire header is in the region pointed to by skb->head as this is what csum_start is based on