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
func (dp *DevicePlugin) GetPreferredAllocation(rqt *pluginapi.PreferredAllocationRequest) (*pluginapi.PreferredAllocationResponse, error)
Implement the PreferredAllocator interface.
func (*DevicePlugin) PostAllocate ¶
func (dp *DevicePlugin) PostAllocate(response *pluginapi.AllocateResponse) error
PostAllocate implements PostAllocator interface for vfio based QAT plugin.
Click to show internal directories.
Click to hide internal directories.