Documentation ¶
Index ¶
- func GetPciAddress(ifName string, vf int) (string, error)
- func GetPfName(vf string) (string, error)
- func GetSharedPF(ifName string) (string, error)
- func GetSriovNumVfs(ifName string) (int, error)
- func GetVFLinkNames(pfName string, vfID int) ([]string, error)
- func GetVfid(addr string, pfName string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPciAddress ¶
GetPciAddress takes in a interface(ifName) and VF id and returns returns its pci addr as string
func GetSharedPF ¶
GetSharedPF takes in VF name(ifName) as string and returns the other VF name that shares same PCI address as string
func GetSriovNumVfs ¶
GetSriovNumVfs takes in a PF name(ifName) as string and returns number of VF configured as int
func GetVFLinkNames ¶
GetVFLinkNames returns VF's network interface name given it's PF name as string and VF id as int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.