Re: [PATCH net-next 4/7] net: use dst_cache for vxlan device

2016-02-11 Thread Jiri Benc
On Thu, 11 Feb 2016 11:12:00 +0100, Paolo Abeni wrote: > @@ -1857,6 +1867,7 @@ static void vxlan_xmit_one(struct sk_buff *skb, struct > net_device *dev, > struct rtable *rt = NULL; > const struct iphdr *old_iph; > union vxlan_addr *dst; > + struct dst_entry *ndst; >

[PATCH net-next 4/7] net: use dst_cache for vxlan device

2016-02-11 Thread Paolo Abeni
In case of UDP traffic with datagram length below MTU this give about 3% performance increase when tunneling over ipv4 and about 70% when tunneling over ipv6. Signed-off-by: Paolo Abeni Suggested-and-acked-by: Hannes Frederic Sowa ---