com.ibm.net.rdma.jverbs.cm

Enum PortSpace

  • java.lang.Object
    • java.lang.Enum<PortSpace>
      • com.ibm.net.rdma.jverbs.cm.PortSpace
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PortSpace>


    public enum PortSpace
    extends java.lang.Enum<PortSpace>
    Defines various RDMA connection types constants. Referred from RDMA programming manual by mellanox
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      RDMA_PS_IPOIB
      Unsupported.
      RDMA_PS_TCP
      Provides reliable, connection-oriented QP communication.
      RDMA_PS_UDP
      Unsupported.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static PortSpace valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static PortSpace[] 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

      • RDMA_PS_IPOIB

        public static final PortSpace RDMA_PS_IPOIB
        Unsupported. Provides support to run over an InfiniBand fabric using IP over IB (IPoIB)
      • RDMA_PS_TCP

        public static final PortSpace RDMA_PS_TCP
        Provides reliable, connection-oriented QP communication. Unlike TCP, the RDMA port space provides message, not stream, based communication.
      • RDMA_PS_UDP

        public static final PortSpace RDMA_PS_UDP
        Unsupported. Provides unreliable, connection less QP communication. Supports both datagram and multicast communication.
    • Method Detail

      • valueOf

        public static PortSpace 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 PortSpace[] 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 (PortSpace c : PortSpace.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared