DPDK patches and discussions
 help / color / mirror / Atom feed
From: Lyn M <netinal7@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] l3fwd error, port 0 is not present on the board
Date: Mon, 29 Dec 2014 14:18:09 -0600	[thread overview]
Message-ID: <CAM8Q2aVXRMbJZ3u25u_P1hwy_acGGvBQEQr8-CLmWwNK-HPfNg@mail.gmail.com> (raw)

Hello all,

Rangeley platform (1 CPU with 8 cores, 4x1 GbE, 2x10 GbE, Intel PCIe card
with 2x10 GbE fiber)
FC20 with hugepages enabled
DPDK 1.8.0 built with T=x86_64-ivshmem-linuxapp-gcc

 */usr/src/dpdk/tools/dpdk_nic_bind.py --status*



Network devices using DPDK-compatible driver

============================================

0000:09:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio
unused=ixgbe

0000:09:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio
unused=ixgbe



Network devices using kernel driver

===================================

0000:00:14.0 'Ethernet Connection I354' if=enp0s20f0 drv=igb unused=igb_uio

0000:00:14.1 'Ethernet Connection I354' if=enp0s20f1 drv=igb unused=igb_uio

0000:00:14.2 'Ethernet Connection I354' if=enp0s20f2 drv=igb unused=igb_uio

0000:00:14.3 'Ethernet Connection I354' if=enp0s20f3 drv=igb unused=igb_uio

0000:07:00.0 'Ethernet Controller 10-Gigabit X540-AT2' if=p5p1 drv=ixgbe
unused=igb_uio *Active*

0000:07:00.1 'Ethernet Controller 10-Gigabit X540-AT2' if=p5p2 drv=ixgbe
unused=igb_uio



Other network devices

=====================

<none>

The DPDK helloworld example seems to run OK, other than the warning about
IVSHMEM configuration not found:
*./helloworld -c 0x3 -n 4*
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 8 lcore(s)
EAL: Searching for IVSHMEM devices...
EAL: No IVSHMEM configuration found!
EAL: Setting up memory...
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7fcca2c00000 (size = 0x200000)
EAL: Ask a virtual area of 0x29400000 bytes
EAL: Virtual area found at 0x7fcc79600000 (size = 0x29400000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7fcca3400000 (size = 0x400000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7fcca3000000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7fcc79200000 (size = 0x200000)
EAL: Ask a virtual area of 0x14d000000 bytes
EAL: Virtual area found at 0x7fcb2c000000 (size = 0x14d000000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7fcb2bc00000 (size = 0x200000)
EAL: Requesting 3000 pages of size 2MB from socket 0
EAL: TSC frequency is ~2393997 KHz
EAL: Master core 0 is ready (tid=a4ca2840)
EAL: Core 1 is ready (tid=2bbff700)
hello from core 1
hello from core 0


I want to run the l3fwd example app, per Appendix A.2 (pg 35-36) in the
DPDK 1.2 Release Benchmark Test Report .pdf:
*./build/l3fwd -c 0x6 -n 4 --socket-mem 1024,0 -- -p 0x3
-config="(0,0,1),(1,0,2)"*
where the "-p option is the hexadecimal bit mask of the ports to configure"

I am running this command:

*./build/l3fwd -c 0x3 -n 4 --socket-mem 1024,0 -- -p 0x3
--config="(0,0,0),(1,0,1)" --no-numa*

EAL: Detected lcore 0 as core 0 on socket 0

EAL: Detected lcore 1 as core 1 on socket 0

EAL: Detected lcore 2 as core 2 on socket 0

EAL: Detected lcore 3 as core 3 on socket 0

EAL: Detected lcore 4 as core 4 on socket 0

EAL: Detected lcore 5 as core 5 on socket 0

EAL: Detected lcore 6 as core 6 on socket 0

EAL: Detected lcore 7 as core 7 on socket 0

EAL: Support maximum 128 logical core(s) by configuration.

EAL: Detected 8 lcore(s)

EAL: Searching for IVSHMEM devices...

EAL: No IVSHMEM configuration found!

EAL: Setting up memory...

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f3212600000 (size = 0x200000)

EAL: Ask a virtual area of 0x29400000 bytes

EAL: Virtual area found at 0x7f31e9000000 (size = 0x29400000)

EAL: Ask a virtual area of 0x400000 bytes

EAL: Virtual area found at 0x7f3212e00000 (size = 0x400000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f3212a00000 (size = 0x200000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f31e8c00000 (size = 0x200000)

EAL: Ask a virtual area of 0x14d000000 bytes

EAL: Virtual area found at 0x7f309ba00000 (size = 0x14d000000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f309b600000 (size = 0x200000)

EAL: Requesting 512 pages of size 2MB from socket 0

EAL: TSC frequency is ~2393998 KHz

EAL: Master core 0 is ready (tid=14734840)

EAL: Core 1 is ready (tid=e8bff700)

numa is disabled

port 0 is not present on the board

EAL: Error - exiting with code: 1

  Cause: check_port_config failed

Perhaps the 0x3 (0011) hex portmask is incorrect?  What Linux command, or
combination of commands, would help show the appropriate hex portmask to
use in my case?

Thanks for your time,
Lyn

             reply	other threads:[~2014-12-29 20:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-29 20:18 Lyn M [this message]
2014-12-29 21:02 ` Neil Horman
2014-12-30 18:54   ` Lyn M
2014-12-30 21:24     ` Neil Horman
2014-12-31 14:18       ` Lyn M
2014-12-31 14:48         ` Neil Horman
2014-12-31 16:50           ` Lyn M
2015-01-01  3:37             ` Neil Horman
2015-01-01  4:00               ` Neil Horman
2015-01-02 15:07                 ` Lyn M
2015-01-02 19:54                   ` Neil Horman
2015-01-04  3:50                   ` Qiu, Michael
2015-01-06  9:02                   ` Thomas Monjalon
2015-01-06  9:41                     ` Bruce Richardson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAM8Q2aVXRMbJZ3u25u_P1hwy_acGGvBQEQr8-CLmWwNK-HPfNg@mail.gmail.com \
    --to=netinal7@gmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).