com.ibm.net.rdma.jverbs.verbs

Class DeviceList

  • java.lang.Object
    • com.ibm.net.rdma.jverbs.verbs.DeviceList


  • public class DeviceList
    extends java.lang.Object
    Gives detail about list of devices on a machine.
    • Method Detail

      • freeDeviceList

        public void freeDeviceList()
                            throws java.io.IOException
        Deallocate memory that is allocated during getDeviceList.
        Throws:
        java.io.IOException - If an I/O error occurs
      • getDevice

        public Device getDevice(int index)
        Get the device at a given index.
      • getDeviceList

        public static DeviceList getDeviceList()
                                        throws java.io.IOException
        Gets a list of Ib devices on the machine.
        Returns:
        DeviceList list of devices on the machine
        Throws:
        java.io.IOException - If an I/O error occurs
      • getNdevices

        public int getNdevices()
        Get the number of devices in the list.