[ovs-discuss] DPDK OVS with vhostuser problem

Eli Britstein eli.britstein at toganetworks.com
Thu Mar 3 12:03:14 UTC 2016


Hi



I followed the instructions in INSTALL.md and INSTALL.DPDK.md.

I have created two ports in a bridge, and set the flows 1<->2.

Doing ovs-ofctl dump-flows br0 shows it right.

The purpose of this setup is to measure latency of those ports (using a simple ping).



I invoke a VM, with those 2 ports. It gives those messages:

2016-03-02T17:08:17.410601Z qemu-system-x86_64: -netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce: chardev "char1" went up 2016-03-02T17:08:17.410851Z qemu-system-x86_64: -netdev type=vhost-user,id=mynet2,chardev=char2,vhostforce: chardev "char2" went up



>From within the VM (qemu), I have eth0 and eth1.

I configure them as:

ifconfig eth0 1.1.1.1

ifconfig eth1 1.1.1.2



Ping will fail though:

ping 1.1.1.2 -I eth1 obviously works.

ping 1.1.1.2 -I eth0 fails.



In the host, I wanted to see some statistics, but ovs-ofctl dump-flows br0 fails, with this message:



ovs-ofctl: /usr/local/var/run/openvswitch/br0.mgmt: failed to open socket (Connection refused)



I see that this issue is right after invoking the VM.



1. What do I do wrong?

2. How can I track the packets to see why they are not forwarded correctly?



Thanks,

Eli

-------------------------------------------------------------------------------------------------------------------------------------------------
This email and any files transmitted and/or attachments with it are confidential and proprietary information of
Toga Networks Ltd., and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential
information of Toga Networks Ltd., and is intended only for the individual named. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not
the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on
the contents of this information is strictly prohibited.
------------------------------------------------------------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160303/1d255aa7/attachment-0002.html>


More information about the discuss mailing list