pcidevice

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IdentifyPCIBridgeDevices added in v0.2.5

func IdentifyPCIBridgeDevices(pci *ghw.PCIInfo) []string

IdentifyPCIBridgeDevices will identify devices which are pci bridges to skip the same as these cannot be bound to vfio-pci though share the same iommu group with devices attached to the brdige

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler added in v0.2.5

func NewHandler(client ctl.PCIDeviceClient, pci *ghw.PCIInfo, nodeCache ctlcorev1.NodeCache,
	vlanConfigCache ctlnetworkv1beta1.VlanConfigCache, sriovNetworkDeviceCache ctl.SRIOVNetworkDeviceCache, skipAddresses []string) *Handler

func (*Handler) QuerySRIOVNetworkDeviceOwnership added in v0.2.5

func (h *Handler) QuerySRIOVNetworkDeviceOwnership(device v1beta1.PCIDevice, labels map[string]string) (map[string]string, error)

func (*Handler) ReconcilePCIDevices added in v0.2.5

func (h *Handler) ReconcilePCIDevices(nodename string) error

Jump to

Keyboard shortcuts

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