From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anjali Kulkarni Subject: Question on using SR-IOV with dpdk apps Date: Mon, 4 Aug 2014 19:43:55 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: "dev-VfR2kkLFssw@public.gmane.org" Return-path: Content-Language: en-US Content-ID: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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 NIC into 2 Vfs. However, when I run the DPDK app, I get error initializing the 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 =20 |Initializing NIC port 0 RX queue 0 ... | | =20 |Initializing NIC port 0 TX queue 0 ... | |HOSTIF DETACHED =20 |Initializing NIC port 1 ... | | =20 |Initializing NIC port 1 RX queue 0 ... | | =20 |Initializing NIC port 1 TX queue 0 ... | | =20 |Initializing NIC port 2 ... | | =20 |PANIC in app_init_nics(): | | =20 |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