dpdkdrv

package
v0.29.0 Latest Latest
Warning

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

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

Documentation

Overview

Package dpdkdrv implements QAT device plugin for DPDK driver.

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, preferredAllocationPolicy string) (*DevicePlugin, error)

NewDevicePlugin returns new instance of vfio based QAT plugin.

func (*DevicePlugin) GetPreferredAllocation added in v0.24.0

Implement the PreferredAllocator interface.

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