]> git.proxmox.com Git - mirror_ovs.git/commit - NEWS
netdev-dpdk: vHost client mode and reconnect
authorCiara Loftus <ciara.loftus@intel.com>
Mon, 15 Aug 2016 15:11:26 +0000 (16:11 +0100)
committerDaniele Di Proietto <diproiettod@vmware.com>
Tue, 16 Aug 2016 00:29:12 +0000 (17:29 -0700)
commitc1ff66ac80b51aea49c3d672393a9a35f5164790
tree4ea3c9806bdf7ff52c62efa8e48ca6f84fe01f78
parent53f50d2400995c362e517b9af8a2ccce0c9d594c
netdev-dpdk: vHost client mode and reconnect

Until now, vHost ports in OVS have only been able to operate in 'server'
mode whereby OVS creates and manages the vHost socket and essentially
acts as the vHost 'server'. With this commit a new mode, 'client' mode,
is available. In this mode, OVS acts as the vHost 'client' and connects
to the socket created and managed by QEMU which now acts as the vHost
'server'. This mode allows for reconnect capability, which allows a
vHost port to resume normal connectivity in event of switch reset.

By default dpdkvhostuser ports still operate in 'server' mode. That is
unless a valid 'vhost-server-path' is specified for a device like so:

ovs-vsctl set Interface dpdkvhostuser0
options:vhost-server-path=/path/to/socket

'vhost-server-path' represents the full path of the vhost user socket
that has been or will be created by QEMU. Once specified, the port stays
in 'client' mode for the remainder of its lifetime.

QEMU v2.7.0+ is required when using OVS in vHost client mode and QEMU in
vHost server mode.

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
INSTALL.DPDK-ADVANCED.md
NEWS
lib/netdev-dpdk.c
vswitchd/vswitch.xml