From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by dpdk.org (Postfix) with ESMTP id E9030B36E for ; Mon, 4 Aug 2014 21:50:48 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 04 Aug 2014 12:53:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,800,1400050800"; d="scan'208";a="464851077" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by azsmga001.ch.intel.com with ESMTP; 04 Aug 2014 12:53:06 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.131]) by IRSMSX102.ger.corp.intel.com ([169.254.2.12]) with mapi id 14.03.0195.001; Mon, 4 Aug 2014 20:53:05 +0100 From: "Richardson, Bruce" To: Anjali Kulkarni , "dev@dpdk.org" Thread-Topic: Question on using SR-IOV with dpdk apps Thread-Index: AQHPsBxtjtrzyX+mnkmjaIsd01qZlJvAY4iAgAB3MnA= Date: Mon, 4 Aug 2014 19:53:04 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B0343D4EE6@IRSMSX103.ger.corp.intel.com> References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] Question on using SR-IOV with dpdk apps 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: Mon, 04 Aug 2014 19:50:49 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Anjali Kulkarni > Sent: Monday, August 04, 2014 12:45 PM > To: dev@dpdk.org > Subject: Re: [dpdk-dev] Question on using SR-IOV with dpdk apps >=20 > Forgot to clarify, this is a specialized app, and the first parameter of > each () is the dpdk port no. >=20 > On 8/4/14 12:43 PM, "Anjali Kulkarni" wrote: >=20 > >Hi, > > > >I am using SR-IOV and pass through to run a DPDK app. I am running it on > >host. SR-IOV should split the NIC into multiple Vfs. I have split each N= IC > >into 2 Vfs. However, when I run the DPDK app, I get error initializing t= he > >port no.2 of DPDK. > >I am running the app with these options: > >--rx "(0,0,0,1),(1,0,2,1), (2,0,3,1), (3,0,4,1)" --tx "(0,1), (1,1), > >(2,1), (3,1)" > > > >This is for 2 physical NICs, each having 2 Vfs. The error I get is: > > > >Initializing NIC port 0 ... | > >|RPIOIF DETACHED > >|Initializing NIC port 0 RX queue 0 ... | > >| > >|Initializing NIC port 0 TX queue 0 ... | > >|HOSTIF DETACHED > >|Initializing NIC port 1 ... | > >| > >|Initializing NIC port 1 RX queue 0 ... | > >| > >|Initializing NIC port 1 TX queue 0 ... | > >| > >|Initializing NIC port 2 ... | > >| > >|PANIC in app_init_nics(): | > >| > >|Cannot init NIC port 2 (-22) > > > > > >Can someone pls clarify how DPDK views it's port nos, i.e. Scans the > >devices and sees each nic? I see 4 /dev/uioX devices. I assume it scans > >for these igb_uio devices. These are present. Then why can it not detect > >the other 2 NICs? > > > >Thanks > >Anjali > > Hi, For debugging issues with PCI devices not being found, can you please inclu= de the output from the EAL on startup, especially any messages concerning t= he PCI bus scan being done. Regards, /Bruce