Documentation ¶
Overview ¶
Package config provides SR-IOV config
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
PhysicalFunctions map[string]*PhysicalFunction `yaml:"physicalFunctions"`
}
Config contains list of available physical functions
func ReadConfig ¶
ReadConfig reads configuration from file
type PhysicalFunction ¶
type PhysicalFunction struct { PFKernelDriver string `yaml:"pfKernelDriver"` VFKernelDriver string `yaml:"vfKernelDriver"` Capabilities []string `yaml:"capabilities"` ServiceDomains []string `yaml:"serviceDomains"` VirtualFunctions []*VirtualFunction `yaml:"virtualFunctions"` }
PhysicalFunction contains physical function capabilities, available services domains and virtual functions
func (*PhysicalFunction) String ¶
func (pf *PhysicalFunction) String() string
type VirtualFunction ¶
VirtualFunction contains
Click to show internal directories.
Click to hide internal directories.