Documentation ¶
Overview ¶
Package vfio provides server, vfioClient chain elements for the VFIO mechanism connection
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(options ...Option) networkservice.NetworkServiceClient
NewClient returns a new VFIO client chain element
func NewServer ¶
func NewServer(vfioDir, cgroupBaseDir string) networkservice.NetworkServiceServer
NewServer returns a new VFIO server chain element
Types ¶
type Option ¶
type Option func(c *vfioClient)
Option is an option for NewClient
func WithCgroupDir ¶
WithCgroupDir sets vfioClient cgroupDir
Click to show internal directories.
Click to hide internal directories.