
5 Mar
2012
5 Mar
'12
6:15 p.m.
On 03/04/2012 10:15 PM, Roopa Prabhu wrote:
From: Roopa Prabhu <roprabhu@cisco.com>
pciDeviceGetVirtualFunctionInfo returns pf netdevice name and virtual function index for a given vf. This is just a wrapper around existing functions to return vf's pf and vf_index with one api call
pciConfigAddressToSysfsfile returns the sysfile pci device link from a 'struct pci_config_address'
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> --- src/util/pci.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/util/pci.h | 7 +++++++ 2 files changed, 62 insertions(+), 0 deletions(-)
ACK.