From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeOwm-00022b-Te for qemu-devel@nongnu.org; Tue, 22 Sep 2015 10:53:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZeOwk-0001aH-3v for qemu-devel@nongnu.org; Tue, 22 Sep 2015 10:53:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeOwj-0001Zy-T0 for qemu-devel@nongnu.org; Tue, 22 Sep 2015 10:53:30 -0400 References: <55FFBEF6.3020000@redhat.com> <56004D9C.5060501@redhat.com> <1678940791.84276144.1442931432347.JavaMail.zimbra@oxygem.tv> From: Marcel Apfelbaum Message-ID: <56016B66.8000304@redhat.com> Date: Tue, 22 Sep 2015 17:53:26 +0300 MIME-Version: 1.0 In-Reply-To: <1678940791.84276144.1442931432347.JavaMail.zimbra@oxygem.tv> 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: Alexandre DERUMIER , Star Chang Cc: qemu-devel On 09/22/2015 05:17 PM, Alexandre DERUMIER wrote: > Hi, > > Ovs documentation say that 1GB hugepage are needed > https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md > > is is true ? (as the wiki say 2M hugepages) Not for this scenario :) . For this one 2M hugepages are enough (tested a= lready by a few developers), try it in your laptop! Thanks, Marcel > > > ----- Mail original ----- > De: "Star Chang" > =C3=80: "Marcel Apfelbaum" > Cc: "qemu-devel" > Envoy=C3=A9: Mardi 22 Septembre 2015 07:43:13 > Objet: Re: [Qemu-devel] [wiki] New wiki page - vhost-user setup with ov= s/dpdk backend > > 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. > > > 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-of= ctl utility but it shows "connection refued". I am not sure have any one = of you guys ideas here? Thanks!!! > > > > > > 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 < marcel@redhat.com >= wrote: > > > On 09/21/2015 11:25 AM, Marcel Apfelbaum wrote: > > BQ_BEGIN > On 09/21/2015 08:01 AM, Star Chang wrote: > > BQ_BEGIN > Hi Marcel: > > Many thanks for you to contribute wiki page in how to configuring vhost= -user type with openvsitch/qemu in VM environment. > > We bring 2 VMs up with vhost-user type. We can see eth0 interfaces crea= ted in 2 VMs with proper mac address we assign. After IP address assignme= nt, 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 LINK_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. > > > BQ_END > > I forgot to CC the list. > > Thanks, > Marcel > > > > BQ_BEGIN > Thanks, > Marcel > > > BQ_BEGIN > $ 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_I= P > actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src= mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_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 >