CC:mail-list.
Sorry.

On 10.05.2016 11:31, Ilya Maximets wrote:
> On 03.05.2016 14:28, ciara.loftus at intel.com (Loftus, Ciara) wrote:
>>> This patch seem to remove a lot of txq remapping functions (like
>>> netdev_dpdk_remap_txqs).  How does it handle the case of a disabled txq 
>>> in
>>> the guest kernel?
>> There is a difference in the amount of information we can get about vrings
>> in OVS now. With the PMD, we no longer have direct access to the virtio_net
>> structure. We used to use virto_net->virt_qp_nb to determine the number of
>> vrings (enabled and disabled) in the guest kernel, and we could map disabled
>> onto enabled accordingly. Now with the PMD, we only get vring information as
>> their state changes. eg. VM with 2 vrings enabled -> we assume there are only
>> 2 vrings, even though there may be many more that are disabled. We don't need
>> to map because we aren't aware of the disabled queues.
> 
> virtio protocol still allows to disable random queue in guest. This patch will
> work only with linux kernel virtio driver on guest side and just because linux
> kernel driver always enables/disables queues sequentially. For example, you 
> may
> write your own application with virtio-user with 2 rx/tx queues in guest and
> disable rx queue #0. This scenario will lead to broken connection while
> queue #1 still enabled.
> 
> Best regards, Ilya Maximets.
> 
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to