Re: [PATCH net-next 1/2] macvtap: avoid hash calculating for single queue

From: David Miller
Date: Fri Jul 15 2016 - 17:41:00 EST


From: Jason Wang <jasowang@xxxxxxxxxx>
Date: Fri, 15 Jul 2016 03:46:30 -0400

> We decide the rxq through calculating its hash which is not necessary
> if we only have one rx queue. So this patch skip this and just return
> queue 0. Test shows 22% improving on guest rx pps.
>
> Before: 1201504 pkts/s
> After: 1472731 pkts/s
>
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>

Applied.