From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 0680B569C for ; Fri, 18 Mar 2016 16:46:04 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id l68so74530850wml.0 for ; Fri, 18 Mar 2016 08:46:04 -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=dHXcMLlGArP8qotWBptO/PESX0Ki7Nub+Zgg8mrDXFo=; b=HFwXpYwhJYy1+/8lTElG9JJPYHb7kR+Nx9JI7oNRhqd4/tklEiZN9kG/iGUVAjs3pp SVkaK0ie7dtsuNpSTgriSpIZyJg8ZqAXtTwui4LEdWsPYlYIkcvWtgCgFiOvGI7jJuUm hJoOb6NXtKWVrUi9HPmeLIdrfz6ATnbPJa938= 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=dHXcMLlGArP8qotWBptO/PESX0Ki7Nub+Zgg8mrDXFo=; b=Qi9eJcJzTJM/Sq07m3uqNktkh+ZsAg6QFKBjqSwKK78iWJWGx/JaxDA+RR1FLDOabC yNb8Sn0BfBIBAkgRpNCj/g9HJSjohNnyojfRHudQSJ3EH+NMZ6ErPL12SPa5hFy3qCkh ol+4ytT0L4V/wOxByP89shc/MoQlCfSi5G+o231zt9j0tg5u/kSVEyl2iVDTwypc1L0P Ka0Y0CF4U/CODma7PgeR7vfewJU4d16NsyqNXnlpjh4ex5ct9FBzR23hlYwI4ejhiJ+U JIBW7OEhmilJE6UCzlH5/cHdCr7nO5DzotuGeR3d5hahQbqYb0jY4BC6jIAYjVh3WvCA dyng== X-Gm-Message-State: AD7BkJIvMcEcUfKpTNQBwbLbbAlFmIfOvQSYfT9b+kM45VMaSJywWg4Qa1sT3tmdS4+gMJ0mgeKAxrQEBW1zh1Wm X-Received: by 10.194.143.82 with SMTP id sc18mr16418112wjb.14.1458315963680; Fri, 18 Mar 2016 08:46:03 -0700 (PDT) From: Murali Krishna References: 053ac883dac86a16b8c63962ab0ef6f6@mail.gmail.com In-Reply-To: 053ac883dac86a16b8c63962ab0ef6f6@mail.gmail.com MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGq7aBDmVBNJPFLOXe+RL8CFh1m1QFkUVy/n6FWs3CAAAX80A== Date: Fri, 18 Mar 2016 21:16:02 +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 15:46:04 -0000 [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