Documentation
¶
Index ¶
- type RXQueueDevice
- func (d *RXQueueDevice) AllowMultipleAllocations() bool
- func (d *RXQueueDevice) Free(allocation types.DeviceAllocation) error
- func (d *RXQueueDevice) GetAttrs() map[resourceapi.QualifiedName]resourceapi.DeviceAttribute
- func (d *RXQueueDevice) GetCapacity() map[resourceapi.QualifiedName]resourceapi.DeviceCapacity
- func (d *RXQueueDevice) IfName() string
- func (d *RXQueueDevice) KernelIfName() string
- func (d *RXQueueDevice) MarshalBinary() ([]byte, error)
- func (d *RXQueueDevice) Match(filter v2alpha1.CiliumNetworkDriverDeviceFilter) bool
- func (d *RXQueueDevice) Merge(_ types.Device)
- func (d *RXQueueDevice) Recover(allocation types.DeviceAllocation) (types.Device, error)
- func (d *RXQueueDevice) Setup(allocation types.DeviceAllocation) (types.Device, error)
- func (d *RXQueueDevice) UnmarshalBinary(data []byte) error
- type RXQueueManager
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"`
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 (d *RXQueueDevice) GetAttrs() map[resourceapi.QualifiedName]resourceapi.DeviceAttribute
func (*RXQueueDevice) GetCapacity ¶
func (d *RXQueueDevice) GetCapacity() map[resourceapi.QualifiedName]resourceapi.DeviceCapacity
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 (d *RXQueueDevice) Match(filter v2alpha1.CiliumNetworkDriverDeviceFilter) bool
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 NewManager ¶
func NewManager(logger *slog.Logger, cfg *v2alpha1.RXQueueDeviceManagerConfig) (*RXQueueManager, error)
func (*RXQueueManager) RestoreDevice ¶
func (m *RXQueueManager) RestoreDevice(data []byte) (types.Device, error)
func (*RXQueueManager) Type ¶
func (m *RXQueueManager) Type() types.DeviceManagerType
Click to show internal directories.
Click to hide internal directories.