On Mon, 2016-11-21 at 22:36 +0100, Paolo Abeni wrote: > Nice catch, thank you Eric! > > This gives up to 8% speed-up in my performance test (wire speed udp flood > with small packets) > > Tested-by: Paolo Abeni <pab...@redhat.com>
Thanks Paolo Note that udp6_recvmsg() hits the 3rd cache line of skb to access skb->protocol : is_udp4 = (skb->protocol == htons(ETH_P_IP)); We might some trick to avoid this cache line miss.