public sealed class LinuxNodeConfig.Types.NodeVfioConfig : IMessage<LinuxNodeConfig.Types.NodeVfioConfig>, IEquatable<LinuxNodeConfig.Types.NodeVfioConfig>, IDeepCloneable<LinuxNodeConfig.Types.NodeVfioConfig>, IBufferMessage, IMessageReference documentation and code samples for the Google Kubernetes Engine v1 API class LinuxNodeConfig.Types.NodeVfioConfig.
Configuration settings for VFIO (Virtual Function I/O) on a node. VFIO allows safe, unprivileged, userspace drivers to access I/O devices.
Implements
IMessageLinuxNodeConfigTypesNodeVfioConfig, IEquatableLinuxNodeConfigTypesNodeVfioConfig, IDeepCloneableLinuxNodeConfigTypesNodeVfioConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
NodeVfioConfig()
public NodeVfioConfig()NodeVfioConfig(NodeVfioConfig)
public NodeVfioConfig(LinuxNodeConfig.Types.NodeVfioConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
LinuxNodeConfigTypesNodeVfioConfig |
Properties
DmaEntryLimit
public int DmaEntryLimit { get; set; }Optional. Specifies the maximum number of DMA entries (pages) that can be
mapped by the VFIO IOMMU type 1 driver for a container. This limit
affects the total amount of host memory that can be pinned for direct
device access, which is often critical for high-performance devices like
TPUs and GPUs. This setting corresponds to the kernel parameter at:
/sys/module/vfio_iommu_type1/parameters/dma_entry_limit.
The default value in the kernel is 65535. Higher values may be
needed for workloads mapping large memory regions.
Supported values are integers between 65535 and 4194304.
| Property Value | |
|---|---|
| Type | Description |
int |
|
HasDmaEntryLimit
public bool HasDmaEntryLimit { get; }Gets whether the "dma_entry_limit" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|