DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jesper Wramberg <jesper.wramberg@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] X520 virtual functions worked in 2.0 but fails in 2.1
Date: Wed, 16 Sep 2015 11:58:58 +0200	[thread overview]
Message-ID: <CALhSPotpghptLbBL3rO-849-D5VMj_QcLB70H6xuQbgKSStbeQ@mail.gmail.com> (raw)

Hi all,

I got a Dell PowerEdge R630 with an X520 NIC. I want to set up two VFs that
use the first port on the NIC. I've done the following:

1. Edited kernel params to include iommu=pt and intel_iommu=1

2. Executed the following
modprobe uio
insmod igb_uio
./dpdk_nic_bind.py -b igb_uio bb:ss.f
echo 2 > /sys/bus/pci/devices/0000\:bb\:ss.f/max_vfs

3. Compiled DPDK 2.0, DPDK 2.1 and the hello world example against both
versions

4. Attempted to run the hello world examples.

When running with DPDK 2.0 everything works fine and I get 3 ports (2 vfs +
1 pf).
When running with DPDK 2.1 i get:

EAL: PCI device 0000:03:10.0 on NUMA socket 0
EAL:   probe driver: 8086:10ed rte_ixgbevf_pmd
EAL:   PCI memory mapped at 0x7f08c0108000
EAL:   PCI memory mapped at 0x7f08c010c000
PMD: eth_ixgbevf_dev_init():  >>
PMD: ixgbevf_intr_disable():  >>
PMD: eth_ixgbevf_dev_init(): VF Initialization Failure: -100
PMD: rte_eth_dev_init: driver rte_ixgbevf_pmd:
eth_dev_init(vendor_id=0x32902 device_id=0x10ed) failed
EAL: Error - exiting with code: 1
  Cause: Requested device 0000:03:10.0 cannot be used


Can't seem to figure out what I'm doing wrong here.

             reply	other threads:[~2015-09-16  9:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-16  9:58 Jesper Wramberg [this message]
2015-09-16 11:27 ` Van Haaren, Harry
2015-09-17  9:35   ` Jesper Wramberg

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=CALhSPotpghptLbBL3rO-849-D5VMj_QcLB70H6xuQbgKSStbeQ@mail.gmail.com \
    --to=jesper.wramberg@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).