From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from indelg01.tcs.com (indelg01.tcs.com [203.200.109.55]) by dpdk.org (Postfix) with ESMTP id 618F75A68 for ; Tue, 10 Mar 2015 10:02:49 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2A5CgArsv5U/0YgFaxcg1havQuFdAELhW4CgX0BAQEBAQF8hA8BAQECAnkQBQYNBAMBAiEOIS4IBgsIEYgKAx6lZgEBly0NhUABAQEBAQEBAQEBAQEBAQEBAQEBARQEixeCRIIZDAEEBwaCJ00dgRYFimiDJYVmg3QzgmIRgxeJH4JRg0KCIh+BWGcBAYJBAQEB X-IPAS-Result: A2A5CgArsv5U/0YgFaxcg1havQuFdAELhW4CgX0BAQEBAQF8hA8BAQECAnkQBQYNBAMBAiEOIS4IBgsIEYgKAx6lZgEBly0NhUABAQEBAQEBAQEBAQEBAQEBAQEBARQEixeCRIIZDAEEBwaCJ00dgRYFimiDJYVmg3QzgmIRgxeJH4JRg0KCIh+BWGcBAYJBAQEB X-IronPort-AV: E=Sophos;i="5.11,373,1422901800"; d="scan'208";a="61824064" X-DISCLAIMER: FALSE MIME-Version: 1.0 Importance: Normal X-Priority: 3 (Normal) In-Reply-To: References: , From: Arkajit Ghosh To: Ngo Doan Lap Message-ID: Date: Tue, 10 Mar 2015 14:32:15 +0530 X-Mailer: Lotus Domino Web Server Release 9.0.1FP2HF609 December 16, 2014 X-MIMETrack: Serialize by Notes Server on InDelM04/TCS(Release 9.0.1FP2HF609 | December 16, 2014) at 03/10/2015 14:32:15, Serialize complete at 03/10/2015 14:32:16, Itemize by Notes Server on InDelM04/TCS(Release 9.0.1FP2HF609 | December 16, 2014) at 03/10/2015 14:32:16, Serialize by Router on InDelM04/TCS(Release 9.0.1FP2HF609 | December 16, 2014) at 03/10/2015 14:32:17, Serialize complete at 03/10/2015 14:32:17 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] #PERSONAL# Guest Machine is not Pingable from Host Machine X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2015 09:02:51 -0000 Hi, Ok. Thanks a lot. Give me some time. I will go through the .pdf file page n= umbers as you mentioned. Once done I will let you know.=20 Once a again thanks a lot for your support and quick response.=20 Thanks & Regards Arkajit Ghosh =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F -----Ngo Doan Lap wrote: ----- To: Arkajit Ghosh From: Ngo Doan Lap Date: 03/10/2015 01:36PM Cc: dev@dpdk.org Subject: Re: #PERSONAL#[dpdk-dev] Guest Machine is not Pingable from Host M= achine Hi, You need use=A0dpdkvhost=A0port for VM, not dpdk=A0port. For example, here is the log 9029690c-9544-4ad0-aa41-b018c1a755e2 =A0 =A0 Bridge "br1" =A0 =A0 =A0 =A0 Port "dpdkvhost1" =A0 =A0 =A0 =A0 =A0 =A0 Interface "dpdkvhost1" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 type: dpdkvhost =A0 =A0 =A0 =A0 Port "br1" =A0 =A0 =A0 =A0 =A0 =A0 Interface "br1" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 type: internal =A0 =A0 =A0 =A0 Port "dpdk0" =A0 =A0 =A0 =A0 =A0 =A0 Interface "dpdk0" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 type: dpdk =A0 =A0 =A0 =A0 Port "dpdk1" =A0 =A0 =A0 =A0 =A0 =A0 Interface "dpdk1" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 type: dpdk =A0 =A0 =A0 =A0 Port "dpdkvhost0" =A0 =A0 =A0 =A0 =A0 =A0 Interface "dpdkvhost0" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 type: dpdkvhost =A0 Please refer to this link=A0https://01.org/sites/default/files/page/int= el=5Fonp=5Fserver=5Frelease=5F1.2=5Fbenchmark=5Ftest=5Freport=5Fv1.0.pdf (Page 40,41,...53..) It will help you to setup=A0OVS correctly. On Tue, Mar 10, 2015 at 12:17 PM, Arkajit Ghosh wro= te: =20 Hi, Please find the attachement. Thanks & Regards Arkajit Ghosh =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F -----Ngo Doan Lap wrote: ----- To: Arkajit Ghosh From: Ngo Doan Lap Date: 03/10/2015 10:25AM Cc: dev@dpdk.org Subject: Re: #PERSONAL#[dpdk-dev] Guest Machine is not Pingable from Host M= achine Hi=A0Arkajit, I can't find your attachment. On Tue, Mar 10, 2015 at 10:23 AM, Arkajit Ghosh wro= te: =20 Hi, Can any one please suggest how to proceed now.=20 Thanks & Regards Arkajit Ghosh =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F -----Arkajit Ghosh/DEL/TCS wrote: ----- To: Ngo Doan Lap From: Arkajit Ghosh/DEL/TCS Date: 03/09/2015 09:39AM Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Guest Machine is not Pingable from Host Machine Hi,=20 I have executed below commands: ./utilities/ovs-vsctl add-br ovsbr0 ./utilities/ovs-vsctl set bridge datapath=5Ftype=3Dnetdev ./utilities/ovs-vsctl add-port ovsbr0 dpdk0 -- set Interface dpdk0 type=3Dd= pdk ./utilities/ovs-vsctl add-port ovsbr0 dpdk1 -- set Interface dpdk1 type=3Dd= pdk ./utilities/ovs-vsctl show Please find the attachement for bridge and dpdk-port creation.. Now, If i do "ifconfig -a" the created bridge ovsbr0 is showing Broadcast R= unning and Multicast but ip address was not given. So i had assign an IP-ad= dress to ovsbr0 which previously Eth1 had.=20 So, now I try to ping this guest machine ip address from its host.=A0 Here = is the output.=20 ping 192.168.1.7 PING 192.168.1.7 (192.168.1.7) 56(84) bytes of data. >>From 192.168.1.40 icmp=5Fseq=3D1 Destination Host Unreachable >>From 192.168.1.40 icmp=5Fseq=3D5 Destination Host Unreachable >>From 192.168.1.40 icmp=5Fseq=3D6 Destination Host Unreachable >>From 192.168.1.40 icmp=5Fseq=3D7 Destination Host Unreachable >>From 192.168.1.40 icmp=5Fseq=3D8 Destination Host Unreachable >>From 192.168.1.40 icmp=5Fseq=3D9 Destination Host Unreachable I believe it should be pinged from its host machine. Can please let=A0 me k= now what is the issue and how to proceed. Thanks & Regards Arkajit Ghosh =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F -----Ngo Doan Lap wrote: ----- To: Arkajit Ghosh From: Ngo Doan Lap Date: 03/06/2015 08:52PM Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Guest Machine is not Pingable from Host Machine Hi, Can you show the log output of OVS? and the ouput of following command cd path/to/ovs/utilities/ =A0./ovs-ofctl show br0 =A0./ovs-ofctl dump-flows br0 (Assum that br0 is a bridge name that you had created) On Fri, Mar 6, 2015 at 10:14 PM, Arkajit Ghosh wrot= e: Hi, =20 Can anyone please suggest how to proceed. =20 =20 Thanks & Regards Arkajit Ghosh =20 -----Arkajit Ghosh/DEL/TCS wrote: ----- To: dev@dpdk.org From: Arkajit Ghosh/DEL/TCS Date: 03/04/2015 12:39PM Subject: Guest Machine is not Pingable from Host Machine =20 Hi Team, =20 Guest machine is not pingable from Host machine after creating a bridge wi= th datapath=5Ftype "netdev" in the configuration database and adding=A0 dpd= k ports. Can anyone please let me know what is the issue. =20 Thanks in advance. =20 Thanks & Regards Arkajit Ghosh =20 =20 =3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you =20 =20 =20 --=20 Thanks and Best Regards, Ngo Doan Lap Mobile: 0977.833.757 =20 [attachment "DPDK=5FOutput=5FResult.odt" removed by Arkajit Ghosh/DEL/TCS] = --=20 Thanks and Best Regards, Ngo Doan Lap Mobile: 0977.833.757 =20 --=20 Thanks and Best Regards, Ngo Doan Lap Mobile: 0977.833.757 =20 >From david.marchand@6wind.com Tue Mar 10 10:08:25 2015 Return-Path: Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com [209.85.214.179]) by dpdk.org (Postfix) with ESMTP id 3F83C683D for ; Tue, 10 Mar 2015 10:08:25 +0100 (CET) Received: by obcwp18 with SMTP id wp18so206595obc.1 for ; Tue, 10 Mar 2015 02:08:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=2s67r5LvFijGyGxIoW1y/VSxjaaAYg0Et+v6tKCHhQc=; b=J22zUxZIbEmpQJF21aEnzjEd6eJcGB96eWJgnvlByw4PJAoeH0rduyecYeixDmi6Eq lD4Ii8HVIEcXclOz+GVjq7JpOBcL8m6XUeqe+7kuHKy8TXR4jq3qUp8WU+h9XoEXz/oQ FrA8mCUH6jqu/7p1npmfApor2QXMfJLtaDmPTO0GEERpk4vE8mIpFGMPku5B4ZQk0s2f fhPu3slfTwSdtdSZzW44+dl9b5ZSy/JWBa5aLHg/DJMn7gQonkq7WSkEQB/iZMC1j7b+ b4DjnsISYaRwKA7sgu8p2D7sCzp5ie9S8M831kYkLCWpeJWXtz2S6p21bXdLPxNnGrwM I+/g== X-Gm-Message-State: ALoCoQlzYhrT9UpuHf7IC+5soZWs50KwFY+gIl8Ak6A8JK4toarcJa29pGOTYMQ/Bc5gu+b0rSko MIME-Version: 1.0 X-Received: by 10.202.108.137 with SMTP id h131mr23718734oic.90.1425978504561; Tue, 10 Mar 2015 02:08:24 -0700 (PDT) Received: by 10.76.34.35 with HTTP; Tue, 10 Mar 2015 02:08:24 -0700 (PDT) In-Reply-To: <20150309152106.GA24326@hmsreliant.think-freely.org> References: <1425912999-13118-1-git-send-email-david.marchand@6wind.com> <1425912999-13118-2-git-send-email-david.marchand@6wind.com> <20150309152106.GA24326@hmsreliant.think-freely.org> Date: Tue, 10 Mar 2015 10:08:24 +0100 Message-ID: From: David Marchand To: Neil Horman Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH 1/2] eal/linux: move plugin load to very start of eal init X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2015 09:08:25 -0000 Hello Neil, On Mon, Mar 9, 2015 at 4:21 PM, Neil Horman wrote: > On Mon, Mar 09, 2015 at 03:56:38PM +0100, David Marchand wrote: > > Loading shared libraries should be done at the very start of eal init so > that > > the code statically built in dpdk and the code loaded from shared > objects is > > handled (almost) the same way wrt to call to rte_eal_init(). > > The only thing that must be done before is filling the solib_list which > is done > > by eal_parse_args(). > > > > > I don't see anything explicitly wrong with this, but at the same time it > doesn't > seem to fix anything. Is there a particular bug that you're fixing in > relation > to your cover letter here? Or is there some expectation that PMD's loaded > in > this fashion expect the dpdk to be completely uninitalized? That would > seem > like a strange operational requirement to me. > Well, at first, I wanted to fix the virtio pmd init issue (iopl() not called at the right place wrt to other pthreads created in rte_eal_init()). With next patch, this issue is fixed for statically builtin virtio pmd, but for virtio pmd as a shared object, the dlopen comes too late. So, yes, I moved the dlopen() for this reason. >>From a more general point of view, since we support both static and dso pmds, I would say that this is more logical to have dlopen comes very early, since static code is "loaded" even earlier : if the current pmds needed more than just register to the driver list, they would already have triggered segfaults and/or bugs. I know this change comes really late for 2.0. I am open to other ideas but I don't want to see more #ifdef in eal.c (especially for a pmd), this is a non sense. I would say that at least the patch 2 is needed for 2.0 : it fixes the static case, but without patch 1 virtio pmd triggers a segfault on interrupt receipt when built as a dso. -- David Marchand