sriov

package
v0.0.0-...-28f0b09 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package sriov provides types for SR-IOV

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DriverType

type DriverType string

DriverType is a driver type that is bound to virtual function

const (
	// NoDriver is no driver type
	NoDriver DriverType = "no-driver"
	// KernelDriver is kernel driver type
	KernelDriver DriverType = "kernel"
	// VFIOPCIDriver is vfio-pci driver type
	VFIOPCIDriver DriverType = "vfio-pci"
)

type PCIFunction

type PCIFunction interface {
	GetPCIAddress() string
	GetNetInterfaceName() (string, error)
	GetIOMMUGroup() (uint, error)
}

PCIFunction provides methods to get OS PCI function info

Directories

Path Synopsis
Package config provides SR-IOV config
Package config provides SR-IOV config
Package pci provides utils to work with pcifunction.Function
Package pci provides utils to work with pcifunction.Function
Package pcifunction provides classes for linux PCI functions API
Package pcifunction provides classes for linux PCI functions API
Package resource provides a resource pool for SR-IOV PCI virtual functions
Package resource provides a resource pool for SR-IOV PCI virtual functions
Package sriovtest provides utils for SR-IOV testing
Package sriovtest provides utils for SR-IOV testing
Package token provides a token pool for SR-IOV resources
Package token provides a token pool for SR-IOV resources

Jump to

Keyboard shortcuts

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