------- Original Message ------- Sender : Yuanhan Liu<yuanhan.liu at linux.intel.com> Date : Apr 06, 2016 08:38 (GMT+03:00) Title : Re: Re: [RFC] vhost-user public struct refactor (was Re: [dpdk-dev] [PATCH RFC 2/4] vhost: make buf vector for scatter RX) local.
On Wed, Apr 06, 2016 at 05:11:01AM +0000, Ilya Maximets wrote: > > > There is a plan to use vHost PMD, so from OVS point of view the virtio > > > stuff would be hidden because vhost PMD would look like just as a > > > regular ethernet, right? > > > > But we still need to have access to virtqueue_enabe/disable notifications to > > work properly. How this will be done if virtqueue will be hidden from user? > > Do you mean vring_state_changed() callback? It will not be removed. > BTW, when using vhost pmd, you will not be aware of such callback: > it will be translated to a RTE_ETH_EVENT_QUEUE_STATE interrupt. > > OTOH, I have a simple git grep of "vq" from ovs dpdk netdev code, > it returns nothing. So, I don't think that will matter? OK, thanks for clarifying. I guess, all should be fine in that case. Thank you. Best regards, Ilya Maximets.