lkml.org 
[lkml]   [2010]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: Add a helper function in PCI IOV to get VF device
>-----Original Message-----
>From: Frank Pan [mailto:frankpzh@gmail.com]
>Sent: Wednesday, June 02, 2010 8:11 PM

[snip]
>So, the motivation is provide some information about vf from pf driver by
>sysfs.
>
>I cannot avoid to create one directory for each vf, like vf0, vf1,
>etc. Although userspace can find these directories, but it has no idea
>about which one to use. Userspace just knows vf's bdf, it won't care
>about/know vf's id. So I have the issue to create a symlink from each
>vf's /sys/bus/pci/devices/xxxx/ to their corresponding directories.
>
>And then comes the issue: PF cannot get VF's bdf in kernel space.
>
>This is not a strange issue, hacking every SR-IOV device can met.
>

Frank, I still don't understand what you're trying to do here. What's the use case? What is the end goal that you're trying to get to?

What information do you need about the VF, and why? SR-IOV works properly today without this stuff.

If we can understand what you're trying to do, then maybe we can help.

-Mitch

>Thanks.
>
>--
>Frank Pan
>
>Computer Science and Technology
>Tsinghua University


\
 
 \ /
  Last update: 2010-06-03 19:37    [W:0.073 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site