Documentation ¶
Index ¶
- func DriverOp(pciAddress *string, driver string, op string) error
- func DriverOverride(pciAddress *string, driver string) error
- func GetDriver(pciAddress *string) (string, error)
- func GetLink(ifName string) error
- func GetLinkMtu(ifName string) uint32
- func GetNames(pciAddress *string) ([]string, error)
- func GetNumVfs(pciAddress *string) uint32
- func GetTotalVfs(pciAddress *string) uint32
- func GetVFIODeviceFile(dev string) (devFileHost, devFileContainer string, err error)
- func GetVfPciAddressFromVFIndex(pciAddress *string, vfIndex uint32) (string, error)
- func IsSriovPF(pciAddress *string) bool
- func IsSriovVF(pciAddress *string) bool
- func SetIfName(ifName string, newName string) error
- func SetLinkMtu(ifName string, mtu uint32) error
- func SetNumVfs(pciAddress *string, numVfs uint32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DriverOverride ¶
func GetLinkMtu ¶
func GetTotalVfs ¶
func GetVFIODeviceFile ¶
GetVFIODeviceFile returns a vfio device files for vfio-pci bound PCI device's PCI address
func SetLinkMtu ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.