config

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// MaxSharedVf defines maximum number of PFs a VF is being shared
	MaxSharedVf = 2
)

Variables

This section is empty.

Functions

func AssignFreeVF

func AssignFreeVF(conf *sriovtypes.NetConf) error

AssignFreeVF takes in a NetConf object and updates it with an self allocated VF information

func LoadConf

func LoadConf(bytes []byte) (*sriovtypes.NetConf, error)

LoadConf parses and validates stdin netconf and returns NetConf object

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL