[dpdk-dev] [PATCH v4 00/44] net/virtio: Virtio PMD rework

Ilya Maximets i.maximets at ovn.org
Mon Feb 1 14:00:33 CET 2021


On 1/26/21 11:15 AM, Maxime Coquelin wrote:
> 
> Only functionnal change in this second part is making the
> Vhost-user server mode blocking at init time, as long as
> a client is not connected. The goal of this change is to
> make the Vhost-user support much more robust, as without
> blocking, the driver has to assume features that are going
> to be supported by the client, which is very fragile and
> error prone. As a side-effect, it also simplifies the
> logic nin several place of the virtio-user PMD.

Hi, Maxime.

I didn't actually look at the code, but I have a question.
Does above text mean that with this change OVS will hang inside
driver_register() or similar function until client is connected
to dpdkvhostuser (server mode) port?

If so, I think, we will not be able to support server mode
in OVS anymore and will have to actually remove it.  It's
deprecated for a long time now, but I think it might still be in
use by some people, especially for virtio-user usecase.

Best regards, Ilya Maximets.


More information about the dev mailing list