Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

ibv_gid_reachable (3)

Name

ibv_gid_reachable - will contact the SA to do a path record lookup from the device,port specified by 'context','port' to the remote 'gid_p'. It finds the status of the remote GID (reachable or unreachable).

Synopsis

#include <infiniband/verbs.h>

int ibv_gid_reachable(struct ibv_context *context, uint port,
union ibv_gid *gid_p, int timeout)
gid_p
A pointer to the gid to check

context
A device context obtained from a call to ibv_open_device().
This identifies the device to use in order to contact the
remote 'gid_p'.

port   Specifies the port on the device associated with 'context'.
If '0' then the implementation will choose a port.

timeout
It is currently set to '0' and reserved for future enhancement.
ibv_gid_reachable() will block until a response
(success, fail or no path found) is obtained.

Description

Libibverbs Programmer's Manual                            IBV_GID_REACHABLE(3)



NAME
       ibv_gid_reachable - will contact the SA to do a path record lookup from
       the device,port specified by 'context','port' to  the  remote  'gid_p'.
       It finds the status of the remote GID (reachable or unreachable).


SYNOPSIS
       #include <infiniband/verbs.h>

       int ibv_gid_reachable(struct ibv_context *context, uint port,
       union ibv_gid *gid_p, int timeout)
       gid_p
       A pointer to the gid to check

       context
              A device context obtained from a call to ibv_open_device().
              This identifies the device to use in order to contact the
              remote 'gid_p'.

       port   Specifies the port on the device associated with 'context'.
              If '0' then the implementation will choose a port.

       timeout
              It is currently set to '0' and reserved for future enhancement.
              ibv_gid_reachable() will block until a response
              (success, fail or no path found) is obtained.


DESCRIPTION
       ibv_gid_reachable()  will contact the SA from the device,port specified
       by 'context','port' to the remote 'gid_p'.  It finds the status of  the
       remote 'gid_p' (reachable or not).

       ibv_gid_reachable()  returns 0 on success, -1 on failure with errno set
       as follows:


                 EINVAL  Invalid argument.

                 ENXIO  No Path Found

                 EIO  I/O Error

                 ENOMEM  Could not allocate kernel resource
                           required to perform the lookup.

                 EINTR  Abort due to interrupted system call.


RETURN VALUE
       ibv_gid_reachable() returns 0 on success, and -1 on error.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | network/open-fabrics  |
       +---------------+-----------------------+
       |Stability      | Pass-through volatile |
       +---------------+-----------------------+
NOTES
       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source   was   downloaded   from    ['https://www.openfabrics.org/down-
       loads/ibutils/ibutils-1.5.7-0.2.gbd7e502.tar.gz', 'https://www.openfab-
       rics.org/downloads/libibverbs/libibverbs-1.1.8.tar.gz',
       'https://www.openfabrics.org/downloads/libmlx4/libmlx4-1.0.6.tar.gz',
       'https://www.openfabrics.org/downloads/libsdp/lib-
       sdp-1.1.108-0.15.gd7fdb72.tar.gz',   'https://www.openfabrics.org/down-
       loads/management/infiniband-diags-1.6.5.tar.gz',  'https://www.openfab-
       rics.org/downloads/management/libibmad-1.3.12.tar.gz',
       'https://www.openfabrics.org/downloads/management/libibu-
       mad-1.3.10.2.tar.gz',    'https://www.openfabrics.org/downloads/manage-
       ment/opensm-3.3.19.tar.gz',          'https://www.openfabrics.org/down-
       loads/perftest/perftest-1.3.0-0.42.gf350d3d.tar.gz', 'https://www.open-
       fabrics.org/downloads/qperf/qperf-0.4.9.tar.gz',  'https://www.openfab-
       rics.org/downloads/rdmacm/librdmacm-1.0.21.tar.gz',  'https://www.open-
       fabrics.org/downloads/rds-tools/rds-tools-2.0.4.tar.gz']

              Further information about this software can be found on the open
              source community website at http://www.openfabrics.org/.



libibverbs                        2012-08-08              IBV_GID_REACHABLE(3)