components/open-fabrics/libibverbs/patches/base.patch
changeset 869 ab908b713ec5
parent 851 5d9119e2b7e1
child 1019 9d261d526266
child 2448 c1b40b77a1ae
child 2453 1c6123926962
equal deleted inserted replaced
868:bb69a554cd60 869:ab908b713ec5
   306 -ibv_devices \- list RDMA devices
   306 -ibv_devices \- list RDMA devices
   307 +ibv_devices \- list InfiniBand devices
   307 +ibv_devices \- list InfiniBand devices
   308  
   308  
   309  .SH SYNOPSIS
   309  .SH SYNOPSIS
   310  .B ibv_devices
   310  .B ibv_devices
   311 @@ -8,7 +8,7 @@
   311 @@ -8,8 +8,37 @@
   312  
   312  
   313  .SH DESCRIPTION
   313  .SH DESCRIPTION
   314  .PP
   314  .PP
   315 -List RDMA devices available for use from userspace.
   315 -List RDMA devices available for use from userspace.
   316 +List InfiniBand devices available for use from userspace.
   316 +List InfiniBand devices available for use from userspace.
   317  
   317  
       
   318 +On SR-IOV capable systems, if a domain is configured with
       
   319 +VFs (Virtual Function), ibv_devices lists for each IB device
       
   320 +the node GUID and the type (PF or VF).  In this case, the PF
       
   321 +devices are displayed before the VF devices.  The following
       
   322 +shows the results of running ibv_devices on a domain with
       
   323 +one PF and two VFs:
       
   324 +
       
   325 +    device                 node GUID            type
       
   326 +    ------              ----------------        ----
       
   327 +    mlx4_2              00212800013f3126         PF
       
   328 +    mlx4_0              00212d00013f3126         VF
       
   329 +    mlx4_1              00212900013f3126         VF
       
   330 +
       
   331 +If all of the IB devices are PFs, only node GUIDs are
       
   332 +listed.  The following shows the results of running
       
   333 +ibv_devices on a domain with one PF and no VFs:
       
   334 +
       
   335 +    device                 node GUID
       
   336 +    ------              ----------------
       
   337 +    mlx4_0              00212800013f3126
       
   338 +
       
   339 +On systems which are not SR-IOV capable only node GUIDs are
       
   340 +listed.
       
   341 +
       
   342 +    device                 node GUID
       
   343 +    ------              ----------------
       
   344 +    mlx4_0              0021280001a0e4d8
       
   345 +    mlx4_1              0021280001a0e754
       
   346 +
   318  .SH SEE ALSO
   347  .SH SEE ALSO
   319  .BR ibv_devinfo (1)
   348  .BR ibv_devinfo (1)
       
   349  
   320 diff -r -u /tmp/846623/libibverbs-1.1.4/man/ibv_create_qp.3 libibverbs-1.1.4/man/ibv_create_qp.3
   350 diff -r -u /tmp/846623/libibverbs-1.1.4/man/ibv_create_qp.3 libibverbs-1.1.4/man/ibv_create_qp.3
   321 --- /tmp/846623/libibverbs-1.1.4/man/ibv_create_qp.3	Thu Mar 10 06:58:21 2011
   351 --- /tmp/846623/libibverbs-1.1.4/man/ibv_create_qp.3	Thu Mar 10 06:58:21 2011
   322 +++ libibverbs-1.1.4/man/ibv_create_qp.3	Tue May  3 13:50:06 2011
   352 +++ libibverbs-1.1.4/man/ibv_create_qp.3	Tue May  3 13:50:06 2011
   323 @@ -28,7 +28,7 @@
   353 @@ -28,7 +28,7 @@
   324  struct ibv_cq          *recv_cq;        /* CQ to be associated with the Receive Queue (RQ) */
   354  struct ibv_cq          *recv_cq;        /* CQ to be associated with the Receive Queue (RQ) */