Forgot to clarify, this is a specialized app, and the first parameter of each () is the dpdk port no.
On 8/4/14 12:43 PM, "Anjali Kulkarni" <anjali at juniper.net> wrote: >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 >|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 >