Skip to contentSkip to conversation

vhost-user public struct refactor (was Re: [PATCH RFC 2/4] vhost: make buf vector for scatter RX) local.

RFC Ilya Maximets 1 participant 1 message Apr 6, 2016

lore
Share & tools
lore
#0 lore raw

------- Original Message -------
Sender : Yuanhan Liu<[email protected]>
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.

Quoted 7 lines · Ilya Maximets
Quoted 6 lines
Quoted 3 lines

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?

Quoted 6 lines

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.