On Thu, 21 Feb 2019 at 15:08, Flavio Leitner <[email protected]> wrote:

> On Thu, Feb 21, 2019 at 02:58:16PM +0100, Riccardo Ravaioli wrote:

> 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.
>


Right.
I know this is quite unorthodox, but I'm trying to see if I can propagate
the link state of a physical interface to a virtual machine. With a regular
network interface and a virtio interface on the VM, I can listen on a
netlink socket for RTM_NEWLINK messages (on the host) and then run "virsh
domif-setlink $domain $interface up/down": inside the virtual machine, the
link state will change accordingly.

I was wondering if in the case of DPDK + vhostuser I can do something
similar.

Thanks!

Riccardo
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to