From: Li RongQing <[email protected]>
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 <[email protected]>
> Signed-off-by: Li RongQing <[email protected]>

Please resubmit this when the net-next tree opens back up.

Thanks.

Reply via email to