com.ibm.net.rdma.jverbs.verbs

Enum PortAttribute.Mtu

  • java.lang.Object
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PortAttribute.Mtu>
    Enclosing class:
    PortAttribute


    public static enum PortAttribute.Mtu
    extends java.lang.Enum<PortAttribute.Mtu>
    Defines various Maximum Transmission Unit (MTU) constants for use by the port.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      IBV_MTU_1024
      Maximum Transmission Unit (MTU) is 1024 bytes
      IBV_MTU_2048
      Maximum Transmission Unit (MTU) is 2048 bytes
      IBV_MTU_256
      Maximum Transmission Unit (MTU) is 256 bytes
      IBV_MTU_4096
      Maximum Transmission Unit (MTU) is 4096 bytes
      IBV_MTU_512
      Maximum Transmission Unit (MTU) is 512 bytes
      NOT_USED
      Maximum Transmission Unit (MTU) is not used.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static PortAttribute.Mtu valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static PortAttribute.Mtu[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • IBV_MTU_1024

        public static final PortAttribute.Mtu IBV_MTU_1024
        Maximum Transmission Unit (MTU) is 1024 bytes
      • IBV_MTU_2048

        public static final PortAttribute.Mtu IBV_MTU_2048
        Maximum Transmission Unit (MTU) is 2048 bytes
      • IBV_MTU_256

        public static final PortAttribute.Mtu IBV_MTU_256
        Maximum Transmission Unit (MTU) is 256 bytes
      • IBV_MTU_4096

        public static final PortAttribute.Mtu IBV_MTU_4096
        Maximum Transmission Unit (MTU) is 4096 bytes
      • IBV_MTU_512

        public static final PortAttribute.Mtu IBV_MTU_512
        Maximum Transmission Unit (MTU) is 512 bytes
      • NOT_USED

        public static final PortAttribute.Mtu NOT_USED
        Maximum Transmission Unit (MTU) is not used.
    • Method Detail

      • valueOf

        public static PortAttribute.Mtu valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • values

        public static PortAttribute.Mtu[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PortAttribute.Mtu c : PortAttribute.Mtu.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared