DPDK usage discussions
 help / color / mirror / Atom feed
From: "terry.montague.1980@btinternet.com" <terry.montague.1980@btinternet.com>
To: users@dpdk.org
Subject: [dpdk-users] Assistance please with SR-IOV on Ubuntu/Xen, connecting to i40e VFs from a Virtual Machine.
Date: Thu, 12 Oct 2017 17:25:13 +0100 (BST)	[thread overview]
Message-ID: <10584144.44687.1507825513567.JavaMail.defaultUser@defaultHost> (raw)

Hi there,
I'm trying to get myself off the ground with connecting to VFs on a i40e from a VM Instance.
I'm running Xen on Ubuntu Server - Having bound the device to igb_uio on the host,  I've created the vfs by writing to max_vfs in /sys/bus/pci/devices/<pci address>
After pci-assigning one of the VFs to the VM, from the VM I can see the VF in lspci and I can bind igb_uio to it.
However, when I run pktgen,   I see the system find the the PCI device and probe with the net_i40e_vf driver, but then I see  i40e_init_vf() fail in init_adminq() error code -53 , the cause being i40e_config_asq_regs() is returning -53 as its reading 0xDEADBEEF from the hardware rather than what its actually written to it.
So the hardware is not mapped? Its in reset ? Is there setup that I'm missing ?  The host system is an HP Z420 workstation - with a Xeon E5-1603. 
Can anyone offer any assistance ?  I'm close, but not close enough.
Many thanks
Terry

                 reply	other threads:[~2017-10-12 16:25 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=10584144.44687.1507825513567.JavaMail.defaultUser@defaultHost \
    --to=terry.montague.1980@btinternet.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).