From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0189.outbound.protection.outlook.com [207.46.163.189]) by dpdk.org (Postfix) with ESMTP id 4149958E6 for ; Mon, 4 Aug 2014 21:41:38 +0200 (CEST) Received: from BL2PR05MB113.namprd05.prod.outlook.com (10.255.232.20) by BL2PR05MB114.namprd05.prod.outlook.com (10.255.232.24) with Microsoft SMTP Server (TLS) id 15.0.995.14; Mon, 4 Aug 2014 19:43:56 +0000 Received: from BL2PR05MB113.namprd05.prod.outlook.com ([169.254.1.253]) by BL2PR05MB113.namprd05.prod.outlook.com ([169.254.1.4]) with mapi id 15.00.0995.014; Mon, 4 Aug 2014 19:43:56 +0000 From: Anjali Kulkarni To: "dev@dpdk.org" Thread-Topic: Question on using SR-IOV with dpdk apps Thread-Index: AQHPsBxtjtrzyX+mnkmjaIsd01qZlA== Date: Mon, 4 Aug 2014 19:43:55 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.9.131030 x-originating-ip: [66.129.239.14] x-microsoft-antispam: BCL:0;PCL:0;RULEID: x-forefront-prvs: 0293D40691 x-forefront-antispam-report: SFV:NSPM; SFS:(6009001)(189002)(199002)(92726001)(92566001)(83072002)(85852003)(79102001)(101416001)(229853001)(77982001)(81542001)(4396001)(66066001)(81342001)(80022001)(86362001)(77096002)(21056001)(106116001)(2351001)(107886001)(105586002)(110136001)(107046002)(85306004)(95666004)(106356001)(99286002)(50986999)(2656002)(46102001)(87936001)(54356999)(83506001)(76482001)(31966008)(74662001)(64706001)(83322001)(36756003)(99396002)(85806002)(74502001)(20776003); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR05MB114; H:BL2PR05MB113.namprd05.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: juniper.net Subject: [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:41:38 -0000 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