Class LinuxNodeConfig.NodeVfioConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.LinuxNodeConfig.NodeVfioConfig
All Implemented Interfaces:
LinuxNodeConfig.NodeVfioConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
LinuxNodeConfig

public static final class LinuxNodeConfig.NodeVfioConfig extends com.google.protobuf.GeneratedMessage implements LinuxNodeConfig.NodeVfioConfigOrBuilder
 Configuration settings for VFIO (Virtual Function I/O) on a node.
 VFIO allows safe, unprivileged, userspace drivers to access I/O devices.
 
Protobuf type google.container.v1.LinuxNodeConfig.NodeVfioConfig
See Also:
  • Field Details

    • DMA_ENTRY_LIMIT_FIELD_NUMBER

      public static final int DMA_ENTRY_LIMIT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasDmaEntryLimit

      public boolean hasDmaEntryLimit()
       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`.
       
      optional int32 dma_entry_limit = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDmaEntryLimit in interface LinuxNodeConfig.NodeVfioConfigOrBuilder
      Returns:
      Whether the dmaEntryLimit field is set.
    • getDmaEntryLimit

      public int getDmaEntryLimit()
       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`.
       
      optional int32 dma_entry_limit = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDmaEntryLimit in interface LinuxNodeConfig.NodeVfioConfigOrBuilder
      Returns:
      The dmaEntryLimit.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static LinuxNodeConfig.NodeVfioConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinuxNodeConfig.NodeVfioConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinuxNodeConfig.NodeVfioConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinuxNodeConfig.NodeVfioConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinuxNodeConfig.NodeVfioConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinuxNodeConfig.NodeVfioConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinuxNodeConfig.NodeVfioConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LinuxNodeConfig.NodeVfioConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LinuxNodeConfig.NodeVfioConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LinuxNodeConfig.NodeVfioConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LinuxNodeConfig.NodeVfioConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LinuxNodeConfig.NodeVfioConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public LinuxNodeConfig.NodeVfioConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static LinuxNodeConfig.NodeVfioConfig.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected LinuxNodeConfig.NodeVfioConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static LinuxNodeConfig.NodeVfioConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LinuxNodeConfig.NodeVfioConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<LinuxNodeConfig.NodeVfioConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public LinuxNodeConfig.NodeVfioConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder