From: Paolo Abeni <pab...@redhat.com> Date: Wed, 7 Nov 2018 10:34:36 +0100
> The tun XDP sendmsg code path, unconditionally computes the symmetric > hash of each packet for RFS's sake, even when we could skip it. e.g. > when the device has a single queue. > > This change adds the check already in-place for the skb sendmsg path > to avoid unneeded hashing. > > The above gives small, but measurable, performance gain for VM xmit > path when zerocopy is not enabled. > > Signed-off-by: Paolo Abeni <pab...@redhat.com> Applied.