Re: [net-next RFC V5 4/5] virtio_net: multiqueue support

From: Sasha Levin
Date: Sat Jul 21 2012 - 08:03:22 EST


On 07/20/2012 03:40 PM, Michael S. Tsirkin wrote:
>> - err = init_vqs(vi);
>> > + if (virtio_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ))
>> > + vi->has_cvq = true;
>> > +
> How about we disable multiqueue if there's no cvq?
> Will make logic a bit simpler, won't it?

multiqueues don't really depend on cvq. Does this added complexity really justifies adding an artificial limit?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/