DPDK usage discussions
 help / color / mirror / Atom feed
From: Aaron Hughes <hughesac@gmail.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] i40e Requested device cannot be used
Date: Mon, 20 Aug 2018 06:19:39 -0500	[thread overview]
Message-ID: <CAP=pv7POo8F5UvNaE4sr8rRu8R1X0tHEoroRpYdC-=nSfbiGuA@mail.gmail.com> (raw)

Hi,

I'm trying to use testpmd with an XL710 on Redhat 7.5 but I'm getting the
requested device cannot be used error.  I've seen similar errors on the
mailing list but haven't found a solution.

#./dpdk-devbind.py --bind=igb_uio  0000:af:00.0 0000:af:00.1
0000:af:00.0 already bound to driver igb_uio, skipping

# ./testpmd --log-level=8 -w 0000:af:00.0 -w 0000:af:00.1
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 5 on socket 0
EAL: Detected lcore 3 as core 5 on socket 1
EAL: Detected lcore 4 as core 1 on socket 0
EAL: Detected lcore 5 as core 1 on socket 1
EAL: Detected lcore 6 as core 4 on socket 0
EAL: Detected lcore 7 as core 4 on socket 1
EAL: Detected lcore 8 as core 2 on socket 0
EAL: Detected lcore 9 as core 2 on socket 1
EAL: Detected lcore 10 as core 3 on socket 0
EAL: Detected lcore 11 as core 3 on socket 1
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 12 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or
directory)
EAL: VFIO modules not loaded, skipping VFIO support...
EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or
directory)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0x14000000 bytes
EAL: Virtual area found at 0x7f6097a00000 (size = 0x14000000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f6097600000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f6097200000 (size = 0x200000)
EAL: Ask a virtual area of 0x1000000 bytes
EAL: Virtual area found at 0x7f6096000000 (size = 0x1000000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f6095c00000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f6095800000 (size = 0x200000)
EAL: Ask a virtual area of 0x64800000 bytes
EAL: Virtual area found at 0x7f6030e00000 (size = 0x64800000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f6030800000 (size = 0x400000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f6030200000 (size = 0x400000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f602fc00000 (size = 0x400000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f602f600000 (size = 0x400000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f602f200000 (size = 0x200000)
EAL: Ask a virtual area of 0xc00000 bytes
EAL: Virtual area found at 0x7f602e400000 (size = 0xc00000)
EAL: Ask a virtual area of 0x1000000 bytes
EAL: Virtual area found at 0x7f602d200000 (size = 0x1000000)
EAL: Ask a virtual area of 0x1400000 bytes
EAL: Virtual area found at 0x7f602bc00000 (size = 0x1400000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f602b600000 (size = 0x400000)
EAL: Ask a virtual area of 0x1400000 bytes
EAL: Virtual area found at 0x7f602a000000 (size = 0x1400000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f6029a00000 (size = 0x400000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f6029600000 (size = 0x200000)
EAL: Requesting 1024 pages of size 2MB from socket 0
EAL: TSC frequency is ~1696014 KHz
EAL: Master lcore 0 is ready (tid=acedd900;cpuset=[0])
EAL: lcore 2 is ready (tid=285fd700;cpuset=[2])
EAL: lcore 10 is ready (tid=245f5700;cpuset=[10])
EAL: lcore 6 is ready (tid=265f9700;cpuset=[6])
EAL: lcore 3 is ready (tid=27dfc700;cpuset=[3])
EAL: lcore 8 is ready (tid=255f7700;cpuset=[8])
EAL: lcore 4 is ready (tid=275fb700;cpuset=[4])
EAL: lcore 5 is ready (tid=26dfa700;cpuset=[5])
EAL: lcore 11 is ready (tid=23df4700;cpuset=[11])
EAL: lcore 7 is ready (tid=25df8700;cpuset=[7])
EAL: lcore 9 is ready (tid=24df6700;cpuset=[9])
EAL: lcore 1 is ready (tid=28dfe700;cpuset=[1])
EAL: Driver (net_ark) doesn't match the device
EAL: Driver (net_avp) doesn't match the device
EAL: Driver (net_bnxt) doesn't match the device
EAL: Driver (net_cxgbe) doesn't match the device
EAL: Driver (net_e1000_igb) doesn't match the device
EAL: Driver (net_e1000_igb_vf) doesn't match the device
EAL: Driver (net_e1000_em) doesn't match the device
EAL: Driver (net_ena) doesn't match the device
EAL: Driver (net_enic) doesn't match the device
EAL: Driver (net_fm10k) doesn't match the device
EAL: PCI device 0000:af:00.0 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL:   PCI memory mapped at 0x7f60225f4000
EAL:   PCI memory mapped at 0x7f60acee5000
EAL:   PCI memory unmapped at 0x7f60225f4000
EAL:   PCI memory unmapped at 0x7f60acee5000
EAL: Requested device 0000:af:00.0 cannot be used
EAL: Driver (net_ark) doesn't match the device
EAL: Driver (net_avp) doesn't match the device
EAL: Driver (net_bnxt) doesn't match the device
EAL: Driver (net_cxgbe) doesn't match the device
EAL: Driver (net_e1000_igb) doesn't match the device
EAL: Driver (net_e1000_igb_vf) doesn't match the device
EAL: Driver (net_e1000_em) doesn't match the device
EAL: Driver (net_ena) doesn't match the device
EAL: Driver (net_enic) doesn't match the device
EAL: Driver (net_fm10k) doesn't match the device
EAL: PCI device 0000:af:00.1 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL:   PCI memory mapped at 0x7f60225f4000
EAL:   PCI memory mapped at 0x7f60acee5000
EAL:   PCI memory unmapped at 0x7f60225f4000
EAL:   PCI memory unmapped at 0x7f60acee5000
EAL: Requested device 0000:af:00.1 cannot be used
EAL: No probed ethernet devices
USER1: create a new mbuf pool <mbuf_pool_socket_0>: n=235456, size=2176,
socket=0
USER1: create a new mbuf pool <mbuf_pool_socket_1>: n=235456, size=2176,
socket=1
EAL: Error - exiting with code: 1
  Cause: Creation of mbuf pool for socket 1 failed: Cannot allocate memory

                 reply	other threads:[~2018-08-20 11:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAP=pv7POo8F5UvNaE4sr8rRu8R1X0tHEoroRpYdC-=nSfbiGuA@mail.gmail.com' \
    --to=hughesac@gmail.com \
    --cc=users@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).