From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 351615937 for ; Fri, 18 Mar 2016 19:08:30 +0100 (CET) Received: by mail-wm0-f53.google.com with SMTP id l68so40591423wml.0 for ; Fri, 18 Mar 2016 11:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:references:in-reply-to:mime-version:thread-index:date :message-id:subject:to:cc; bh=H2TPfybrded0cx5rObTJbNBAdC9D3F5KqAknr3jaYN4=; b=ZaVfzzcGprgfrhYhhDmyDKQroCUTQAOWNIjBKA39qurDZNx0F8LHrMwjwtwZCZ2TlO nkwTQF2D3QuHwRysmDTAPz9BObV/k3BIC0i6h614pO7rQjKmH4fVMODskoeMi6iumq5Q QAL8SNrJEgA/vAxul4EMmSjX6EUk4YhGMNE/A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc; bh=H2TPfybrded0cx5rObTJbNBAdC9D3F5KqAknr3jaYN4=; b=bkj69q9Hw4OEoiAOS8tmzwFWPPEfZwgjGtoDl/Z9V7rgcVXXeCHD4VbinSEZVWcv/l XN/JgnwK2PiC2uWaO1lkcPuazzHeq4S8ZqhxjI/xWb75hOqBWRCrYAhWbr1VItyDu37P AkKt/Bq5LlroJxzu8hRy9a9v5qlQQ2mUv4DUTsHWYJScKEiLPaSylb5QMpcyRE2f8Erf 9et/u84dxfY4yyO1e1yfMW7u7l6WqNkwOsonMPoJdB9AyfQxapBSlfmILC6YUEmwMIsa /VqL03CQbdeevpFG1lLwnuNStdPAnCRpFb784ZVXH2pc0BgFEPuVBHjO7Bz8biNrZUo/ a6mw== X-Gm-Message-State: AD7BkJIkQy/MuctrQpZy0Z6bRxPKcF3Re33phWSd+Urg+wlyCDUu3mWhIkCvUPx4lKY2if4un8Sdu61QPZlGvL9/ X-Received: by 10.28.50.133 with SMTP id y127mr720329wmy.4.1458324509835; Fri, 18 Mar 2016 11:08:29 -0700 (PDT) From: Murali Krishna References: In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGq7aBDmVBNJPFLOXe+RL8CFh1m1QFkUVy/AcgOIxgBmCHyqJ+GgemA Date: Fri, 18 Mar 2016 23:38:24 +0530 Message-ID: To: Vladimir Medvedkin 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 18:08:30 -0000 Still seeing the same issue. [root@Rhel67GA-Valencia drivers]# insmod /dpdk-2.0.0/build/kmod/igb_uio.ko [root@Rhel67GA-Valencia drivers]# python /dpdk-2.0.0/tools/dpdk_nic_bind.py --bind=3Digb_uio 0000:01:00.0 [root@Rhel67GA-Valencia drivers]# python /dpdk-2.0.0/tools/dpdk_nic_bind.py --bind=3Digb_uio 0000:01:00.1 [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 0000:01:00.0 'OneConnect NIC (Skyhawk)' drv=3Digb_uio unused=3Dbe2net 0000:01:00.1 'OneConnect NIC (Skyhawk)' drv=3Digb_uio unused=3Dbe2net 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=3Digb_= uio 0000:01:00.3 'OneConnect NIC (Skyhawk)' if=3Dem4 drv=3Dbe2net unused=3Digb_= uio 0000:82:00.0 'OneConnect NIC (Skyhawk)' if=3Dp1p1 drv=3Dbe2net unused=3Digb= _uio 0000:82:00.1 'OneConnect NIC (Skyhawk)' if=3Dp1p2 drv=3Dbe2net unused=3Digb= _uio 0000:82:00.2 'OneConnect NIC (Skyhawk)' if=3Dp1p3 drv=3Dbe2net unused=3Digb= _uio 0000:82:00.3 'OneConnect NIC (Skyhawk)' if=3Dp1p4 drv=3Dbe2net unused=3Digb= _uio 0000:82:00.4 'OneConnect NIC (Skyhawk)' if=3Dp1p5 drv=3Dbe2net unused=3Digb= _uio 0000:82:00.5 'OneConnect NIC (Skyhawk)' if=3Dp1p6 drv=3Dbe2net unused=3Digb= _uio 0000:82:00.6 'OneConnect NIC (Skyhawk)' if=3Dp1p7 drv=3Dbe2net unused=3Digb= _uio 0000:82:00.7 'OneConnect NIC (Skyhawk)' if=3Dp1p8 drv=3Dbe2net unused=3Digb= _uio Other network devices =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [root@Rhel67GA-Valencia drivers]# cd /DPDK2 [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 0x7f93e9000000 (size =3D 0x40000000) EAL: Ask a virtual area of 0x40000000 bytes EAL: Virtual area found at 0x7f93a8e00000 (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 ~2399999 KHz EAL: Master lcore 0 is ready (tid=3D295ce880;cpuset=3D[0]) PMD: ENICPMD trace: rte_enic_pmd_init EAL: lcore 1 is ready (tid=3Da7ff0700;cpuset=3D[1]) EAL: lcore 2 is ready (tid=3Da75ef700;cpuset=3D[2]) EAL: lcore 3 is ready (tid=3Da6bee700;cpuset=3D[3]) EAL: Error - exiting with code: 1 Cause: No Ethernet ports - bye *From:* Vladimir Medvedkin [mailto:medvedkinv@gmail.com] *Sent:* Friday, March 18, 2016 10:48 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 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 p= orts - 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 --=20 Regards, Vladimir --=20 Regards, Vladimir