From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pxv3620@g.rit.edu>
Received: from mx03b-out01ag.rit.edu (mx03b-out01ag.rit.edu [129.21.3.135])
 by dpdk.org (Postfix) with ESMTP id 4AA2E1D90
 for <users@dpdk.org>; Tue, 12 Dec 2017 14:33:55 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;
 d=rit.edu; i=@rit.edu; q=dns/txt; s=rit1608;
 t=1513085637; x=1544621637;
 h=mime-version:in-reply-to:references:date:message-id:
 subject:to:cc:reply-to:from;
 bh=71u2SwoRqNIs11Z7EIA96LorH4w+hE97oP/cxpIH29U=;
 b=W5rOM3bG2yh/1uL+usHVIuSQgZ/E2NZVZdx6eQEueziB9z4imQ5kViqA
 uPUcTxBzwz2A+9jEj3HAxOFpmR9u+GmGGnoGp7/0k79zG5gYWy7SVKGVp
 4wP7Al1flN2u/5BbNHk7vy4bTlBcFz2z3H35ng3mIfZtrUYhJkF0+Hu9F g=;
From: Pragash Vijayaragavan <pxv3620@rit.edu>
X-IronPort-AV: E=Sophos;i="5.45,395,1508817600"; 
 d="scan'208,217";a="164390235"
Received: from mail-vk0-f71.google.com ([209.85.213.71])
 by smtp-server.rit.edu with ESMTP/TLS/AES128-GCM-SHA256;
 12 Dec 2017 08:33:56 -0500
Received: by mail-vk0-f71.google.com with SMTP id f124so11051217vkd.16
 for <users@dpdk.org>; Tue, 12 Dec 2017 05:33:55 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:reply-to:in-reply-to:references
 :from:date:message-id:subject:to:cc;
 bh=njluxK+ipuidsKitH0EUI2VSUhsbyhV7uDHc1lEuJ3Y=;
 b=QPN2JYkRNNCfuyOldrsXDlHxz9opSFQ5ssyCgTNWhkow4sgY9cwJbSbFfoGb9HrsrQ
 hDc7noi9unE6lIbkvQl3qDzYRl8NiYKDdcsazDBhwtm/l3hspu+SEX8KEKRrOtt8E32u
 gd/jINWrv4etKLYKRL4sf72nB10Zt6EPvurjCcjqbLpocZx2Z980bWBndxW6F/3VrpPT
 4VftF7Sa2S4f/i892OGXU+PGjl5YQGJnCWyRZwkMskC5VKK2fbbGsjn88r57J0MjpPDV
 s6vyMxUi5Wk9LlQDLrJ28FY605nh44uyUryllmItVuzuwApivSGByaWAEdLgG2zQ7LRi
 +8Pg==
X-Gm-Message-State: AKGB3mIBBtl56PWNnzsDAcJbcwoJci05QcisX6vZzl4sJJa60KcRhVea
 pjR2vhGpEKns+ay+1O6VlwV3aWpMCK/TEJl/7nFkOCfOJWHvSm05P5eIm4wp68LNe+MPVRM/BxG
 8Spr1zm17SDhGYv+0AHqkV9kgNM3AZQ2L
X-Received: by 10.176.27.18 with SMTP id d18mr4390368uai.78.1513085634837;
 Tue, 12 Dec 2017 05:33:54 -0800 (PST)
X-Google-Smtp-Source: ACJfBov75rLlFJRkHumZM2MSnHMQpeUcO1ewumSuCZ3/+PLqzIxnv4qGE4JQqgtc3W3/0L1X5MLvMt8XWzdByWo7USc=
X-Received: by 10.176.27.18 with SMTP id d18mr4390353uai.78.1513085634504;
 Tue, 12 Dec 2017 05:33:54 -0800 (PST)
MIME-Version: 1.0
Received: by 10.176.76.81 with HTTP; Tue, 12 Dec 2017 05:33:53 -0800 (PST)
In-Reply-To: <E6A390FF2129134EB58BFFFFDFFB5A844DFF28EB@ExMbx1.ul.campus>
References: <E6A390FF2129134EB58BFFFFDFFB5A844DFF28EB@ExMbx1.ul.campus>
Date: Tue, 12 Dec 2017 08:33:53 -0500
Message-ID: <CANp7S23eM=xVU+yFN-4YaJ52f2PH8vXG-U-4-vN+D7YwMHUJsg@mail.gmail.com>
To: "Hristo.Trifonov" <Hristo.Trifonov@ul.ie>
Cc: "users@dpdk.org" <users@dpdk.org>
Content-Type: text/plain; charset="UTF-8"
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
Reply-To: pxv3620@rit.edu
List-Id: DPDK usage discussions <users.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Dec 2017 13:33:56 -0000

This did not work as well.

Below is the error and config outputs


pragash@revvit:~/dpdk-stable-17.05.2/examples/l3fwd/build$ sudo  ./l3fwd -c
0xE --no-huge -- -p 0x03 -L --config="(0,0,1),(1,0,2)" --parse-ptype
EAL: Detected 20 lcore(s)
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: Started without hugepages support, physical addresses not available
EAL: PCI device 0000:02:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: PCI device 0000:02:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: PCI device 0000:04:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: Requested device 0000:04:00.0 cannot be used
EAL: PCI device 0000:04:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: Requested device 0000:04:00.1 cannot be used
EAL: PCI device 0000:08:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:08:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb
L3FWD: Longest-prefix match selected
soft parse-ptype is enabled
ports   ---- 0
port 0 is not present on the board
EAL: Error - exiting with code: 1
  Cause: check_port_config failed



Network devices using DPDK-compatible driver
============================================
0000:04:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=igb_uio
unused=vfio-pci
0000:04:00.1 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=igb_uio
unused=vfio-pci

Network devices using kernel driver
===================================
0000:02:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' if=eth13
drv=i40e unused=igb_uio,vfio-pci
0000:02:00.1 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' if=eth12
drv=i40e unused=igb_uio,vfio-pci
0000:08:00.0 'I350 Gigabit Network Connection 1521' if=eth0 drv=igb
unused=igb_uio,vfio-pci *Active*
0000:08:00.1 'I350 Gigabit Network Connection 1521' if=eth2 drv=igb
unused=igb_uio,vfio-pci

Other Network devices
=====================
<none>




Thanks,

Pragash Vijayaragavan
Grad Student at Rochester Institute of Technology
email : pxv3620@rit.edu
ph : 585 764 4662


On Tue, Dec 12, 2017 at 7:47 AM, Hristo.Trifonov <Hristo.Trifonov@ul.ie>
wrote:

> Please use only 2 ports with 1RX queue and 1 TX queue each to get l3fwd
> running. Try with these 2 below.
> 0000:02:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=igb_uio
> unused=vfio-pci
> 0000:02:00.1 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=igb_uio
> unused=vfio-pci
>
> You can use more ports/queues but then you'll have to change the -config
> option depending on how many cores do you want to use.
>
> The cmd that I've provided in my previous post is specifically for 2 ports
> with 1RX and TX queue each and 2 cores.
>
> I suggest that you restart your machine, if possible, to unbind all ports
> from igb_uio and start from scratch.
> Otherwise use the dpdk-seup.py script to do the clean-up.
>
> Hristo T.
>
>