From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from MARSHAL4.ul.ie (marshal4.ul.ie [193.1.100.137]) by dpdk.org (Postfix) with ESMTP id 130B71D8E for ; Tue, 12 Dec 2017 11:54:10 +0100 (CET) Received: from exCas2.ul.campus (Not Verified[193.1.97.102]) by MARSHAL4.ul.ie with Trustwave SEG (v7, 5, 8, 10121) id ; Tue, 12 Dec 2017 10:54:10 +0000 Received: from EXMBX1.ul.campus ([fe80::a4c7:3a87:d355:1b0d]) by exCas2.ul.campus ([2002:c101:6166::c101:6166]) with mapi id 14.03.0361.001; Tue, 12 Dec 2017 10:54:10 +0000 From: Hristo.Trifonov To: "users@dpdk.org" Thread-Topic: Re: port 0 not present on board error Thread-Index: AdNzNTXLXjkVAj9DSUybPchIMHxR8A== Date: Tue, 12 Dec 2017 10:54:09 +0000 Message-ID: Accept-Language: en-IE, en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.50.18.45] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] port 0 not present on board error X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2017 10:54:11 -0000 If your nb_ports =3D 0 shows that you haven't bind/provided any ports to d= pdk. Just verify that the ports that you want to use with dpdk (igb_uio) are ava= ilable on the machine. This means that they are not used for anything else but dpdk. Before you attempt to bind any ports to igb_uio, from the terminal check wh= at ports are available on the machine using nmcli d or any other utility. Load the igb_uio kernel module using the dpdk_setup script in dpdk/usertoo= ls Then use the dpdk_dev_bind or dpdk_setup script to bind the selected ports= to igb_uio. Verify that the ports are using the igb_uio with the dpdk_setup script. Th= ere is an option there for that. If you are using 2 ports (-p 0x3), use 2 lcores (-c 0xE) core 2 and core 3 = in this case. Complete the cmd like this: pragash@revvit:~/dpdk-stable-17.05.2/examples/l3fwd/build$ ./l3fwd -c 0xE --no-huge= -- -p 0x03 -L --config=3D"(0,0,1),(1,0,2)" --parse-ptype If you want to use more lcores you must then change the -config option to r= eflect the situation in terms of (port,queue,lcore) Hristo T.