Help us shape the future of Go! Take the 2026 Go Developer Survey

rxqueue

package
v1.21.0-pre.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RXQueueDevice

type RXQueueDevice struct {
	PhysicalIfName   string   `json:"physicalIfName"`
	HardwareAddress  string   `json:"hardwareAddress,omitempty"`
	MTU              int      `json:"mtu,omitempty"`
	TotalRXQueues    int      `json:"totalRXQueues"`
	ReservedQueueIDs []uint32 `json:"reservedQueueIDs"`

	Prepared        bool           `json:"prepared,omitempty"`
	ShareID         kube_types.UID `json:"shareID,omitempty"`
	PodIfName       string         `json:"podIfName,omitempty"`
	PhysicalQueueID uint32         `json:"physicalQueueID,omitempty"`
	VirtualQueueID  uint32         `json:"virtualQueueID,omitempty"`
	// contains filtered or unexported fields
}

func (*RXQueueDevice) AllowMultipleAllocations

func (d *RXQueueDevice) AllowMultipleAllocations() bool

func (*RXQueueDevice) Free

func (d *RXQueueDevice) Free(allocation types.DeviceAllocation) error

func (*RXQueueDevice) GetAttrs

func (*RXQueueDevice) GetCapacity

func (*RXQueueDevice) IfName

func (d *RXQueueDevice) IfName() string

func (*RXQueueDevice) KernelIfName

func (d *RXQueueDevice) KernelIfName() string

func (*RXQueueDevice) MarshalBinary

func (d *RXQueueDevice) MarshalBinary() ([]byte, error)

func (*RXQueueDevice) Match

func (*RXQueueDevice) Merge

func (d *RXQueueDevice) Merge(_ types.Device)

Merge is a no-op because RX queue inventory is derived entirely from the current physical interface. Allocation-specific state lives separately.

func (*RXQueueDevice) Recover

func (d *RXQueueDevice) Recover(allocation types.DeviceAllocation) (types.Device, error)

func (*RXQueueDevice) Setup

func (d *RXQueueDevice) Setup(allocation types.DeviceAllocation) (types.Device, error)

func (*RXQueueDevice) UnmarshalBinary

func (d *RXQueueDevice) UnmarshalBinary(data []byte) error

type RXQueueManager

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

func (*RXQueueManager) RestoreDevice

func (m *RXQueueManager) RestoreDevice(data []byte) (types.Device, error)

func (*RXQueueManager) Run

func (m *RXQueueManager) Run(ctx context.Context, publish func([]types.Device)) error

func (*RXQueueManager) Type

Jump to

Keyboard shortcuts

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