Re: Add a helper function in PCI IOV to get VF device

From: Frank Pan
Date: Wed Jun 02 2010 - 02:03:19 EST


> What is "VF" and "PF" here?
Virtual function/Physical function

> No, the network core should create that symlink, not the driver, right?
They are not network interfaces, so network core
won't link them. They are for VM uses. I may need
to explain this more clearly.

PF's interface in sysfs is /sys/class/net/ethx, while
VF has no interface. So 82576 driver makes directories
to provide interface-like sysfs entries: /sys/class/net/ethx/vf[1-7]
Make a link to this directory form VF's pci device is
almost impossible, because PF doesn't know VF's bdf.

Thanks for reply.

--
Frank Pan

Computer Science and Technology
Tsinghua University
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/