pci_plist_getvf(9F) Kernel Functions for Drivers pci_plist_getvf(9F)NAMEpci_plist_getvf - get the name-value pair list for the VF device
SYNOPSIS
#include <sys/sunddi.h>
int pci_plist_getvf(pci_param_t param, uint16_t vf_index,
pci_plist_t *vfplist_p);
PARAMETERS
param A handle obtained from pci_param_get(9F) or
pci_param_get_ioctl(9F).
vf_index 0 through #VFS -1
plist_p A pointer to pci_param_plist_t where a non—null plist_p is
returned on successful return
DESCRIPTION
The vfplist_p returned by pci_plist_getvf() is similar to nvlist_t and
contains the name-value pairs for the VF (Virtual Function) device. The
pci_plist_t supports the following data types:
uchar, int8_t, uint8_t, int16_t uint16_t, int32_t, uint32_t, int64_t,
uint64_t, char *, pci_plist_t
Arrays of the above data types are supported.
RETURN VALUES
DDI_SUCCESS On success.
Non-zero value There is no name-value list for VF device.
CONTEXT
The pci_param_get() function can be called from kernel non-interrupt
context.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Uncommitted │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOattributes(5), pci_param_free(9F), pci_param_get(9F),
pci_param_get_ioctl(9F), pci_plist_get(9F)SunOS 5.10 19 May 2011 pci_plist_getvf(9F)