From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by dpdk.org (Postfix) with ESMTP id 094E72C6E for ; Fri, 18 Mar 2016 18:18:22 +0100 (CET) Received: by mail-lf0-f45.google.com with SMTP id d82so23680498lfe.3 for ; Fri, 18 Mar 2016 10:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=li8ApCAXQx6jXqLyuI6BO4z5kGTjWLseYty2gDVp8UQ=; b=mhWt7xbl0CBKD79e0a1cNM2ank0PoydJtSQD1mHSz0VQrKEcF9s39wcO5bkvGZHv8J cxAB1zajyEUulrJtHFmyIWslOkW9Gnzmcs8D3+ZFICoVF2Pftuw2afYHeGL5W6eCA2Tq QLrvX0jE+FJA97k3yZLm7YmIaERYpgIKUjoUXMb7mX0HnWXB+RKLWfTd8dx1w2w2CBAd 7chGibqmXmRZtPlLOUJWPh9BrHdjHLdn16i0isavXcUQr0x2IxwRkhzufM21CzV0vXhe RooTt4tTpc1iyDQDWSJ4f+H7yDwvWkRnZdVosUvsHWr/d+Ln51yV6fSSRjCpTfI6l+kt /hQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=li8ApCAXQx6jXqLyuI6BO4z5kGTjWLseYty2gDVp8UQ=; b=nHmnagKT5jRh+3vbtvBpe2C+7R3H0yndqZPI9NUoyCwYbzZ6y5ggVUwn3hAGuvtoRM t2RfDY55hbvjByg0sZgrwUVFZEjAleBINoAWJ6GBGDyxmNb82zKwbg9wucBjyZ41A73f swZuHYmOWZmp733H1wD7iAhhmY24xPUwEJt689PrRKKlC8QTBobY1LzP5OANJlG6HG9O o+PUxTWwc6ATv10dI7YemSy1HYWf6HQJMgs4KH3GwLIxAgpii7x0X2ofVwFcd5Z4+zkI yWYlDPFnQaGSnfQgq0qT0poRF+npcqFhodYT2BFlZIojilNmD+AMR7VxPmD2HyyuD7HA k8Yw== X-Gm-Message-State: AD7BkJLMB9dhzDwXRZx6XcqXVV82urDcWGb2zzmGOuL1YqrJsV+FhgmJ6fvjUqoVnlyFuepWvHrG3evGzjIlaA== MIME-Version: 1.0 X-Received: by 10.25.218.1 with SMTP id r1mr5070311lfg.63.1458321501696; Fri, 18 Mar 2016 10:18:21 -0700 (PDT) Received: by 10.114.187.207 with HTTP; Fri, 18 Mar 2016 10:18:21 -0700 (PDT) In-Reply-To: References: Date: Fri, 18 Mar 2016 20:18:21 +0300 Message-ID: From: Vladimir Medvedkin To: Murali Krishna Cc: users@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] unable to run l2fwd application due to 'Cause: No Ethernet ports - bye' error X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2016 17:18:22 -0000 Try dpdk_nic_bind.py --bind=3Digb_uio 0000:01:00.0 dpdk_nic_bind.py --bind=3Digb_uio 0000:01:00.1 2016-03-18 18:46 GMT+03:00 Murali Krishna : > > > [root@Rhel67GA-Valencia drivers]# python > /dpdk-2.0.0/tools/dpdk_nic_bind.py --status > > > > Network devices using DPDK-compatible driver > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > Network devices using kernel driver > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > 0000:01:00.2 'OneConnect NIC (Skyhawk)' if=3Dem3 drv=3Dbe2net unused=3D > > 0000:01:00.3 'OneConnect NIC (Skyhawk)' if=3Dem4 drv=3Dbe2net unused=3D > > 0000:82:00.0 'OneConnect NIC (Skyhawk)' if=3Dp1p1 drv=3Dbe2net unused=3D > > 0000:82:00.1 'OneConnect NIC (Skyhawk)' if=3Dp1p2 drv=3Dbe2net unused=3D > > 0000:82:00.2 'OneConnect NIC (Skyhawk)' if=3Dp1p3 drv=3Dbe2net unused=3D > > 0000:82:00.3 'OneConnect NIC (Skyhawk)' if=3Dp1p4 drv=3Dbe2net unused=3D > > 0000:82:00.4 'OneConnect NIC (Skyhawk)' if=3Dp1p5 drv=3Dbe2net unused=3D > > 0000:82:00.5 'OneConnect NIC (Skyhawk)' if=3Dp1p6 drv=3Dbe2net unused=3D > > 0000:82:00.6 'OneConnect NIC (Skyhawk)' if=3Dp1p7 drv=3Dbe2net unused=3D > > 0000:82:00.7 'OneConnect NIC (Skyhawk)' if=3Dp1p8 drv=3Dbe2net unused=3D > > > > Other network devices > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > 0000:01:00.0 'OneConnect NIC (Skyhawk)' unused=3Dbe2net > > 0000:01:00.1 'OneConnect NIC (Skyhawk)' unused=3Dbe2net > > > > *From:* Murali Krishna [mailto:murali.krishna@broadcom.com] > *Sent:* Friday, March 18, 2016 8:56 PM > *To:* 'Vladimir Medvedkin' > *Cc:* 'users@dpdk.org' > *Subject:* RE: [dpdk-users] unable to run l2fwd application due to > 'Cause: No Ethernet ports - bye' error > > > > Hi Vladimir, > > Attached dpdk-2.0.0/tools/dpdk_nic_bind.py file. Let me know if you are > not able to open the attachment. > > > > Thanks, > > Murali > > > > *From:* Vladimir Medvedkin [mailto:medvedkinv@gmail.com] > *Sent:* Friday, March 18, 2016 8:51 PM > *To:* Murali Krishna > *Cc:* users@dpdk.org > *Subject:* Re: [dpdk-users] unable to run l2fwd application due to > 'Cause: No Ethernet ports - bye' error > > > > Hi, > > Show tools/dpdk_nic_bind.py --status > > Regards, > > Vladimir > > > > 2016-03-18 18:11 GMT+03:00 Murali Krishna : > > Hi All, > > > > I am unable to run l2fwd app on linux, due to =E2=80=98Cause: No Ethernet= ports - > bye' error > > > > I am using *DPDK 2.0.0* with *Emulex OCe14102* adapter > > > > [root@Rhel67GA-Valencia DPDK2]# lspci | grep Emulex > > 01:00.0 Ethernet controller: Emulex Corporation OneConnect NIC (Skyhawk) > (rev 10) > > 01:00.1 Ethernet controller: Emulex Corporation OneConnect NIC (Skyhawk) > (rev 10) > > The Emulex oce driver is listed in the list of supported drivers( > http://dpdk.org/doc/nics ) > > > > Below is the detailed information: > > > > [root@Rhel67GA-Valencia DPDK2]# ./l2fwd -c f -n 4 -- -q 8 -p ffff > > EAL: Detected lcore 0 as core 0 on socket 0 > > EAL: Detected lcore 1 as core 0 on socket 1 > > EAL: Detected lcore 2 as core 1 on socket 0 > > EAL: Detected lcore 3 as core 1 on socket 1 > > EAL: Detected lcore 4 as core 2 on socket 0 > > EAL: Detected lcore 5 as core 2 on socket 1 > > EAL: Detected lcore 6 as core 3 on socket 0 > > EAL: Detected lcore 7 as core 3 on socket 1 > > EAL: Detected lcore 8 as core 4 on socket 0 > > EAL: Detected lcore 9 as core 4 on socket 1 > > EAL: Detected lcore 10 as core 5 on socket 0 > > EAL: Detected lcore 11 as core 5 on socket 1 > > EAL: Detected lcore 12 as core 6 on socket 0 > > EAL: Detected lcore 13 as core 6 on socket 1 > > EAL: Detected lcore 14 as core 7 on socket 0 > > EAL: Detected lcore 15 as core 7 on socket 1 > > EAL: Detected lcore 16 as core 0 on socket 0 > > EAL: Detected lcore 17 as core 0 on socket 1 > > EAL: Detected lcore 18 as core 1 on socket 0 > > EAL: Detected lcore 19 as core 1 on socket 1 > > EAL: Detected lcore 20 as core 2 on socket 0 > > EAL: Detected lcore 21 as core 2 on socket 1 > > EAL: Detected lcore 22 as core 3 on socket 0 > > EAL: Detected lcore 23 as core 3 on socket 1 > > EAL: Detected lcore 24 as core 4 on socket 0 > > EAL: Detected lcore 25 as core 4 on socket 1 > > EAL: Detected lcore 26 as core 5 on socket 0 > > EAL: Detected lcore 27 as core 5 on socket 1 > > EAL: Detected lcore 28 as core 6 on socket 0 > > EAL: Detected lcore 29 as core 6 on socket 1 > > EAL: Detected lcore 30 as core 7 on socket 0 > > EAL: Detected lcore 31 as core 7 on socket 1 > > EAL: Support maximum 128 logical core(s) by configuration. > > EAL: Detected 32 lcore(s) > > EAL: Setting up memory... > > EAL: Ask a virtual area of 0x40000000 bytes > > EAL: Virtual area found at 0x7ff3cb600000 (size =3D 0x40000000) > > EAL: Ask a virtual area of 0x40000000 bytes > > EAL: Virtual area found at 0x7ff38b400000 (size =3D 0x40000000) > > EAL: Requesting 512 pages of size 2MB from socket 0 > > EAL: Requesting 512 pages of size 2MB from socket 1 > > EAL: TSC frequency is ~2399998 KHz > > EAL: Master lcore 0 is ready (tid=3Dbb39880;cpuset=3D[0]) > > PMD: ENICPMD trace: rte_enic_pmd_init > > EAL: lcore 1 is ready (tid=3D8a5f0700;cpuset=3D[1]) > > EAL: lcore 2 is ready (tid=3D89bef700;cpuset=3D[2]) > > EAL: lcore 3 is ready (tid=3D891ee700;cpuset=3D[3]) > > EAL: Error - exiting with code: 1 > > Cause: No Ethernet ports =E2=80=93 bye > > > > Please let me know how to proceed on this. > > > > Thanks, > > Murali > > > > > -- > > Regards, > > Vladimir > --=20 Regards, Vladimir