public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Chris Friesen <chris.friesen@genband•com>
To: netdev <netdev@vger•kernel.org>,
	"e1000-devel@lists•sourceforge.net"
	<e1000-devel@lists•sourceforge.net>,
	"Kirsher, Jeffrey T" <jeffrey.t.kirsher@intel•com>,
	"Brandeburg, Jesse" <jesse.brandeburg@intel•com>,
	"Allan, Bruce W" <bruce.w.allan@intel•com>
Subject: Re: formal way to map from pf to vfs when using VT-d?
Date: Fri, 08 Jun 2012 14:41:38 -0600	[thread overview]
Message-ID: <4FD26382.3050303@genband.com> (raw)
In-Reply-To: <4FD25D18.6090002@genband.com>

On 06/08/2012 02:14 PM, Chris Friesen wrote:
>
> Hi,
>
> I'm using the igb/igbvf drivers.  If I set igb.max_vfs=7,7,7,7 it 
> creates 7 vfs for each of my pfs.  So far so good.
>
> Now, how do I map from a given pf to the PCI addresses for the set of 
> vfs that are associated with it?  I don't have virsh installed, so is 
> there a way to query this with sysfs or something?
>

I think I found it.../sys/class/net/eth0/device/ has "virtfnX" entries 
which are symlinks to the appropriate pci address.

Chris

  reply	other threads:[~2012-06-08 20:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08 20:14 formal way to map from pf to vfs when using VT-d? Chris Friesen
2012-06-08 20:41 ` Chris Friesen [this message]
2012-06-09  0:04   ` Greg Rose

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=4FD26382.3050303@genband.com \
    --to=chris.friesen@genband$(echo .)com \
    --cc=bruce.w.allan@intel$(echo .)com \
    --cc=e1000-devel@lists$(echo .)sourceforge.net \
    --cc=jeffrey.t.kirsher@intel$(echo .)com \
    --cc=jesse.brandeburg@intel$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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