vf

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBDFbyVFID

func GetBDFbyVFID(path string, vfID int) (string, error)

func SetupDriver

func SetupDriver(ctx context.Context, bdfID string) error

func SetupDriverAndGetNetInterface

func SetupDriverAndGetNetInterface(ctx context.Context, vfID int, configPath string) (int, error)

Types

type Config

type Config struct {
	PfID int    `json:"pf_id"`
	VfID int    `json:"vf_id"`
	BDF  string `json:"bdf"`
}

type Configs

type Configs struct {
	EniVFs []*Config `json:"eniVFs"`
}

Jump to

Keyboard shortcuts

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