[ovs-discuss] DPDK link state

Flavio Leitner fbl at sysclose.org
Thu Feb 21 14:08:47 UTC 2019


On Thu, Feb 21, 2019 at 02:58:16PM +0100, Riccardo Ravaioli wrote:
> Hi,
> 
> Let's say I have a basic setup with a Linux virtual machine with one
> vhostuser interface, a physical interface in DPDK mode, and an OVS switch
> with those two interfaces on it.
> Can the VM know when the link on the physical interface is up or down?

No, but it could ping some other remote host.

> I see that the command "ovs-ofctl show $bridge" reports this. I'm just not
> sure if the VM needs to be told explicitly (in which case, the command
> "ovs-ofctl mod-port $switch $port up/down" doesn't seem to work) or instead
> it has all the necessary means to know this through the DPDK library.

What exactly you're trying to do? The host networking could be seen as
the network infra outside of the host and in this case the VM link is
actually the vhost port which is up & running.

fbl



More information about the discuss mailing list