On Tue, Oct 10, 2017 at 4:47 AM, William Tu wrote:
> The patch introduces ip_tunnel->ether_mtu fields to cache the value of
> dev->mtu + dev->hard_header_len. This avoids the arithmetic operation
> on every packet.
>
> Signed-off-by: William Tu
> Cc: David Laight
> ---
> include/net/ip_tunnels
The patch introduces ip_tunnel->ether_mtu fields to cache the value of
dev->mtu + dev->hard_header_len. This avoids the arithmetic operation
on every packet.
Signed-off-by: William Tu
Cc: David Laight
---
include/net/ip_tunnels.h | 1 +
net/ipv4/ip_gre.c| 8
net/ipv4/ip_tunnel