From: Li RongQing <lirongq...@baidu.com> Date: Sun, 19 Aug 2018 11:36:08 +0800
> vxlan_find_mac() unconditionally set f->used for every packet, > this cause a cache miss for every packet, since remote, hlist > and used of vxlan_fdb share the same cacheline. > > With this change f->used is set only if not equal to jiffies > This gives up to 5% speed-up with small packets. > > Signed-off-by: Zhang Yu <zhangy...@baidu.com> > Signed-off-by: Li RongQing <lirongq...@baidu.com> Please resubmit this when the net-next tree opens back up. Thanks.