rdma

package
v0.5.50 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const RDMACustomDevicePluginName = "rdma-custom-device-plugin"

Variables

This section is empty.

Functions

Types

type RDMADevicePlugin

type RDMADevicePlugin struct {
	*baseplugin.BasePlugin
	// contains filtered or unexported fields
}

func (*RDMADevicePlugin) AllocateAssociatedDevice

func (p *RDMADevicePlugin) AllocateAssociatedDevice(
	ctx context.Context, resReq *pluginapi.ResourceRequest, deviceReq *pluginapi.DeviceRequest, accompanyResourceName string,
) (*pluginapi.AssociatedDeviceAllocationResponse, error)

AllocateAssociatedDevice check if rdma is allocated to other containers, make sure they do not share rdma

func (*RDMADevicePlugin) DefaultPreAllocateResourceName

func (p *RDMADevicePlugin) DefaultPreAllocateResourceName() string

func (*RDMADevicePlugin) DeviceNames

func (p *RDMADevicePlugin) DeviceNames() []string

func (*RDMADevicePlugin) GetAssociatedDeviceTopologyHints

Jump to

Keyboard shortcuts

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