Re: [PATCH net-next] virtio-net: enable multiqueue by default

From: David Miller
Date: Mon Nov 28 2016 - 13:18:27 EST


From: Jason Wang <jasowang@xxxxxxxxxx>
Date: Fri, 25 Nov 2016 12:37:26 +0800

> We use single queue even if multiqueue is enabled and let admin to
> enable it through ethtool later. This is used to avoid possible
> regression (small packet TCP stream transmission). But looks like an
> overkill since:
>
> - single queue user can disable multiqueue when launching qemu
> - brings extra troubles for the management since it needs extra admin
> tool in guest to enable multiqueue
> - multiqueue performs much better than single queue in most of the
> cases
>
> So this patch enables multiqueue by default: if #queues is less than or
> equal to #vcpu, enable as much as queue pairs; if #queues is greater
> than #vcpu, enable #vcpu queue pairs.
>
> Cc: Hannes Frederic Sowa <hannes@xxxxxxxxxx>
> Cc: Michael S. Tsirkin <mst@xxxxxxxxxx>
> Cc: Neil Horman <nhorman@xxxxxxxxxx>
> Cc: Jeremy Eder <jeder@xxxxxxxxxx>
> Cc: Marko Myllynen <myllynen@xxxxxxxxxx>
> Cc: Maxime Coquelin <maxime.coquelin@xxxxxxxxxx>
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>

Applied, thanks Jason.