dpdkdrv

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevicePlugin

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

DevicePlugin represents vfio based QAT plugin.

func NewDevicePlugin

func NewDevicePlugin(maxDevices int, kernelVfDrivers string, dpdkDriver string) (*DevicePlugin, error)

NewDevicePlugin returns new instance of vfio based QAT plugin.

func (*DevicePlugin) PostAllocate

func (dp *DevicePlugin) PostAllocate(response *pluginapi.AllocateResponse) error

PostAllocate implements PostAllocator interface for vfio based QAT plugin.

func (*DevicePlugin) Scan

func (dp *DevicePlugin) Scan(notifier dpapi.Notifier) error

Scan implements Scanner interface for vfio based QAT plugin.

Jump to

Keyboard shortcuts

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