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

2016-07-15 Thread David Miller
From: Jason Wang 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

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

2016-07-15 Thread Jason Wang
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 --- drivers/net/macvtap.c | 4 ++