From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeHez-00035j-Tx for qemu-devel@nongnu.org; Tue, 22 Sep 2015 03:06:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZeHet-0001vi-Lu for qemu-devel@nongnu.org; Tue, 22 Sep 2015 03:06:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeHet-0001vR-DU for qemu-devel@nongnu.org; Tue, 22 Sep 2015 03:06:35 -0400 References: <55FFBEF6.3020000@redhat.com> <56004D9C.5060501@redhat.com> From: Marcel Apfelbaum Message-ID: <5600FDF8.40705@redhat.com> Date: Tue, 22 Sep 2015 10:06:32 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [wiki] New wiki page - vhost-user setup with ovs/dpdk backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Star Chang Cc: qemu-devel@nongnu.org On 09/22/2015 08:43 AM, Star Chang wrote: > Thanks Marcel!!! > > After tailing the logs and basic troubleshooting, we finally can have 2= VMs to ping to each other. One dpdkvhostuser interface is for each VM an= d we have to new add flows based on dpdkvhostuser ofport > numbers. Hi, Good to hear this! If you think I should add something to the wiki please do tell. > > Another issue we might post it to proper mail loop is that we run pktge= n-dpdk 2.9.1 inside of VM but no packets counted from pktgen terminal dis= play. It is so weird that we only see 128 tx packets > bursted out and then nothing is continue working. After that, we try to= dump-flows via ovs-ofctl utility but it shows "connection refued". I am = not sure have any one of you guys ideas here? Thanks!!! > I am sorry but my OVS knowledge is rather limited. I think this is a ques= tion for the OVS mailing list. Thanks, Marcel > > Bridge "ovsbr0" > > Port "ovsbr0" > > Interface "ovsbr0" > > type: internal > > Port "dpdk1" > > Interface "dpdk1" > > type: dpdk > > Port "dpdk0" > > Interface "dpdk0" > > type: dpdk > > Port "vhost-user1" > > Interface "vhost-user1" > > type: dpdkvhostuser > > Port "vhost-user0" > > Interface "vhost-user0" > > type: dpdkvhostuser > > > On Tue, Sep 22, 2015 at 2:34 AM, Marcel Apfelbaum > wrote: > > On 09/21/2015 11:25 AM, Marcel Apfelbaum wrote: > > On 09/21/2015 08:01 AM, Star Chang wrote: > > Hi Marcel: > > Many thanks for you to contribute wiki page in how to confi= guring vhost-user type with openvsitch/qemu in VM environment. > > We bring 2 VMs up with vhost-user type. We can see eth0 int= erfaces created in 2 VMs with proper mac address we assign. After IP addr= ess assignment, 2 VMs could not PING to each other when > they are in > the same subnet. There are not packets at all in count when= running ovs-ofctl dump-ports :( > > However, we check link up state via ovs-ofctl utility but L= INK_DOWN as below. Have any one with experiences and give some helps =E2=80= =A6 Thanks!! > > > Hi, > > I would look into OVS log for specific issues: > > journalctl --since `date +%T --date=3D"-10 minutes"` > > The above command will show you the last 10 minutes log. > You are welcomed to show us the log. > > > I forgot to CC the list. > > Thanks, > Marcel > > > Thanks, > Marcel > > $ sudo ./utilities/ovs-ofctl show ovsbr0 > OFPT_FEATURES_REPLY (xid=3D0x2): dpid:00000670da615e4a > n_tables:254, n_buffers:256 > capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS= ARP_MATCH_IP > actions: output enqueue set_vlan_vid set_vlan_pcp strip_vla= n mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_t= p_dst > 1(vhost-user1): addr:00:00:00:00:00:00 > config: PORT_DOWN > state: LINK_DOWN > speed: 0 Mbps now, 0 Mbps max > 2(vhost-user2): addr:00:00:00:00:00:00 > config: PORT_DOWN > state: LINK_DOWN > speed: 0 Mbps now, 0 Mbps max > LOCAL(ovsbr0): addr:06:70:da:61:5e:4a > config: PORT_DOWN > state: LINK_DOWN > current: 10MB-FD COPPER > speed: 10 Mbps now, 0 Mbps max > OFPT_GET_CONFIG_REPLY (xid=3D0x4): frags=3Dnormal miss_send= _len=3D0 > > > > Thanks, > Star > > -- > The future belongs to those who believe in the beauty of th= eir dreams. > > > > > > > > -- > The future belongs to those who believe in the beauty of their dreams. > >