1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
\r
4 <link rel="stylesheet" href="../robodoc.css" type="text/css">
\r
5 <title>./inc_docs/iba/ib_types_h.html</title>
\r
6 <!-- Source: ./inc/iba/ib_types.h -->
\r
7 <!-- Generated with ROBODoc Version 4.99.17 (Aug 2 2005) -->
\r
9 <body bgcolor="#FFFFFF">
\r
10 <a name="robo_top_of_doc">Generated from ./inc/iba/ib_types.h</a> with <a href="http://sourceforge.net/projects/robodoc/">ROBODoc</a> v4.99.17 on Sun Nov 12 2006 16:36:38
\r
14 <h2><a name="robo40">[Modules]<a name="IBA20Base2fConstants">
\r
15 IBA Base/Constants</a></h2>
\r
17 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_modules.html#top">index</a>]</p>
\r
18 <p><strong>NAME</strong></p>
\r
19 <span class="NAME"><pre> <strong>Constants</strong>
\r
21 </span><p><strong>DESCRIPTION</strong></p>
\r
22 <span class="DESCRIPTION"><pre> The following constants are used throughout the IBA code base.
\r
24 Definitions are from the InfiniBand Architecture Specification v1.1
\r
29 <h2><a name="robo41">[Modules]<a name="IBA20Base2fType20Definitions">
\r
30 IBA Base/Type Definitions</a></h2>
\r
32 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_modules.html#top">index</a>]</p>
\r
33 <p><strong>NAME</strong></p>
\r
34 <span class="NAME"><pre> Type Definitions
\r
36 </span><p><strong>DESCRIPTION</strong></p>
\r
37 <span class="DESCRIPTION"><pre> Definitions are from the InfiniBand Architecture Specification v1.1
\r
42 <h2><a name="robo45">[Definitions]<a name="Access20Layer2fib5faccess5ft">
\r
43 Access Layer/ib_access_t</a></h2>
\r
45 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
46 <p><strong>NAME</strong></p>
\r
47 <span class="NAME"><pre> <strong>ib_access_t</strong>
\r
49 </span><p><strong>DESCRIPTION</strong></p>
\r
50 <span class="DESCRIPTION"><pre> Indicates the type of access is permitted on resources such as QPs,
\r
51 memory regions and memory windows.
\r
53 </span><p><strong>SYNOPSIS</strong></p>
\r
54 <span class="SYNOPSIS"><pre>typedef uint32_t <strong>ib_access_t</strong>;
\r
55 #define IB_AC_RDMA_READ 0x00000001
\r
56 #define IB_AC_RDMA_WRITE 0x00000002
\r
57 #define IB_AC_ATOMIC 0x00000004
\r
58 #define IB_AC_LOCAL_WRITE 0x00000008
\r
59 #define IB_AC_MW_BIND 0x00000010
\r
61 </span><p><strong>NOTES</strong></p>
\r
62 <span class="NOTES"><pre> Users may combine access rights using a bit-wise or operation to specify
\r
63 additional access. For example: IB_AC_RDMA_READ | IB_AC_RDMA_WRITE grants
\r
64 RDMA read and write access.
\r
69 <h2><a name="robo49">[Definitions]<a name="Access20Layer2fib5fapi5fstatus5ft">
\r
70 Access Layer/ib_api_status_t</a></h2>
\r
72 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
73 <p><strong>NAME</strong></p>
\r
74 <span class="NAME"><pre> <strong>ib_api_status_t</strong>
\r
76 </span><p><strong>DESCRIPTION</strong></p>
\r
77 <span class="DESCRIPTION"><pre> Function return codes indicating the success or failure of an API call.
\r
78 Note that success is indicated by the return value IB_SUCCESS, which
\r
81 </span><p><strong>NOTES</strong></p>
\r
82 <span class="NOTES"><pre> IB_VERBS_PROCESSING_DONE is used by UVP library to terminate a verbs call
\r
83 in the pre-ioctl step itself.
\r
85 </span><p><strong>SYNOPSIS</strong></p>
\r
86 <span class="SYNOPSIS"><pre>typedef enum _<strong>ib_api_status_t</strong>
\r
89 IB_INSUFFICIENT_RESOURCES,
\r
90 IB_INSUFFICIENT_MEMORY,
\r
91 IB_INVALID_PARAMETER,
\r
97 IB_INVALID_PERMISSION,
\r
100 IB_MAX_MCAST_QPS_REACHED,
\r
101 IB_INVALID_QP_STATE,
\r
102 IB_INVALID_APM_STATE,
\r
103 IB_INVALID_PORT_STATE,
\r
109 IB_INVALID_MAX_WRS,
\r
110 IB_INVALID_MAX_SGE,
\r
111 IB_INVALID_CQ_SIZE,
\r
112 IB_INVALID_SERVICE_TYPE,
\r
116 IB_INVALID_CA_HANDLE,
\r
117 IB_INVALID_AV_HANDLE,
\r
118 IB_INVALID_CQ_HANDLE,
\r
119 IB_INVALID_QP_HANDLE,
\r
120 IB_INVALID_PD_HANDLE,
\r
121 IB_INVALID_MR_HANDLE,
\r
122 IB_INVALID_FMR_HANDLE,
\r
123 IB_INVALID_MW_HANDLE,
\r
124 IB_INVALID_MCAST_HANDLE,
\r
125 IB_INVALID_CALLBACK,
\r
126 IB_INVALID_AL_HANDLE, /* InfiniBand Access Layer */
\r
127 IB_INVALID_HANDLE, /* InfiniBand Access Layer */
\r
128 IB_ERROR, /* InfiniBand Access Layer */
\r
129 IB_REMOTE_ERROR, /* Infiniband Access Layer */
\r
130 IB_VERBS_PROCESSING_DONE, /* See Notes above */
\r
131 IB_INVALID_WR_TYPE,
\r
138 IB_UNKNOWN_ERROR /* ALWAYS LAST ENUM VALUE! */
\r
140 } <strong>ib_api_status_t</strong>;
\r
145 <h2><a name="robo50">[Definitions]<a name="Access20Layer2fib5fapm5fstate5ft">
\r
146 Access Layer/ib_apm_state_t</a></h2>
\r
148 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
149 <p><strong>NAME</strong></p>
\r
150 <span class="NAME"><pre> <strong>ib_apm_state_t</strong>
\r
152 </span><p><strong>DESCRIPTION</strong></p>
\r
153 <span class="DESCRIPTION"><pre> The current automatic path migration state of a queue pair
\r
155 </span><p><strong>SYNOPSIS</strong></p>
\r
156 <span class="SYNOPSIS"><pre>typedef enum _ib_apm_state
\r
158 IB_APM_MIGRATED = 1,
\r
162 } <strong>ib_apm_state_t</strong>;
\r
167 <h2><a name="robo53">[Definitions]<a name="Access20Layer2fib5fapr5fstatus5ft">
\r
168 Access Layer/ib_apr_status_t</a></h2>
\r
170 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
171 <p><strong>NAME</strong></p>
\r
172 <span class="NAME"><pre> <strong>ib_apr_status_t</strong>
\r
174 </span><p><strong>DESCRIPTION</strong></p>
\r
175 <span class="DESCRIPTION"><pre> Automatic path migration status information.
\r
177 </span><p><strong>SYNOPSIS</strong></p>
\r
178 <span class="SYNOPSIS"><pre>typedef uint8_t <strong>ib_apr_status_t</strong>;
\r
180 </span><p><strong>SEE ALSO</strong></p>
\r
181 <span class="SEE_ALSO"><pre> <a href="./ib_al_h.html#robo69">ib_cm_apr</a>, <a href="./ib_al_h.html#robo70">ib_cm_apr_rec_t</a>
\r
183 </span><p><strong>SOURCE</strong></p>
\r
184 <span class="SOURCE"><pre>#define IB_AP_SUCCESS 0
\r
185 #define IB_AP_INVALID_COMM_ID 1
\r
186 #define IB_AP_UNSUPPORTED 2
\r
187 #define IB_AP_REJECT 3
\r
188 #define IB_AP_REDIRECT 4
\r
189 #define IB_AP_IS_CURRENT 5
\r
190 #define IB_AP_INVALID_QPN 6
\r
191 #define IB_AP_INVALID_LID 7
\r
192 #define IB_AP_INVALID_GID 8
\r
193 #define IB_AP_INVALID_FLOW_LBL 9
\r
194 #define IB_AP_INVALID_TCLASS 10
\r
195 #define IB_AP_INVALID_HOP_LIMIT 11
\r
196 #define IB_AP_INVALID_PKT_RATE 12
\r
197 #define IB_AP_INVALID_SL 13
\r
202 <h2><a name="robo56">[Definitions]<a name="Access20Layer2fib5fatomic5ft">
\r
203 Access Layer/ib_atomic_t</a></h2>
\r
205 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
206 <p><strong>NAME</strong></p>
\r
207 <span class="NAME"><pre> <strong>ib_atomic_t</strong>
\r
209 </span><p><strong>DESCRIPTION</strong></p>
\r
210 <span class="DESCRIPTION"><pre> Indicates atomicity levels supported by an adapter.
\r
212 </span><p><strong>SYNOPSIS</strong></p>
\r
213 <span class="SYNOPSIS"><pre>typedef enum _<strong>ib_atomic_t</strong>
\r
219 } <strong>ib_atomic_t</strong>;
\r
221 </span><p><strong>VALUES</strong></p>
\r
222 <span class="VALUES"><pre> IB_ATOMIC_NONE
\r
223 Atomic operations not supported.
\r
226 Atomic operations guaranteed between QPs of a single CA.
\r
229 Atomic operations are guaranteed between CA and any other entity
\r
235 <h2><a name="robo57">[Structures]<a name="Access20Layer2fib5fav5fattr5ft">
\r
236 Access Layer/ib_av_attr_t</a></h2>
\r
238 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
239 <p><strong>NAME</strong></p>
\r
240 <span class="NAME"><pre> <strong>ib_av_attr_t</strong>
\r
242 </span><p><strong>DESCRIPTION</strong></p>
\r
243 <span class="DESCRIPTION"><pre> IBA address vector.
\r
245 </span><p><strong>SYNOPSIS</strong></p>
\r
246 <span class="SYNOPSIS"><pre>typedef struct _ib_av_attr
\r
251 <a href="#robo910">ib_net16_t</a> dlid;
\r
253 boolean_t grh_valid;
\r
254 <a href="#robo876">ib_grh_t</a> grh;
\r
255 uint8_t static_rate;
\r
261 uint8_t local_ack_timeout;
\r
262 uint8_t seq_err_retry_cnt;
\r
263 uint8_t rnr_retry_cnt;
\r
267 } <strong>ib_av_attr_t</strong>;
\r
269 </span><p><strong>SEE ALSO</strong></p>
\r
270 <span class="SEE_ALSO"><pre> <a href="#robo872">ib_gid_t</a>
\r
275 <h2><a name="robo59">[Structures]<a name="Access20Layer2fib5fbind5fwr5ft">
\r
276 Access Layer/ib_bind_wr_t</a></h2>
\r
278 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
279 <p><strong>NAME</strong></p>
\r
280 <span class="NAME"><pre> <strong>ib_bind_wr_t</strong>
\r
282 </span><p><strong>DESCRIPTION</strong></p>
\r
283 <span class="DESCRIPTION"><pre> Information used to submit a memory window bind work request to the send
\r
284 queue of a queue pair.
\r
286 </span><p><strong>SYNOPSIS</strong></p>
\r
287 <span class="SYNOPSIS"><pre>typedef struct _ib_bind_wr
\r
290 <a href="#robo248">ib_send_opt_t</a> send_opt;
\r
292 ib_mr_handle_t h_mr;
\r
293 <a href="#robo45">ib_access_t</a> access_ctrl;
\r
294 net32_t current_rkey;
\r
296 <a href="#robo148">ib_local_ds_t</a> local_ds;
\r
298 } <strong>ib_bind_wr_t</strong>;
\r
300 </span><p><strong>FIELDS</strong></p>
\r
301 <span class="FIELDS"><pre> wr_id
\r
302 A 64-bit work request identifier that is returned to the consumer
\r
303 as part of the work completion.
\r
306 Optional send control parameters.
\r
309 Handle to the memory region to which this window is being bound.
\r
312 Access rights for this memory window.
\r
315 The current rkey assigned to this window for remote access.
\r
318 A reference to a local data segment used by the bind operation.
\r
320 </span><p><strong>SEE ALSO</strong></p>
\r
321 <span class="SEE_ALSO"><pre> <a href="#robo248">ib_send_opt_t</a>, <a href="#robo45">ib_access_t</a>, <a href="#robo148">ib_local_ds_t</a>
\r
326 <h2><a name="robo60">[Structures]<a name="Access20Layer2fib5fca5fattr5ft">
\r
327 Access Layer/ib_ca_attr_t</a></h2>
\r
329 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
330 <p><strong>NAME</strong></p>
\r
331 <span class="NAME"><pre> <strong>ib_ca_attr_t</strong>
\r
333 </span><p><strong>DESCRIPTION</strong></p>
\r
334 <span class="DESCRIPTION"><pre> Information about a channel adapter.
\r
336 </span><p><strong>SYNOPSIS</strong></p>
\r
337 <span class="SYNOPSIS"><pre>typedef struct _ib_ca_attr
\r
339 <a href="#robo912">ib_net64_t</a> ca_guid;
\r
347 * Total size of the ca attributes in bytes
\r
354 uint32_t max_rd_sges;
\r
361 uint32_t init_regions;
\r
362 uint64_t init_region_size;
\r
364 uint32_t init_windows;
\r
365 uint32_t max_addr_handles;
\r
367 uint32_t max_partitions;
\r
369 <a href="#robo56">ib_atomic_t</a> atomicity;
\r
371 uint8_t max_qp_resp_res;
\r
372 uint8_t max_resp_res;
\r
374 uint8_t max_qp_init_depth;
\r
376 uint32_t max_ipv6_qps;
\r
377 uint32_t max_ether_qps;
\r
379 uint32_t max_mcast_grps;
\r
380 uint32_t max_mcast_qps;
\r
381 uint32_t max_qps_per_mcast_grp;
\r
383 uint32_t max_map_per_fmr;
\r
387 * Specifies the maximum time interval between the local CA receiving
\r
388 * a message and the transmission of the associated ACK or NAK.
\r
390 * timeout = 4.096 microseconds * 2^local_ack_delay
\r
392 uint8_t local_ack_delay;
\r
394 boolean_t bad_pkey_ctr_support;
\r
395 boolean_t bad_qkey_ctr_support;
\r
396 boolean_t raw_mcast_support;
\r
397 boolean_t apm_support;
\r
398 boolean_t av_port_check;
\r
399 boolean_t change_primary_port;
\r
400 boolean_t modify_wr_depth;
\r
401 boolean_t current_qp_state_support;
\r
402 boolean_t shutdown_port_capability;
\r
403 boolean_t init_type_support;
\r
404 boolean_t port_active_event_support;
\r
405 boolean_t system_image_guid_support;
\r
406 boolean_t hw_agents;
\r
408 <a href="#robo912">ib_net64_t</a> system_image_guid;
\r
410 uint32_t num_page_sizes;
\r
413 uint32_t* __ptr64 p_page_size;
\r
414 <a href="#robo200">ib_port_attr_t</a>* __ptr64 p_port_attr;
\r
416 } <strong>ib_ca_attr_t</strong>;
\r
418 </span><p><strong>FIELDS</strong></p>
\r
419 <span class="FIELDS"><pre> ca_guid
\r
420 GUID for this adapter.
\r
423 IEEE vendor ID for this adapter
\r
426 Device ID of this adapter. (typically from PCI device ID)
\r
429 Revision ID of this adapter
\r
432 Device Firmware version.
\r
435 Total size in bytes for the HCA attributes. This size includes total
\r
436 size required for all the variable members of the structure. If a
\r
437 vendor requires to pass vendor specific fields beyond this structure,
\r
438 the HCA vendor can choose to report a larger size. If a vendor is
\r
439 reporting extended vendor specific features, they should also provide
\r
440 appropriate access functions to aid with the required interpretation.
\r
443 Maximum number of QP's supported by this HCA.
\r
446 Maximum number of work requests supported by this HCA.
\r
449 Maximum number of scatter gather elements supported per work request.
\r
452 Maximum number of scatter gather elements supported for READ work
\r
453 requests for a Reliable Datagram QP. This value must be zero if RD
\r
454 service is not supported.
\r
457 Maximum number of Completion Queues supported.
\r
460 Maximum number of CQ elements supported per CQ.
\r
463 Maximum number of protection domains supported.
\r
466 Initial number of memory regions supported. These are only informative
\r
467 values. HCA vendors can extended and grow these limits on demand.
\r
470 Initial limit on the size of the registered memory region.
\r
473 Initial number of window entries supported.
\r
476 Maximum number of address handles supported.
\r
479 Maximum number of partitions supported.
\r
482 Indicates level of atomic operations supported by this HCA.
\r
485 Maximum limit on number of responder resources for incomming RDMA
\r
489 Maximum number of responder resources per HCA, with this HCA used as
\r
493 Maximimum initiator depth per QP for initiating RDMA reads and
\r
498 Maximum number of IPV6 and raw ether QP's supported by this HCA.
\r
501 Maximum number of multicast groups supported.
\r
504 Maximum number of QP's that can support multicast operations.
\r
506 max_qps_per_mcast_grp
\r
507 Maximum number of multicast QP's per multicast group.
\r
510 Specifies the maximum time interval between the local CA receiving
\r
511 a message and the transmission of the associated ACK or NAK.
\r
512 timeout = 4.096 microseconds * 2^local_ack_delay
\r
514 bad_pkey_ctr_support
\r
515 bad_qkey_ctr_support
\r
516 Indicates support for the bad pkey and qkey counters.
\r
519 Indicates support for raw packet multicast.
\r
522 Indicates support for Automatic Path Migration.
\r
525 Indicates ability to check port number in address handles.
\r
527 change_primary_port
\r
528 Indicates ability to change primary port for a QP during a
\r
529 SQD->RTS transition.
\r
532 Indicates ability to modify QP depth during a modify QP operation.
\r
533 Check the verb specification for permitted states.
\r
535 current_qp_state_support
\r
536 Indicates ability of the HCA to support the current QP state modifier
\r
537 during a modify QP operation.
\r
539 shutdown_port_capability
\r
540 Shutdown port capability support indicator.
\r
543 Indicates init_type_reply and ability to set init_type is supported.
\r
545 port_active_event_support
\r
546 Port active event support indicator.
\r
548 system_image_guid_support
\r
549 System image GUID support indicator.
\r
552 Indicates SMA is implemented in HW.
\r
555 Optional system image GUID. This field is valid only if the
\r
556 system_image_guid_support flag is set.
\r
559 Indicates support for different page sizes supported by the HCA.
\r
560 The variable size array can be obtained from p_page_size.
\r
563 Number of physical ports supported on this HCA.
\r
566 Array holding different page size supported.
\r
569 Array holding port attributes.
\r
571 </span><p><strong>NOTES</strong></p>
\r
572 <span class="NOTES"><pre> This structure contains the attributes of a channel adapter. Users must
\r
573 call <a href="#robo102">ib_copy_ca_attr</a> to copy the contents of this structure to a new
\r
576 </span><p><strong>SEE ALSO</strong></p>
\r
577 <span class="SEE_ALSO"><pre> <a href="#robo200">ib_port_attr_t</a>, <a href="#robo56">ib_atomic_t</a>, <a href="#robo102">ib_copy_ca_attr</a>
\r
582 <h2><a name="robo61">[Definitions]<a name="Access20Layer2fib5fca5fmod5ft">
\r
583 Access Layer/ib_ca_mod_t</a></h2>
\r
585 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
586 <p><strong>NAME</strong></p>
\r
587 <span class="NAME"><pre> <strong>ib_ca_mod_t</strong> -- Modify port attributes and error counters
\r
589 </span><p><strong>DESCRIPTION</strong></p>
\r
590 <span class="DESCRIPTION"><pre> Specifies modifications to the port attributes of a channel adapter.
\r
592 </span><p><strong>SYNOPSIS</strong></p>
\r
593 <span class="SYNOPSIS"><pre>typedef uint32_t <strong>ib_ca_mod_t</strong>;
\r
594 #define IB_CA_MOD_IS_CM_SUPPORTED 0x00000001
\r
595 #define IB_CA_MOD_IS_SNMP_SUPPORTED 0x00000002
\r
596 #define IB_CA_MOD_IS_DEV_MGMT_SUPPORTED 0x00000004
\r
597 #define IB_CA_MOD_IS_VEND_SUPPORTED 0x00000008
\r
598 #define IB_CA_MOD_IS_SM 0x00000010
\r
599 #define IB_CA_MOD_IS_SM_DISABLED 0x00000020
\r
600 #define IB_CA_MOD_QKEY_CTR 0x00000040
\r
601 #define IB_CA_MOD_PKEY_CTR 0x00000080
\r
602 #define IB_CA_MOD_IS_NOTICE_SUPPORTED 0x00000100
\r
603 #define IB_CA_MOD_IS_TRAP_SUPPORTED 0x00000200
\r
604 #define IB_CA_MOD_IS_APM_SUPPORTED 0x00000400
\r
605 #define IB_CA_MOD_IS_SLMAP_SUPPORTED 0x00000800
\r
606 #define IB_CA_MOD_IS_PKEY_NVRAM_SUPPORTED 0x00001000
\r
607 #define IB_CA_MOD_IS_MKEY_NVRAM_SUPPORTED 0x00002000
\r
608 #define IB_CA_MOD_IS_SYSGUID_SUPPORTED 0x00004000
\r
609 #define IB_CA_MOD_IS_DR_NOTICE_SUPPORTED 0x00008000
\r
610 #define IB_CA_MOD_IS_BOOT_MGMT_SUPPORTED 0x00010000
\r
611 #define IB_CA_MOD_IS_CAPM_NOTICE_SUPPORTED 0x00020000
\r
612 #define IB_CA_MOD_IS_REINIT_SUPORTED 0x00040000
\r
613 #define IB_CA_MOD_IS_LEDINFO_SUPPORTED 0x00080000
\r
614 #define IB_CA_MOD_SHUTDOWN_PORT 0x00100000
\r
615 #define IB_CA_MOD_INIT_TYPE_VALUE 0x00200000
\r
616 #define IB_CA_MOD_SYSTEM_IMAGE_GUID 0x00400000
\r
617 #define IB_CA_MOD_IS_CLIENT_REREGISTER_SUPPORTED 0x00800000
\r
618 #define IB_CA_MOD_RESERVED_MASK 0xFF000000
\r
620 </span><p><strong>VALUES</strong></p>
\r
621 <span class="VALUES"><pre> IB_CA_MOD_IS_CM_SUPPORTED
\r
622 Indicates if there is a communication manager accessible through
\r
625 IB_CA_MOD_IS_SNMP_SUPPORTED
\r
626 Indicates if there is an SNMP agent accessible through the port.
\r
628 IB_CA_MOD_IS_DEV_MGMT_SUPPORTED
\r
629 Indicates if there is a device management agent accessible through
\r
632 IB_CA_MOD_IS_VEND_SUPPORTED
\r
633 Indicates if there is a vendor supported agent accessible through
\r
637 Indicates if there is a subnet manager accessible through
\r
640 IB_CA_MOD_IS_SM_DISABLED
\r
641 Indicates if the port has been disabled for configuration by the subnet
\r
645 Used to reset the qkey violation counter associated with the port.
\r
648 Used to reset the pkey violation counter associated with the port.
\r
650 IB_CA_MOD_IS_NOTICE_SUPPORTED
\r
651 Indicates that this CA supports ability to generate Notices for
\r
652 Port State changes. (only applicable to switches)
\r
654 IB_CA_MOD_IS_TRAP_SUPPORTED
\r
655 Indicates that this management port supports ability to generate
\r
656 trap messages. (only applicable to switches)
\r
658 IB_CA_MOD_IS_APM_SUPPORTED
\r
659 Indicates that this port is capable of performing Automatic Migration.
\r
661 IB_CA_MOD_IS_SLMAP_SUPPORTED
\r
662 Indicates this port supports SLMAP capability.
\r
664 IB_CA_MOD_IS_PKEY_NVRAM_SUPPORTED
\r
665 Indicates that PKEY is supported in NVRAM
\r
667 IB_CA_MOD_IS_MKEY_NVRAM_SUPPORTED
\r
668 Indicates that MKEY is supported in NVRAM
\r
670 IB_CA_MOD_IS_SYSGUID_SUPPORTED
\r
671 Indicates System Image GUID support.
\r
673 IB_CA_MOD_IS_DR_NOTICE_SUPPORTED
\r
674 Indicate support for generating Direct Routed Notices
\r
676 IB_CA_MOD_IS_BOOT_MGMT_SUPPORTED
\r
677 Indicates support for Boot Management
\r
679 IB_CA_MOD_IS_CAPM_NOTICE_SUPPORTED
\r
680 Indicates capability to generate notices for changes to CAPMASK
\r
682 IB_CA_MOD_IS_REINIT_SUPORTED
\r
683 Indicates type of node init supported. Refer to Chapter 14 for
\r
684 Initialization actions.
\r
686 IB_CA_MOD_IS_LEDINFO_SUPPORTED
\r
687 Indicates support for LED info.
\r
689 IB_CA_MOD_SHUTDOWN_PORT
\r
690 Used to modify the port active indicator.
\r
692 IB_CA_MOD_INIT_TYPE_VALUE
\r
693 Used to modify the init_type value for the port.
\r
695 IB_CA_MOD_SYSTEM_IMAGE_GUID
\r
696 Used to modify the system image GUID for the port.
\r
698 IB_CA_MOD_IS_CLIENT_REREGISTER_SUPPORTED
\r
699 Used to modify the system image GUID for the port.
\r
701 IB_CA_MOD_RESERVED_MASK
\r
702 Mask of all the reserved bits. If any of these bits are set
\r
703 <a href="./ib_al_h.html#robo156">ib_modify_ca</a> will return IB_INVALID_PARAMETER.
\r
708 <h2><a name="robo66">[Structures]<a name="Access20Layer2fib5fci5fop5ft">
\r
709 Access Layer/ib_ci_op_t</a></h2>
\r
711 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
712 <p><strong>NAME</strong></p>
\r
713 <span class="NAME"><pre> <strong>ib_ci_op_t</strong>
\r
715 </span><p><strong>DESCRIPTION</strong></p>
\r
716 <span class="DESCRIPTION"><pre> A structure used for vendor specific CA interface communication.
\r
718 </span><p><strong>SYNOPSIS</strong></p>
\r
719 <span class="SYNOPSIS"><pre>typedef struct _ib_ci_op
\r
721 IN uint32_t command;
\r
722 IN uint32_t buf_size;
\r
723 IN uint32_t buf_info;
\r
724 IN OUT int32_t status;
\r
725 OUT uint32_t num_bytes_ret;
\r
726 IN OUT void* __ptr64 p_buf OPTIONAL;
\r
728 } <strong>ib_ci_op_t</strong>;
\r
730 </span><p><strong>FIELDS</strong></p>
\r
731 <span class="FIELDS"><pre> command
\r
732 A command code that is understood by the verbs provider.
\r
735 The completion status from the verbs provider. This field should be
\r
736 initialize to indicate an error to allow detection and cleanup in
\r
737 case a communication error occurs between user-mode and kernel-mode.
\r
740 The size of the buffer in bytes.
\r
743 Additional buffer information
\r
746 A reference to a buffer containing vendor specific data. The verbs
\r
747 provider must not access pointers in the p_buf between user-mode and
\r
748 kernel-mode. Any pointers embedded in the p_buf are invalidated by
\r
749 the user-mode/kernel-mode transition.
\r
752 The size in bytes of the vendor specific data returned in the buffer.
\r
753 This field is set by the verbs provider. The verbs provider should
\r
754 verify that the buffer size is sufficient to hold the data being
\r
757 </span><p><strong>NOTES</strong></p>
\r
758 <span class="NOTES"><pre> This structure is provided to allow the exchange of vendor specific
\r
759 data between the originator and the verbs provider. Users of this
\r
760 structure are expected to know the format of data in the p_buf based
\r
761 on the structure command field or the usage context.
\r
766 <h2><a name="robo73">[Definitions]<a name="Access20Layer2fib5fcm5fcap5fmask5ft">
\r
767 Access Layer/ib_cm_cap_mask_t</a></h2>
\r
769 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
770 <p><strong>NAME</strong></p>
\r
771 <span class="NAME"><pre> <strong>ib_cm_cap_mask_t</strong>
\r
773 </span><p><strong>DESCRIPTION</strong></p>
\r
774 <span class="DESCRIPTION"><pre> Capability mask values in ClassPortInfo.
\r
776 </span><p><strong>SYNOPSIS</strong></p>
\r
777 <span class="SYNOPSIS"><pre>#define IB_CM_RELIABLE_CONN_CAPABLE <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(9)
\r
778 #define IB_CM_RELIABLE_DGRM_CAPABLE <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(10)
\r
779 #define IB_CM_RDGRM_CAPABLE <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(11)
\r
780 #define IB_CM_UNRELIABLE_CONN_CAPABLE <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(12)
\r
781 #define IB_CM_SIDR_CAPABLE <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(13)
\r
783 </span><p><strong>SEE ALSO</strong></p>
\r
784 <span class="SEE_ALSO"><pre> <a href="./ib_al_h.html#robo93">ib_cm_rep</a>, <a href="#robo855">ib_class_port_info_t</a>
\r
786 </span><p><strong>SOURCE</strong></p>
\r
787 <span class="SOURCE"><pre>*
\r
792 <h2><a name="robo102">[Functions]<a name="Access20layer2fib5fcopy5fca5fattr">
\r
793 Access layer/ib_copy_ca_attr</a></h2>
\r
795 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_functions.html#top">index</a>]</p>
\r
796 <p><strong>NAME</strong></p>
\r
797 <span class="NAME"><pre> <strong>ib_copy_ca_attr</strong>
\r
799 </span><p><strong>DESCRIPTION</strong></p>
\r
800 <span class="DESCRIPTION"><pre> Copies CA attributes.
\r
802 </span><p><strong>SYNOPSIS</strong></p>
\r
803 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="#robo60">ib_ca_attr_t</a>* AL_API
\r
804 <strong>ib_copy_ca_attr</strong>(
\r
805 IN <a href="#robo60">ib_ca_attr_t</a>* const p_dest,
\r
806 IN const <a href="#robo60">ib_ca_attr_t</a>* const p_src );
\r
808 </span><p><strong>PARAMETERS</strong></p>
\r
809 <span class="PARAMETERS"><pre> p_dest
\r
810 Pointer to the buffer that is the destination of the copy.
\r
813 Pointer to the CA attributes to copy.
\r
815 </span><p><strong>RETURN VALUE</strong></p>
\r
816 <span class="RETURN_VALUE"><pre> Pointer to the copied CA attributes.
\r
818 </span><p><strong>NOTES</strong></p>
\r
819 <span class="NOTES"><pre> The buffer pointed to by the p_dest parameter must be at least the size
\r
820 specified in the size field of the buffer pointed to by p_src.
\r
822 </span><p><strong>SEE ALSO</strong></p>
\r
823 <span class="SEE_ALSO"><pre> <a href="#robo60">ib_ca_attr_t</a>, ib_dup_ca_attr, ib_free_ca_attr
\r
828 <h2><a name="robo141">[Definitions]<a name="Access20Layer2fib5finit5ftype5ft">
\r
829 Access Layer/ib_init_type_t</a></h2>
\r
831 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
832 <p><strong>NAME</strong></p>
\r
833 <span class="NAME"><pre> <strong>ib_init_type_t</strong>
\r
835 </span><p><strong>DESCRIPTION</strong></p>
\r
836 <span class="DESCRIPTION"><pre> If supported by the HCA, the type of initialization requested by
\r
837 this port before SM moves it to the active or armed state. If the
\r
838 SM implements reinitialization, it shall set these bits to indicate
\r
839 the type of initialization performed prior to activating the port.
\r
840 Otherwise, these bits shall be set to 0.
\r
842 </span><p><strong>SYNOPSIS</strong></p>
\r
843 <span class="SYNOPSIS"><pre>typedef uint8_t <strong>ib_init_type_t</strong>;
\r
844 #define IB_INIT_TYPE_NO_LOAD 0x01
\r
845 #define IB_INIT_TYPE_PRESERVE_CONTENT 0x02
\r
846 #define IB_INIT_TYPE_PRESERVE_PRESENCE 0x04
\r
847 #define IB_INIT_TYPE_DO_NOT_RESUSCITATE 0x08
\r
852 <h2><a name="robo148">[Structures]<a name="Access20Layer2fib5flocal5fds5ft">
\r
853 Access Layer/ib_local_ds_t</a></h2>
\r
855 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
856 <p><strong>NAME</strong></p>
\r
857 <span class="NAME"><pre> <strong>ib_local_ds_t</strong>
\r
859 </span><p><strong>DESCRIPTION</strong></p>
\r
860 <span class="DESCRIPTION"><pre> Local data segment information referenced by send and receive work
\r
861 requests. This is used to specify local data buffers used as part of a
\r
864 </span><p><strong>SYNOPSIS</strong></p>
\r
865 <span class="SYNOPSIS"><pre>typedef struct _ib_local_ds
\r
871 } <strong>ib_local_ds_t</strong>;
\r
876 <h2><a name="robo159">[Structures]<a name="Access20Layer2fib5fmr5fattr5ft">
\r
877 Access Layer/ib_mr_attr_t</a></h2>
\r
879 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
880 <p><strong>NAME</strong></p>
\r
881 <span class="NAME"><pre> <strong>ib_mr_attr_t</strong>
\r
883 </span><p><strong>DESCRIPTION</strong></p>
\r
884 <span class="DESCRIPTION"><pre> Attributes of a registered memory region.
\r
886 </span><p><strong>SYNOPSIS</strong></p>
\r
887 <span class="SYNOPSIS"><pre>typedef struct _ib_mr_attr
\r
889 ib_pd_handle_t h_pd;
\r
892 uint64_t remote_lb;
\r
893 uint64_t remote_ub;
\r
894 <a href="#robo45">ib_access_t</a> access_ctrl;
\r
898 } <strong>ib_mr_attr_t</strong>;
\r
900 </span><p><strong>DESCRIPTION</strong></p>
\r
901 <span class="DESCRIPTION"><pre> h_pd
\r
902 Handle to the protection domain for this memory region.
\r
905 The virtual address of the lower bound of protection for local
\r
906 memory access. This is always a 64-bit quantity to support registering
\r
907 more than 4GB of memory on 32-bit systems with PAE.
\r
910 The virtual address of the upper bound of protection for local
\r
911 memory access. This is always a 64-bit quantity to support registering
\r
912 more than 4GB of memory on 32-bit systems with PAE.
\r
915 The virtual address of the lower bound of protection for remote
\r
916 memory access. This is always a 64-bit quantity to support registering
\r
917 more than 4GB of memory on 32-bit systems with PAE.
\r
920 The virtual address of the upper bound of protection for remote
\r
921 memory access. This is always a 64-bit quantity to support registering
\r
922 more than 4GB of memory on 32-bit systems with PAE.
\r
925 Access rights for the specified memory region.
\r
928 The lkey associated with this memory region.
\r
931 The rkey associated with this memory region.
\r
933 </span><p><strong>NOTES</strong></p>
\r
934 <span class="NOTES"><pre> The remote_lb, remote_ub, and rkey are only valid if remote memory access
\r
935 is enabled for this memory region.
\r
937 </span><p><strong>SEE ALSO</strong></p>
\r
938 <span class="SEE_ALSO"><pre> <a href="#robo45">ib_access_t</a>
\r
943 <h2><a name="robo160">[Structures]<a name="Access20Layer2fib5fmr5fcreate5ft">
\r
944 Access Layer/ib_mr_create_t</a></h2>
\r
946 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
947 <p><strong>NAME</strong></p>
\r
948 <span class="NAME"><pre> <strong>ib_mr_create_t</strong>
\r
950 </span><p><strong>DESCRIPTION</strong></p>
\r
951 <span class="DESCRIPTION"><pre> Information required to create a registered memory region.
\r
953 </span><p><strong>SYNOPSIS</strong></p>
\r
954 <span class="SYNOPSIS"><pre>typedef struct _ib_mr_create
\r
956 void* __ptr64 vaddr;
\r
958 <a href="#robo45">ib_access_t</a> access_ctrl;
\r
960 } <strong>ib_mr_create_t</strong>;
\r
962 </span><p><strong>FIELDS</strong></p>
\r
963 <span class="FIELDS"><pre> vaddr
\r
964 Starting virtual address of the region being registered.
\r
967 Length of the buffer to register.
\r
970 Access rights of the registered region.
\r
972 </span><p><strong>SEE ALSO</strong></p>
\r
973 <span class="SEE_ALSO"><pre> <a href="#robo45">ib_access_t</a>
\r
978 <h2><a name="robo161">[Definitions]<a name="Access20Layer2fib5fmr5fmod5ft">
\r
979 Access Layer/ib_mr_mod_t</a></h2>
\r
981 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
982 <p><strong>NAME</strong></p>
\r
983 <span class="NAME"><pre> <strong>ib_mr_mod_t</strong>
\r
985 </span><p><strong>DESCRIPTION</strong></p>
\r
986 <span class="DESCRIPTION"><pre> Mask used to specify which attributes of a registered memory region are
\r
989 </span><p><strong>SYNOPSIS</strong></p>
\r
990 <span class="SYNOPSIS"><pre>typedef uint32_t <strong>ib_mr_mod_t</strong>;
\r
991 #define IB_MR_MOD_ADDR 0x00000001
\r
992 #define IB_MR_MOD_PD 0x00000002
\r
993 #define IB_MR_MOD_ACCESS 0x00000004
\r
995 </span><p><strong>PARAMETERS</strong></p>
\r
996 <span class="PARAMETERS"><pre> IB_MEM_MOD_ADDR
\r
997 The address of the memory region is being modified.
\r
1000 The protection domain associated with the memory region is being
\r
1004 The access rights the memory region are being modified.
\r
1009 <h2><a name="robo165">[Definitions]<a name="Access20Layer2fib5fpd5ftype5ft">
\r
1010 Access Layer/ib_pd_type_t</a></h2>
\r
1012 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
1013 <p><strong>NAME</strong></p>
\r
1014 <span class="NAME"><pre> <strong>ib_pd_type_t</strong>
\r
1016 </span><p><strong>DESCRIPTION</strong></p>
\r
1017 <span class="DESCRIPTION"><pre> Indicates the type of protection domain being allocated.
\r
1019 </span><p><strong>SYNOPSIS</strong></p>
\r
1020 <span class="SYNOPSIS"><pre>typedef enum _ib_pd_type
\r
1027 } <strong>ib_pd_type_t</strong>;
\r
1029 </span><p><strong>VALUES</strong></p>
\r
1030 <span class="VALUES"><pre> IB_PDT_NORMAL
\r
1031 Protection domain for all non-aliased QPs.
\r
1034 Protection domain for IB_QPT_QP0_ALIAS and IB_QPT_QP1_ALIAS QPs.
\r
1037 Protection domain for special queue pair usage.
\r
1040 Protection domain for UD queue pair usage.
\r
1045 <h2><a name="robo187">[Structures]<a name="Access20Layer2fib5fphys5fcreate5ft">
\r
1046 Access Layer/ib_phys_create_t</a></h2>
\r
1048 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
1049 <p><strong>NAME</strong></p>
\r
1050 <span class="NAME"><pre> <strong>ib_phys_create_t</strong>
\r
1052 </span><p><strong>DESCRIPTION</strong></p>
\r
1053 <span class="DESCRIPTION"><pre> Information required to create a physical memory region.
\r
1055 </span><p><strong>SYNOPSIS</strong></p>
\r
1056 <span class="SYNOPSIS"><pre>typedef struct _ib_phys_create
\r
1059 uint32_t num_ranges;
\r
1060 <a href="#robo188">ib_phys_range_t</a>* __ptr64 range_array;
\r
1061 uint32_t buf_offset;
\r
1062 uint32_t hca_page_size;
\r
1063 <a href="#robo45">ib_access_t</a> access_ctrl;
\r
1065 } <strong>ib_phys_create_t</strong>;
\r
1067 </span><p><strong>FIELDS</strong></p>
\r
1068 <span class="FIELDS"><pre> length
\r
1069 The length of the memory region in bytes.
\r
1072 Number of ib_phys_range structures listed in the specified range array.
\r
1075 An array of ib_phys_range structures to be registered as a single memory
\r
1079 The offset into the first physical memory range of the specified memory
\r
1080 region on which to start the virtual address.
\r
1083 The HCA page size to use to register the memory.
\r
1086 Access rights of the registered region.
\r
1088 </span><p><strong>SEE ALSO</strong></p>
\r
1089 <span class="SEE_ALSO"><pre> <a href="#robo45">ib_access_t</a>
\r
1094 <h2><a name="robo188">[Structures]<a name="Access20Layer2fib5fphys5frange5ft">
\r
1095 Access Layer/ib_phys_range_t</a></h2>
\r
1097 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
1098 <p><strong>NAME</strong></p>
\r
1099 <span class="NAME"><pre> <strong>ib_phys_range_t</strong>
\r
1101 </span><p><strong>DESCRIPTION</strong></p>
\r
1102 <span class="DESCRIPTION"><pre> Information describing a physical memory range.
\r
1104 </span><p><strong>SYNOPSIS</strong></p>
\r
1105 <span class="SYNOPSIS"><pre>typedef struct _ib_phys_range
\r
1107 uint64_t base_addr;
\r
1110 } <strong>ib_phys_range_t</strong>;
\r
1112 </span><p><strong>FIELDS</strong></p>
\r
1113 <span class="FIELDS"><pre> base_addr
\r
1114 Physical address of the base of the memory range.
\r
1117 size, in bytes, of the memory range.
\r
1119 </span><p><strong>NOTES</strong></p>
\r
1120 <span class="NOTES"><pre> The base address must be start and end on an HCA-supported page boundary.
\r
1122 </span><p><strong>SEE ALSO</strong></p>
\r
1123 <span class="SEE_ALSO"><pre> <a href="#robo187">ib_phys_create_t</a>
\r
1128 <h2><a name="robo199">[Structures]<a name="Access20Layer2fib5fport5fattr5fmod5ft">
\r
1129 Access Layer/ib_port_attr_mod_t</a></h2>
\r
1131 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
1132 <p><strong>NAME</strong></p>
\r
1133 <span class="NAME"><pre> <strong>ib_port_attr_mod_t</strong>
\r
1135 </span><p><strong>DESCRIPTION</strong></p>
\r
1136 <span class="DESCRIPTION"><pre> Port attributes that may be modified.
\r
1138 </span><p><strong>SYNOPSIS</strong></p>
\r
1139 <span class="SYNOPSIS"><pre>typedef struct _ib_port_attr_mod
\r
1141 <a href="#robo201">ib_port_cap_t</a> cap;
\r
1142 uint16_t pkey_ctr;
\r
1143 uint16_t qkey_ctr;
\r
1145 <a href="#robo141">ib_init_type_t</a> init_type;
\r
1146 <a href="#robo912">ib_net64_t</a> system_image_guid;
\r
1148 } <strong>ib_port_attr_mod_t</strong>;
\r
1150 </span><p><strong>SEE ALSO</strong></p>
\r
1151 <span class="SEE_ALSO"><pre> <a href="#robo201">ib_port_cap_t</a>
\r
1156 <h2><a name="robo200">[Structures]<a name="Access20Layer2fib5fport5fattr5ft">
\r
1157 Access Layer/ib_port_attr_t</a></h2>
\r
1159 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
1160 <p><strong>NAME</strong></p>
\r
1161 <span class="NAME"><pre> <strong>ib_port_attr_t</strong>
\r
1163 </span><p><strong>DESCRIPTION</strong></p>
\r
1164 <span class="DESCRIPTION"><pre> Information about a port on a given channel adapter.
\r
1166 </span><p><strong>SYNOPSIS</strong></p>
\r
1167 <span class="SYNOPSIS"><pre>typedef struct _ib_port_attr
\r
1169 <a href="#robo912">ib_net64_t</a> port_guid;
\r
1172 uint64_t max_msg_size;
\r
1173 <a href="#robo910">ib_net16_t</a> lid;
\r
1177 * LinkWidthSupported as defined in PortInfo. Required to calculate
\r
1178 * inter-packet delay (a.k.a. static rate).
\r
1180 uint8_t link_width_supported;
\r
1184 <a href="#robo910">ib_net16_t</a> sm_lid;
\r
1186 uint8_t link_state;
\r
1188 <a href="#robo141">ib_init_type_t</a> init_type_reply; /* Optional */
\r
1192 * The maximum expected subnet propagation delay to reach any port on
\r
1193 * the subnet. This value also determines the rate at which traps can
\r
1194 * be generated from this node.
\r
1196 * timeout = 4.096 microseconds * 2^subnet_timeout
\r
1198 uint8_t subnet_timeout;
\r
1200 <a href="#robo201">ib_port_cap_t</a> cap;
\r
1201 uint16_t pkey_ctr;
\r
1202 uint16_t qkey_ctr;
\r
1204 uint16_t num_gids;
\r
1205 uint16_t num_pkeys;
\r
1207 * Pointers at the end of the structure to allow doing a simple
\r
1208 * memory comparison of contents up to the first pointer.
\r
1210 <a href="#robo872">ib_gid_t</a>* __ptr64 p_gid_table;
\r
1211 <a href="#robo910">ib_net16_t</a>* __ptr64 p_pkey_table;
\r
1213 } <strong>ib_port_attr_t</strong>;
\r
1215 </span><p><strong>SEE ALSO</strong></p>
\r
1216 <span class="SEE_ALSO"><pre> uint8_t, <a href="#robo201">ib_port_cap_t</a>, <a href="#robo736">ib_link_states_t</a>
\r
1221 <h2><a name="robo201">[Structures]<a name="Access20Layer2fib5fport5fcap5ft">
\r
1222 Access Layer/ib_port_cap_t</a></h2>
\r
1224 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
1225 <p><strong>NAME</strong></p>
\r
1226 <span class="NAME"><pre> <strong>ib_port_cap_t</strong>
\r
1228 </span><p><strong>DESCRIPTION</strong></p>
\r
1229 <span class="DESCRIPTION"><pre> Indicates which management agents are currently available on the specified
\r
1232 </span><p><strong>SYNOPSIS</strong></p>
\r
1233 <span class="SYNOPSIS"><pre>typedef struct _ib_port_cap
\r
1237 boolean_t dev_mgmt;
\r
1240 boolean_t sm_disable;
\r
1241 boolean_t qkey_ctr;
\r
1242 boolean_t pkey_ctr;
\r
1247 boolean_t pkey_nvram;
\r
1248 boolean_t mkey_nvram;
\r
1249 boolean_t sysguid;
\r
1250 boolean_t dr_notice;
\r
1251 boolean_t boot_mgmt;
\r
1252 boolean_t capm_notice;
\r
1254 boolean_t ledinfo;
\r
1255 boolean_t port_active;
\r
1257 boolean_t pkey_switch_ext_port;
\r
1259 boolean_t link_rtl;
\r
1260 boolean_t client_reregister;
\r
1262 } <strong>ib_port_cap_t</strong>;
\r
1267 <h2><a name="robo205">[Structures]<a name="Access20Layer2fib5fqp5fattr5ft">
\r
1268 Access Layer/ib_qp_attr_t</a></h2>
\r
1270 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
1271 <p><strong>NAME</strong></p>
\r
1272 <span class="NAME"><pre> <strong>ib_qp_attr_t</strong>
\r
1274 </span><p><strong>DESCRIPTION</strong></p>
\r
1275 <span class="DESCRIPTION"><pre> Queue pair attributes returned through <a href="./ib_al_h.html#robo218">ib_query_qp</a>.
\r
1277 </span><p><strong>SYNOPSIS</strong></p>
\r
1278 <span class="SYNOPSIS"><pre>typedef struct _ib_qp_attr
\r
1280 ib_pd_handle_t h_pd;
\r
1281 <a href="#robo210">ib_qp_type_t</a> qp_type;
\r
1282 <a href="#robo45">ib_access_t</a> access_ctrl;
\r
1283 uint16_t pkey_index;
\r
1285 uint32_t sq_max_inline;
\r
1286 uint32_t sq_depth;
\r
1287 uint32_t rq_depth;
\r
1290 uint8_t init_depth;
\r
1293 ib_cq_handle_t h_sq_cq;
\r
1294 ib_cq_handle_t h_rq_cq;
\r
1296 boolean_t sq_signaled;
\r
1298 <a href="#robo209">ib_qp_state_t</a> state;
\r
1299 <a href="#robo911">ib_net32_t</a> num;
\r
1300 <a href="#robo911">ib_net32_t</a> dest_num;
\r
1301 <a href="#robo911">ib_net32_t</a> qkey;
\r
1303 <a href="#robo911">ib_net32_t</a> sq_psn;
\r
1304 <a href="#robo911">ib_net32_t</a> rq_psn;
\r
1306 uint8_t primary_port;
\r
1307 uint8_t alternate_port;
\r
1308 <a href="#robo57">ib_av_attr_t</a> primary_av;
\r
1309 <a href="#robo57">ib_av_attr_t</a> alternate_av;
\r
1310 <a href="#robo50">ib_apm_state_t</a> apm_state;
\r
1312 } <strong>ib_qp_attr_t</strong>;
\r
1314 </span><p><strong>FIELDS</strong></p>
\r
1315 <span class="FIELDS"><pre> h_pd
\r
1316 This is a handle to a protection domain associated with the QP.
\r
1319 Maximum payload that can be inlined directly in a WQE, eliminating
\r
1320 protection checks and additional DMA operations.
\r
1322 </span><p><strong>NOTES</strong></p>
\r
1323 <span class="NOTES"><pre> Other fields are defined by the Infiniband specification.
\r
1325 </span><p><strong>SEE ALSO</strong></p>
\r
1326 <span class="SEE_ALSO"><pre> <a href="#robo210">ib_qp_type_t</a>, <a href="#robo45">ib_access_t</a>, <a href="#robo209">ib_qp_state_t</a>, <a href="#robo57">ib_av_attr_t</a>, <a href="#robo50">ib_apm_state_t</a>
\r
1331 <h2><a name="robo206">[Structures]<a name="Access20Layer2fib5fqp5fcreate5ft">
\r
1332 Access Layer/ib_qp_create_t</a></h2>
\r
1334 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
1335 <p><strong>NAME</strong></p>
\r
1336 <span class="NAME"><pre> <strong>ib_qp_create_t</strong>
\r
1338 </span><p><strong>DESCRIPTION</strong></p>
\r
1339 <span class="DESCRIPTION"><pre> Attributes used to initialize a queue pair at creation time.
\r
1341 </span><p><strong>SYNOPSIS</strong></p>
\r
1342 <span class="SYNOPSIS"><pre>typedef struct _ib_qp_create
\r
1344 <a href="#robo210">ib_qp_type_t</a> qp_type;
\r
1346 uint32_t sq_depth;
\r
1347 uint32_t rq_depth;
\r
1351 ib_cq_handle_t h_sq_cq;
\r
1352 ib_cq_handle_t h_rq_cq;
\r
1354 boolean_t sq_signaled;
\r
1356 } <strong>ib_qp_create_t</strong>;
\r
1358 </span><p><strong>FIELDS</strong></p>
\r
1359 <span class="FIELDS"><pre> type
\r
1360 Specifies the type of queue pair to create.
\r
1363 Indicates the requested maximum number of work requests that may be
\r
1364 outstanding on the queue pair's send queue. This value must be less
\r
1365 than or equal to the maximum reported by the channel adapter associated
\r
1366 with the queue pair.
\r
1369 Indicates the requested maximum number of work requests that may be
\r
1370 outstanding on the queue pair's receive queue. This value must be less
\r
1371 than or equal to the maximum reported by the channel adapter associated
\r
1372 with the queue pair.
\r
1375 Indicates the maximum number scatter-gather elements that may be
\r
1376 given in a send work request. This value must be less
\r
1377 than or equal to the maximum reported by the channel adapter associated
\r
1378 with the queue pair.
\r
1381 Indicates the maximum number scatter-gather elements that may be
\r
1382 given in a receive work request. This value must be less
\r
1383 than or equal to the maximum reported by the channel adapter associated
\r
1384 with the queue pair.
\r
1387 A handle to the completion queue that will be used to report send work
\r
1388 request completions. This handle must be NULL if the type is
\r
1389 IB_QPT_MAD, IB_QPT_QP0_ALIAS, or IB_QPT_QP1_ALIAS.
\r
1392 A handle to the completion queue that will be used to report receive
\r
1393 work request completions. This handle must be NULL if the type is
\r
1394 IB_QPT_MAD, IB_QPT_QP0_ALIAS, or IB_QPT_QP1_ALIAS.
\r
1397 A flag that is used to indicate whether the queue pair will signal
\r
1398 an event upon completion of a send work request. If set to
\r
1399 TRUE, send work requests will always generate a completion
\r
1400 event. If set to FALSE, a completion event will only be
\r
1401 generated if the send_opt field of the send work request has the
\r
1402 IB_SEND_OPT_SIGNALED flag set.
\r
1404 </span><p><strong>SEE ALSO</strong></p>
\r
1405 <span class="SEE_ALSO"><pre> <a href="#robo210">ib_qp_type_t</a>, <a href="#robo205">ib_qp_attr_t</a>
\r
1410 <h2><a name="robo207">[Structures]<a name="Access20Layer2fib5fqp5fmod5ft">
\r
1411 Access Layer/ib_qp_mod_t</a></h2>
\r
1413 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
1414 <p><strong>NAME</strong></p>
\r
1415 <span class="NAME"><pre> <strong>ib_qp_mod_t</strong>
\r
1417 </span><p><strong>DESCRIPTION</strong></p>
\r
1418 <span class="DESCRIPTION"><pre> Information needed to change the state of a queue pair through the
\r
1419 <a href="./ib_al_h.html#robo158">ib_modify_qp</a> call.
\r
1421 </span><p><strong>SYNOPSIS</strong></p>
\r
1422 <span class="SYNOPSIS"><pre>typedef struct _ib_qp_mod
\r
1424 <a href="#robo209">ib_qp_state_t</a> req_state;
\r
1430 uint8_t primary_port;
\r
1431 <a href="#robo911">ib_net32_t</a> qkey;
\r
1432 uint16_t pkey_index;
\r
1433 <a href="#robo45">ib_access_t</a> access_ctrl;
\r
1439 <a href="#robo911">ib_net32_t</a> rq_psn;
\r
1440 <a href="#robo911">ib_net32_t</a> dest_qp;
\r
1441 <a href="#robo57">ib_av_attr_t</a> primary_av;
\r
1443 uint8_t rnr_nak_timeout;
\r
1445 <a href="#robo208">ib_qp_opts_t</a> opts;
\r
1446 <a href="#robo57">ib_av_attr_t</a> alternate_av;
\r
1447 <a href="#robo911">ib_net32_t</a> qkey;
\r
1448 uint16_t pkey_index;
\r
1449 <a href="#robo45">ib_access_t</a> access_ctrl;
\r
1450 uint32_t sq_depth;
\r
1451 uint32_t rq_depth;
\r
1457 <a href="#robo911">ib_net32_t</a> sq_psn;
\r
1458 uint8_t retry_cnt;
\r
1459 uint8_t rnr_retry_cnt;
\r
1460 uint8_t local_ack_timeout;
\r
1461 uint8_t init_depth;
\r
1463 <a href="#robo208">ib_qp_opts_t</a> opts;
\r
1464 uint8_t rnr_nak_timeout;
\r
1465 <a href="#robo209">ib_qp_state_t</a> current_state;
\r
1466 <a href="#robo911">ib_net32_t</a> qkey;
\r
1467 <a href="#robo45">ib_access_t</a> access_ctrl;
\r
1470 <a href="#robo57">ib_av_attr_t</a> primary_av;
\r
1471 <a href="#robo57">ib_av_attr_t</a> alternate_av;
\r
1473 uint32_t sq_depth;
\r
1474 uint32_t rq_depth;
\r
1476 <a href="#robo50">ib_apm_state_t</a> apm_state;
\r
1477 uint8_t primary_port;
\r
1478 uint16_t pkey_index;
\r
1484 boolean_t sqd_event;
\r
1490 } <strong>ib_qp_mod_t</strong>;
\r
1492 </span><p><strong>SEE ALSO</strong></p>
\r
1493 <span class="SEE_ALSO"><pre> <a href="#robo209">ib_qp_state_t</a>, <a href="#robo45">ib_access_t</a>, <a href="#robo57">ib_av_attr_t</a>, <a href="#robo50">ib_apm_state_t</a>
\r
1498 <h2><a name="robo208">[Definitions]<a name="Access20Layer2fib5fqp5fopts5ft">
\r
1499 Access Layer/ib_qp_opts_t</a></h2>
\r
1501 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
1502 <p><strong>NAME</strong></p>
\r
1503 <span class="NAME"><pre> <strong>ib_qp_opts_t</strong>
\r
1505 </span><p><strong>DESCRIPTION</strong></p>
\r
1506 <span class="DESCRIPTION"><pre> Optional fields supplied in the modify QP operation.
\r
1508 </span><p><strong>SYNOPSIS</strong></p>
\r
1509 <span class="SYNOPSIS"><pre>typedef uint32_t <strong>ib_qp_opts_t</strong>;
\r
1510 #define IB_MOD_QP_ALTERNATE_AV 0x00000001
\r
1511 #define IB_MOD_QP_PKEY 0x00000002
\r
1512 #define IB_MOD_QP_APM_STATE 0x00000004
\r
1513 #define IB_MOD_QP_PRIMARY_AV 0x00000008
\r
1514 #define IB_MOD_QP_RNR_NAK_TIMEOUT 0x00000010
\r
1515 #define IB_MOD_QP_RESP_RES 0x00000020
\r
1516 #define IB_MOD_QP_INIT_DEPTH 0x00000040
\r
1517 #define IB_MOD_QP_PRIMARY_PORT 0x00000080
\r
1518 #define IB_MOD_QP_ACCESS_CTRL 0x00000100
\r
1519 #define IB_MOD_QP_QKEY 0x00000200
\r
1520 #define IB_MOD_QP_SQ_DEPTH 0x00000400
\r
1521 #define IB_MOD_QP_RQ_DEPTH 0x00000800
\r
1522 #define IB_MOD_QP_CURRENT_STATE 0x00001000
\r
1523 #define IB_MOD_QP_RETRY_CNT 0x00002000
\r
1524 #define IB_MOD_QP_LOCAL_ACK_TIMEOUT 0x00004000
\r
1525 #define IB_MOD_QP_RNR_RETRY_CNT 0x00008000
\r
1527 </span><p><strong>SEE ALSO</strong></p>
\r
1528 <span class="SEE_ALSO"><pre> <a href="#robo207">ib_qp_mod_t</a>
\r
1533 <h2><a name="robo209">[Definitions]<a name="Access20Layer2fib5fqp5fstate5ft">
\r
1534 Access Layer/ib_qp_state_t</a></h2>
\r
1536 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
1537 <p><strong>NAME</strong></p>
\r
1538 <span class="NAME"><pre> <strong>ib_qp_state_t</strong>
\r
1540 </span><p><strong>DESCRIPTION</strong></p>
\r
1541 <span class="DESCRIPTION"><pre> Indicates or sets the state of a queue pair. The current state of a queue
\r
1542 pair is returned through the ib_qp_query call and set via the
\r
1543 ib_qp_modify call.
\r
1545 </span><p><strong>SYNOPSIS</strong></p>
\r
1546 <span class="SYNOPSIS"><pre>typedef uint32_t <strong>ib_qp_state_t</strong>;
\r
1547 #define IB_QPS_RESET 0x00000001
\r
1548 #define IB_QPS_INIT 0x00000002
\r
1549 #define IB_QPS_RTR 0x00000004
\r
1550 #define IB_QPS_RTS 0x00000008
\r
1551 #define IB_QPS_SQD 0x00000010
\r
1552 #define IB_QPS_SQD_DRAINING 0x00000030
\r
1553 #define IB_QPS_SQD_DRAINED 0x00000050
\r
1554 #define IB_QPS_SQERR 0x00000080
\r
1555 #define IB_QPS_ERROR 0x00000100
\r
1556 #define IB_QPS_TIME_WAIT 0xDEAD0000 /* InfiniBand Access Layer */
\r
1561 <h2><a name="robo210">[Definitions]<a name="Access20Layer2fib5fqp5ftype5ft">
\r
1562 Access Layer/ib_qp_type_t</a></h2>
\r
1564 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
1565 <p><strong>NAME</strong></p>
\r
1566 <span class="NAME"><pre> <strong>ib_qp_type_t</strong>
\r
1568 </span><p><strong>DESCRIPTION</strong></p>
\r
1569 <span class="DESCRIPTION"><pre> Indicates the type of queue pair being created.
\r
1571 </span><p><strong>SYNOPSIS</strong></p>
\r
1572 <span class="SYNOPSIS"><pre>typedef enum _ib_qp_type
\r
1574 IB_QPT_RELIABLE_CONN = 0, /* Matches CM REQ transport type */
\r
1575 IB_QPT_UNRELIABLE_CONN = 1, /* Matches CM REQ transport type */
\r
1576 IB_QPT_UNRELIABLE_DGRM = 3, /* Purposefully skip RDD type. */
\r
1581 IB_QPT_MAD, /* InfiniBand Access Layer */
\r
1582 IB_QPT_QP0_ALIAS, /* InfiniBand Access Layer */
\r
1583 IB_QPT_QP1_ALIAS /* InfiniBand Access Layer */
\r
1585 } <strong>ib_qp_type_t</strong>;
\r
1587 </span><p><strong>VALUES</strong></p>
\r
1588 <span class="VALUES"><pre> IB_QPT_RELIABLE_CONN
\r
1589 Reliable, connected queue pair.
\r
1591 IB_QPT_UNRELIABLE_CONN
\r
1592 Unreliable, connected queue pair.
\r
1594 IB_QPT_UNRELIABLE_DGRM
\r
1595 Unreliable, datagram queue pair.
\r
1604 Raw datagram queue pair.
\r
1607 Raw IP version 6 queue pair.
\r
1610 Raw Ethernet queue pair.
\r
1613 Unreliable, datagram queue pair that will send and receive management
\r
1614 datagrams with assistance from the access layer.
\r
1617 Alias to queue pair 0. Aliased QPs can only be created on an aliased
\r
1618 protection domain.
\r
1621 Alias to queue pair 1. Aliased QPs can only be created on an aliased
\r
1622 protection domain.
\r
1627 <h2><a name="robo224">[Definitions]<a name="Access20Layer2fib5frecv5fopt5ft">
\r
1628 Access Layer/ib_recv_opt_t</a></h2>
\r
1630 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
1631 <p><strong>NAME</strong></p>
\r
1632 <span class="NAME"><pre> <strong>ib_recv_opt_t</strong>
\r
1634 </span><p><strong>DESCRIPTION</strong></p>
\r
1635 <span class="DESCRIPTION"><pre> Indicates optional fields valid in a receive work completion.
\r
1637 </span><p><strong>SYNOPSIS</strong></p>
\r
1638 <span class="SYNOPSIS"><pre>typedef uint32_t <strong>ib_recv_opt_t</strong>;
\r
1639 #define IB_RECV_OPT_IMMEDIATE 0x00000001
\r
1640 #define IB_RECV_OPT_FORWARD 0x00000002
\r
1641 #define IB_RECV_OPT_GRH_VALID 0x00000004
\r
1642 #define IB_RECV_OPT_VEND_MASK 0xFFFF0000
\r
1644 </span><p><strong>VALUES</strong></p>
\r
1645 <span class="VALUES"><pre> IB_RECV_OPT_IMMEDIATE
\r
1646 Indicates that immediate data is valid for this work completion.
\r
1648 IB_RECV_OPT_FORWARD
\r
1649 Indicates that the received trap should be forwarded to the SM.
\r
1651 IB_RECV_OPT_GRH_VALID
\r
1652 Indicates presence of the global route header. When set, the first
\r
1653 40 bytes received are the GRH.
\r
1655 IB_RECV_OPT_VEND_MASK
\r
1656 This mask indicates bits reserved in the receive options that may be
\r
1657 used by the verbs provider to indicate vendor specific options. Bits
\r
1658 set in this area of the receive options are ignored by the Access Layer,
\r
1659 but may have specific meaning to the underlying VPD.
\r
1664 <h2><a name="robo225">[Structures]<a name="Access20Layer2fib5frecv5fwr5ft">
\r
1665 Access Layer/ib_recv_wr_t</a></h2>
\r
1667 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
1668 <p><strong>NAME</strong></p>
\r
1669 <span class="NAME"><pre> <strong>ib_recv_wr_t</strong>
\r
1671 </span><p><strong>DESCRIPTION</strong></p>
\r
1672 <span class="DESCRIPTION"><pre> Information used to submit a work request to the receive queue of a queue
\r
1675 </span><p><strong>SYNOPSIS</strong></p>
\r
1676 <span class="SYNOPSIS"><pre>typedef struct _ib_recv_wr
\r
1678 struct _ib_recv_wr* __ptr64 p_next;
\r
1681 <a href="#robo148">ib_local_ds_t</a>* __ptr64 ds_array;
\r
1683 } <strong>ib_recv_wr_t</strong>;
\r
1685 </span><p><strong>FIELDS</strong></p>
\r
1686 <span class="FIELDS"><pre> p_next
\r
1687 A pointer used to chain work requests together. This permits multiple
\r
1688 work requests to be posted to a queue pair through a single function
\r
1689 call. This value is set to NULL to mark the end of the chain.
\r
1692 A 64-bit work request identifier that is returned to the consumer
\r
1693 as part of the work completion.
\r
1696 Number of local data segments specified by this work request.
\r
1699 A reference to an array of local data segments used by the send
\r
1702 </span><p><strong>SEE ALSO</strong></p>
\r
1703 <span class="SEE_ALSO"><pre> <a href="#robo148">ib_local_ds_t</a>
\r
1708 <h2><a name="robo238">[Definitions]<a name="Access20Layer2fib5frej5fstatus5ft">
\r
1709 Access Layer/ib_rej_status_t</a></h2>
\r
1711 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
1712 <p><strong>NAME</strong></p>
\r
1713 <span class="NAME"><pre> <strong>ib_rej_status_t</strong>
\r
1715 </span><p><strong>DESCRIPTION</strong></p>
\r
1716 <span class="DESCRIPTION"><pre> Rejection reasons.
\r
1718 </span><p><strong>SYNOPSIS</strong></p>
\r
1719 <span class="SYNOPSIS"><pre>typedef <a href="#robo910">ib_net16_t</a> <strong>ib_rej_status_t</strong>;
\r
1721 </span><p><strong>SEE ALSO</strong></p>
\r
1722 <span class="SEE_ALSO"><pre> <a href="./ib_al_h.html#robo90">ib_cm_rej</a>, <a href="./ib_al_h.html#robo91">ib_cm_rej_rec_t</a>
\r
1724 </span><p><strong>SOURCE</strong></p>
\r
1725 <span class="SOURCE"><pre>#define IB_REJ_INSUF_QP <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(1)
\r
1726 #define IB_REJ_INSUF_EEC <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(2)
\r
1727 #define IB_REJ_INSUF_RESOURCES <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(3)
\r
1728 #define IB_REJ_TIMEOUT <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(4)
\r
1729 #define IB_REJ_UNSUPPORTED <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(5)
\r
1730 #define IB_REJ_INVALID_COMM_ID <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(6)
\r
1731 #define IB_REJ_INVALID_COMM_INSTANCE <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(7)
\r
1732 #define IB_REJ_INVALID_SID <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(8)
\r
1733 #define IB_REJ_INVALID_XPORT <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(9)
\r
1734 #define IB_REJ_STALE_CONN <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(10)
\r
1735 #define IB_REJ_RDC_NOT_EXIST <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(11)
\r
1736 #define IB_REJ_INVALID_GID <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(12)
\r
1737 #define IB_REJ_INVALID_LID <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(13)
\r
1738 #define IB_REJ_INVALID_SL <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(14)
\r
1739 #define IB_REJ_INVALID_TRAFFIC_CLASS <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(15)
\r
1740 #define IB_REJ_INVALID_HOP_LIMIT <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(16)
\r
1741 #define IB_REJ_INVALID_PKT_RATE <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(17)
\r
1742 #define IB_REJ_INVALID_ALT_GID <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(18)
\r
1743 #define IB_REJ_INVALID_ALT_LID <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(19)
\r
1744 #define IB_REJ_INVALID_ALT_SL <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(20)
\r
1745 #define IB_REJ_INVALID_ALT_TRAFFIC_CLASS <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(21)
\r
1746 #define IB_REJ_INVALID_ALT_HOP_LIMIT <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(22)
\r
1747 #define IB_REJ_INVALID_ALT_PKT_RATE <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(23)
\r
1748 #define IB_REJ_PORT_REDIRECT <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(24)
\r
1749 #define IB_REJ_INVALID_MTU <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(26)
\r
1750 #define IB_REJ_INSUFFICIENT_RESP_RES <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(27)
\r
1751 #define IB_REJ_USER_DEFINED <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(28)
\r
1752 #define IB_REJ_INVALID_RNR_RETRY <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(29)
\r
1753 #define IB_REJ_DUPLICATE_LOCAL_COMM_ID <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(30)
\r
1754 #define IB_REJ_INVALID_CLASS_VER <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(31)
\r
1755 #define IB_REJ_INVALID_FLOW_LBL <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(32)
\r
1756 #define IB_REJ_INVALID_ALT_FLOW_LBL <a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(33)
\r
1761 <h2><a name="robo248">[Definitions]<a name="Access20Layer2fib5fsend5fopt5ft">
\r
1762 Access Layer/ib_send_opt_t</a></h2>
\r
1764 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
1765 <p><strong>NAME</strong></p>
\r
1766 <span class="NAME"><pre> <strong>ib_send_opt_t</strong>
\r
1768 </span><p><strong>DESCRIPTION</strong></p>
\r
1769 <span class="DESCRIPTION"><pre> Optional flags used when posting send work requests. These flags
\r
1770 indicate specific processing for the send operation.
\r
1772 </span><p><strong>SYNOPSIS</strong></p>
\r
1773 <span class="SYNOPSIS"><pre>typedef uint32_t <strong>ib_send_opt_t</strong>;
\r
1774 #define IB_SEND_OPT_IMMEDIATE 0x00000001
\r
1775 #define IB_SEND_OPT_FENCE 0x00000002
\r
1776 #define IB_SEND_OPT_SIGNALED 0x00000004
\r
1777 #define IB_SEND_OPT_SOLICITED 0x00000008
\r
1778 #define IB_SEND_OPT_INLINE 0x00000010
\r
1779 #define IB_SEND_OPT_LOCAL 0x00000020
\r
1780 #define IB_SEND_OPT_VEND_MASK 0xFFFF0000
\r
1782 </span><p><strong>VALUES</strong></p>
\r
1783 <span class="VALUES"><pre> The following flags determine the behavior of a work request when
\r
1784 posted to the send side.
\r
1786 IB_SEND_OPT_IMMEDIATE
\r
1787 Send immediate data with the given request.
\r
1790 The operation is fenced. Complete all pending send operations before
\r
1791 processing this request.
\r
1793 IB_SEND_OPT_SIGNALED
\r
1794 If the queue pair is configured for signaled completion, then
\r
1795 generate a completion queue entry when this request completes.
\r
1797 IB_SEND_OPT_SOLICITED
\r
1798 Set the solicited bit on the last packet of this request.
\r
1800 IB_SEND_OPT_INLINE
\r
1801 Indicates that the requested send data should be copied into a VPD
\r
1802 owned data buffer. This flag permits the user to issue send operations
\r
1803 without first needing to register the buffer(s) associated with the
\r
1804 send operation. Verb providers that support this operation may place
\r
1805 vendor specific restrictions on the size of send operation that may
\r
1806 be performed as inline.
\r
1809 Indicates that a sent MAD request should be given to the local VPD for
\r
1810 processing. MADs sent using this option are not placed on the wire.
\r
1811 This send option is only valid for MAD send operations.
\r
1813 IB_SEND_OPT_VEND_MASK
\r
1814 This mask indicates bits reserved in the send options that may be used
\r
1815 by the verbs provider to indicate vendor specific options. Bits set
\r
1816 in this area of the send options are ignored by the Access Layer, but
\r
1817 may have specific meaning to the underlying VPD.
\r
1822 <h2><a name="robo249">[Structures]<a name="Access20Layer2fib5fsend5fwr5ft">
\r
1823 Access Layer/ib_send_wr_t</a></h2>
\r
1825 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
1826 <p><strong>NAME</strong></p>
\r
1827 <span class="NAME"><pre> <strong>ib_send_wr_t</strong>
\r
1829 </span><p><strong>DESCRIPTION</strong></p>
\r
1830 <span class="DESCRIPTION"><pre> Information used to submit a work request to the send queue of a queue
\r
1833 </span><p><strong>SYNOPSIS</strong></p>
\r
1834 <span class="SYNOPSIS"><pre>typedef struct _ib_send_wr
\r
1836 struct _ib_send_wr* __ptr64 p_next;
\r
1838 <a href="#robo262">ib_wr_type_t</a> wr_type;
\r
1839 <a href="#robo248">ib_send_opt_t</a> send_opt;
\r
1841 <a href="#robo148">ib_local_ds_t</a>* __ptr64 ds_array;
\r
1842 <a href="#robo911">ib_net32_t</a> immediate_data;
\r
1848 <a href="#robo911">ib_net32_t</a> remote_qp;
\r
1849 <a href="#robo911">ib_net32_t</a> remote_qkey;
\r
1850 ib_av_handle_t h_av;
\r
1851 uint16_t pkey_index;
\r
1852 void* __ptr64 rsvd;
\r
1856 struct _send_raw_ether
\r
1858 <a href="#robo910">ib_net16_t</a> dest_lid;
\r
1859 uint8_t path_bits;
\r
1861 uint8_t max_static_rate;
\r
1862 <a href="#robo910">ib_net16_t</a> ether_type;
\r
1866 struct _send_raw_ipv6
\r
1868 <a href="#robo910">ib_net16_t</a> dest_lid;
\r
1869 uint8_t path_bits;
\r
1871 uint8_t max_static_rate;
\r
1877 struct _send_remote_ops
\r
1882 <a href="#robo912">ib_net64_t</a> atomic1;
\r
1883 <a href="#robo912">ib_net64_t</a> atomic2;
\r
1887 } <strong>ib_send_wr_t</strong>;
\r
1889 </span><p><strong>FIELDS</strong></p>
\r
1890 <span class="FIELDS"><pre> p_next
\r
1891 A pointer used to chain work requests together. This permits multiple
\r
1892 work requests to be posted to a queue pair through a single function
\r
1893 call. This value is set to NULL to mark the end of the chain.
\r
1896 A 64-bit work request identifier that is returned to the consumer
\r
1897 as part of the work completion.
\r
1900 The type of work request being submitted to the send queue.
\r
1903 Optional send control parameters.
\r
1906 Number of local data segments specified by this work request.
\r
1909 A reference to an array of local data segments used by the send
\r
1913 32-bit field sent as part of a message send or RDMA write operation.
\r
1914 This field is only valid if the send_opt flag IB_SEND_OPT_IMMEDIATE
\r
1918 Identifies the destination queue pair of an unreliable datagram send
\r
1921 dgrm.ud.remote_qkey
\r
1922 The qkey for the destination queue pair.
\r
1925 An address vector that specifies the path information used to route
\r
1926 the outbound datagram to the destination queue pair.
\r
1928 dgrm.ud.pkey_index
\r
1929 The pkey index for this send work request. This is valid only
\r
1930 for IB_QPT_QP1 and IB_QPT_QP1_ALIAS QP types. The work request
\r
1931 is posted to using this pkey index build the GMP's BTH instead
\r
1935 Reserved for use by the Access Layer.
\r
1937 dgrm.raw_ether.dest_lid
\r
1938 The destination LID that will receive this raw ether send.
\r
1940 dgrm.raw_ether.path_bits
\r
1946 dgrm.raw_ether.max_static_rate
\r
1949 dgrm.raw_ether.ether_type
\r
1952 dgrm.raw_ipv6.dest_lid
\r
1953 The destination LID that will receive this raw ether send.
\r
1955 dgrm.raw_ipv6.path_bits
\r
1961 dgrm.raw_ipv6.max_static_rate
\r
1965 The registered virtual memory address of the remote memory to access
\r
1966 with an RDMA or atomic operation.
\r
1969 The rkey associated with the specified remote vaddr. This data must
\r
1970 be presented exactly as obtained from the remote node. No swapping
\r
1971 of data must be performed.
\r
1974 The first operand for an atomic operation.
\r
1977 The second operand for an atomic operation.
\r
1979 </span><p><strong>NOTES</strong></p>
\r
1980 <span class="NOTES"><pre> The format of data sent over the fabric is user-defined and is considered
\r
1981 opaque to the access layer. The sole exception to this are MADs posted
\r
1982 to a MAD QP service. MADs are expected to match the format defined by
\r
1983 the Infiniband specification and must be in network-byte order when posted
\r
1984 to the MAD QP service.
\r
1986 </span><p><strong>SEE ALSO</strong></p>
\r
1987 <span class="SEE_ALSO"><pre> <a href="#robo262">ib_wr_type_t</a>, <a href="#robo148">ib_local_ds_t</a>, <a href="#robo248">ib_send_opt_t</a>
\r
1992 <h2><a name="robo259">[Definitions]<a name="Access20Layer2fib5fwc5fstatus5ft">
\r
1993 Access Layer/ib_wc_status_t</a></h2>
\r
1995 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
1996 <p><strong>NAME</strong></p>
\r
1997 <span class="NAME"><pre> <strong>ib_wc_status_t</strong>
\r
1999 </span><p><strong>DESCRIPTION</strong></p>
\r
2000 <span class="DESCRIPTION"><pre> Indicates the status of a completed work request. These VALUES are
\r
2001 returned to the user when retrieving completions. Note that success is
\r
2002 identified as IB_WCS_SUCCESS, which is always zero.
\r
2004 </span><p><strong>SYNOPSIS</strong></p>
\r
2005 <span class="SYNOPSIS"><pre>typedef enum _<strong>ib_wc_status_t</strong>
\r
2008 IB_WCS_LOCAL_LEN_ERR,
\r
2009 IB_WCS_LOCAL_OP_ERR,
\r
2010 IB_WCS_LOCAL_PROTECTION_ERR,
\r
2011 IB_WCS_WR_FLUSHED_ERR,
\r
2012 IB_WCS_MEM_WINDOW_BIND_ERR,
\r
2013 IB_WCS_REM_ACCESS_ERR,
\r
2014 IB_WCS_REM_OP_ERR,
\r
2015 IB_WCS_RNR_RETRY_ERR,
\r
2016 IB_WCS_TIMEOUT_RETRY_ERR,
\r
2017 IB_WCS_REM_INVALID_REQ_ERR,
\r
2018 IB_WCS_BAD_RESP_ERR,
\r
2019 IB_WCS_LOCAL_ACCESS_ERR,
\r
2020 IB_WCS_GENERAL_ERR,
\r
2021 IB_WCS_UNMATCHED_RESPONSE, /* InfiniBand Access Layer */
\r
2022 IB_WCS_CANCELED, /* InfiniBand Access Layer */
\r
2023 IB_WCS_UNKNOWN /* Must be last. */
\r
2025 } <strong>ib_wc_status_t</strong>;
\r
2027 </span><p><strong>VALUES</strong></p>
\r
2028 <span class="VALUES"><pre> IB_WCS_SUCCESS
\r
2029 Work request completed successfully.
\r
2032 The completed work request was associated with a managmenet datagram
\r
2033 that requires post processing. The MAD will be returned to the user
\r
2034 through a callback once all post processing has completed.
\r
2036 IB_WCS_LOCAL_LEN_ERR
\r
2037 Generated for a work request posted to the send queue when the
\r
2038 total of the data segment lengths exceeds the message length of the
\r
2039 channel. Generated for a work request posted to the receive queue when
\r
2040 the total of the data segment lengths is too small for a
\r
2041 valid incoming message.
\r
2043 IB_WCS_LOCAL_OP_ERR
\r
2044 An internal QP consistency error was generated while processing this
\r
2045 work request. This may indicate that the QP was in an incorrect state
\r
2046 for the requested operation.
\r
2048 IB_WCS_LOCAL_PROTECTION_ERR
\r
2049 The data segments of the locally posted work request did not refer to
\r
2050 a valid memory region. The memory may not have been properly
\r
2051 registered for the requested operation.
\r
2053 IB_WCS_WR_FLUSHED_ERR
\r
2054 The work request was flushed from the QP before being completed.
\r
2056 IB_WCS_MEM_WINDOW_BIND_ERR
\r
2057 A memory window bind operation failed due to insufficient access
\r
2060 IB_WCS_REM_ACCESS_ERR,
\r
2061 A protection error was detected at the remote node for a RDMA or atomic
\r
2064 IB_WCS_REM_OP_ERR,
\r
2065 The operation could not be successfully completed at the remote node.
\r
2066 This may indicate that the remote QP was in an invalid state or
\r
2067 contained an invalid work request.
\r
2069 IB_WCS_RNR_RETRY_ERR,
\r
2070 The RNR retry count was exceeded while trying to send this message.
\r
2072 IB_WCS_TIMEOUT_RETRY_ERR
\r
2073 The local transport timeout counter expired while trying to send this
\r
2076 IB_WCS_REM_INVALID_REQ_ERR,
\r
2077 The remote node detected an invalid message on the channel. This error
\r
2078 is usually a result of one of the following:
\r
2079 - The operation was not supported on receive queue.
\r
2080 - There was insufficient buffers to receive a new RDMA request.
\r
2081 - There was insufficient buffers to receive a new atomic operation.
\r
2082 - An RDMA request was larger than 2^31 bytes.
\r
2084 IB_WCS_BAD_RESP_ERR,
\r
2085 An unexpected transport layer opcode was returned
\r
2088 IB_WCS_LOCAL_ACCESS_ERR,
\r
2089 A protection error occurred on a local data buffer
\r
2090 during the processing of a RDMA Write with Immediate Data
\r
2091 operation sent from the remote node.
\r
2093 IB_WCS_UNMATCHED_RESPONSE
\r
2094 A response MAD was received for which there was no matching send. The
\r
2095 send operation may have been canceled by the user or may have timed
\r
2099 The completed work request was canceled by the user.
\r
2101 IB_WCS_GENERAL_ERR,
\r
2107 <h2><a name="robo260">[Structures]<a name="Access20Layer2fib5fwc5ft">
\r
2108 Access Layer/ib_wc_t</a></h2>
\r
2110 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
2111 <p><strong>NAME</strong></p>
\r
2112 <span class="NAME"><pre> <strong>ib_wc_t</strong>
\r
2114 </span><p><strong>DESCRIPTION</strong></p>
\r
2115 <span class="DESCRIPTION"><pre> Work completion information.
\r
2117 </span><p><strong>SYNOPSIS</strong></p>
\r
2118 <span class="SYNOPSIS"><pre>typedef struct _ib_wc
\r
2120 struct _ib_wc* __ptr64 p_next;
\r
2122 <a href="#robo261">ib_wc_type_t</a> wc_type;
\r
2125 <a href="#robo259">ib_wc_status_t</a> status;
\r
2126 uint64_t vendor_specific;
\r
2132 <a href="#robo224">ib_recv_opt_t</a> recv_opt;
\r
2133 <a href="#robo911">ib_net32_t</a> immediate_data;
\r
2139 <a href="#robo224">ib_recv_opt_t</a> recv_opt;
\r
2140 <a href="#robo911">ib_net32_t</a> immediate_data;
\r
2141 <a href="#robo911">ib_net32_t</a> remote_qp;
\r
2142 uint16_t pkey_index;
\r
2143 <a href="#robo910">ib_net16_t</a> remote_lid;
\r
2144 uint8_t remote_sl;
\r
2145 uint8_t path_bits;
\r
2149 struct _wc_raw_ipv6
\r
2151 <a href="#robo910">ib_net16_t</a> remote_lid;
\r
2152 uint8_t remote_sl;
\r
2153 uint8_t path_bits;
\r
2157 struct _wc_raw_ether
\r
2159 <a href="#robo910">ib_net16_t</a> remote_lid;
\r
2160 uint8_t remote_sl;
\r
2161 uint8_t path_bits;
\r
2162 <a href="#robo910">ib_net16_t</a> ether_type;
\r
2168 } <strong>ib_wc_t</strong>;
\r
2170 </span><p><strong>FIELDS</strong></p>
\r
2171 <span class="FIELDS"><pre> p_next
\r
2172 A pointer used to chain work completions. This permits multiple
\r
2173 work completions to be retrieved from a completion queue through a
\r
2174 single function call. This value is set to NULL to mark the end of
\r
2178 The 64-bit work request identifier that was specified when posting the
\r
2182 Indicates the type of work completion.
\r
2185 The total length of the data sent or received with the work request.
\r
2188 The result of the work request.
\r
2191 HCA vendor specific information returned as part of the completion.
\r
2193 recv.conn.recv_opt
\r
2194 Indicates optional fields valid as part of a work request that
\r
2195 completed on a connected (reliable or unreliable) queue pair.
\r
2197 recv.conn.immediate_data
\r
2198 32-bit field received as part of an inbound message on a connected
\r
2199 queue pair. This field is only valid if the recv_opt flag
\r
2200 IB_RECV_OPT_IMMEDIATE has been set.
\r
2203 Indicates optional fields valid as part of a work request that
\r
2204 completed on an unreliable datagram queue pair.
\r
2206 recv.ud.immediate_data
\r
2207 32-bit field received as part of an inbound message on a unreliable
\r
2208 datagram queue pair. This field is only valid if the recv_opt flag
\r
2209 IB_RECV_OPT_IMMEDIATE has been set.
\r
2212 Identifies the source queue pair of a received datagram.
\r
2214 recv.ud.pkey_index
\r
2215 The pkey index of the source queue pair. This is valid only for
\r
2216 IB_QPT_QP1 and IB_QPT_QP1_ALIAS QP types.
\r
2218 recv.ud.remote_lid
\r
2219 The source LID of the received datagram.
\r
2222 The service level used by the source of the received datagram.
\r
2227 recv.raw_ipv6.remote_lid
\r
2228 The source LID of the received message.
\r
2230 recv.raw_ipv6.remote_sl
\r
2231 The service level used by the source of the received message.
\r
2233 recv.raw_ipv6.path_bits
\r
2236 recv.raw_ether.remote_lid
\r
2237 The source LID of the received message.
\r
2239 recv.raw_ether.remote_sl
\r
2240 The service level used by the source of the received message.
\r
2242 recv.raw_ether.path_bits
\r
2245 recv.raw_ether.ether_type
\r
2248 </span><p><strong>NOTES</strong></p>
\r
2249 <span class="NOTES"><pre> When the work request completes with error, the only values that the
\r
2250 consumer can depend on are the wr_id field, and the status of the
\r
2253 If the consumer is using the same CQ for completions from more than
\r
2254 one type of QP (i.e Reliable Connected, Datagram etc), then the consumer
\r
2255 must have additional information to decide what fields of the union are
\r
2258 </span><p><strong>SEE ALSO</strong></p>
\r
2259 <span class="SEE_ALSO"><pre> <a href="#robo261">ib_wc_type_t</a>, <a href="#robo210">ib_qp_type_t</a>, <a href="#robo259">ib_wc_status_t</a>, <a href="#robo224">ib_recv_opt_t</a>
\r
2264 <h2><a name="robo261">[Definitions]<a name="Access20Layer2fib5fwc5ftype5ft">
\r
2265 Access Layer/ib_wc_type_t</a></h2>
\r
2267 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2268 <p><strong>NAME</strong></p>
\r
2269 <span class="NAME"><pre> <strong>ib_wc_type_t</strong>
\r
2271 </span><p><strong>DESCRIPTION</strong></p>
\r
2272 <span class="DESCRIPTION"><pre> Indicates the type of work completion.
\r
2274 </span><p><strong>SYNOPSIS</strong></p>
\r
2275 <span class="SYNOPSIS"><pre>typedef enum _<strong>ib_wc_type_t</strong>
\r
2283 IB_WC_COMPARE_SWAP,
\r
2284 IB_WC_RECV_RDMA_WRITE,
\r
2287 } <strong>ib_wc_type_t</strong>;
\r
2292 <h2><a name="robo262">[Definitions]<a name="Access20Layer2fib5fwr5ftype5ft">
\r
2293 Access Layer/ib_wr_type_t</a></h2>
\r
2295 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2296 <p><strong>NAME</strong></p>
\r
2297 <span class="NAME"><pre> <strong>ib_wr_type_t</strong>
\r
2299 </span><p><strong>DESCRIPTION</strong></p>
\r
2300 <span class="DESCRIPTION"><pre> Identifies the type of work request posted to a queue pair.
\r
2302 </span><p><strong>SYNOPSIS</strong></p>
\r
2303 <span class="SYNOPSIS"><pre>typedef enum _<strong>ib_wr_type_t</strong>
\r
2312 } <strong>ib_wr_type_t</strong>;
\r
2317 <h2><a name="robo265">[Structures]<a name="Access20Layer2fmlnx5ffmr5fcreate5ft">
\r
2318 Access Layer/mlnx_fmr_create_t</a></h2>
\r
2320 <p>[<a href="#robo_top_of_doc">top</a>][<a href="./ib_al_h.html#robo38">parent</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
2321 <p><strong>NAME</strong></p>
\r
2322 <span class="NAME"><pre> <strong>mlnx_fmr_create_t</strong>
\r
2324 </span><p><strong>DESCRIPTION</strong></p>
\r
2325 <span class="DESCRIPTION"><pre> Information required to create a Mellanox fast memory region.
\r
2327 </span><p><strong>SYNOPSIS</strong></p>
\r
2328 <span class="SYNOPSIS"><pre>typedef struct _mlnx_fmr_create
\r
2332 uint8_t page_size;
\r
2333 <a href="#robo45">ib_access_t</a> access_ctrl;
\r
2335 } <strong>mlnx_fmr_create_t</strong>;
\r
2337 </span><p><strong>FIELDS</strong></p>
\r
2338 <span class="FIELDS"><pre> max_pages
\r
2339 max pages in the region.
\r
2342 max times, the region can be mapped before remapping.
\r
2345 log2 of the page size (e.g. 12 for 4KB).
\r
2348 Access rights of the registered region.
\r
2350 </span><p><strong>NOTES</strong></p>
\r
2351 <span class="NOTES"><pre> This is a Mellanox specific extension to verbs.
\r
2353 </span><p><strong>SEE ALSO</strong></p>
\r
2354 <span class="SEE_ALSO"><pre> <a href="#robo45">ib_access_t</a>
\r
2359 <h2><a name="robo725">[Structures]<a name="IBA20Base3a20Constants2fIB5fCLASS5fCAP5fGETSET">
\r
2360 IBA Base: Constants/IB_CLASS_CAP_GETSET</a></h2>
\r
2362 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
2363 <p><strong>NAME</strong></p>
\r
2364 <span class="NAME"><pre> <strong>IB_CLASS_CAP_GETSET</strong>
\r
2366 </span><p><strong>DESCRIPTION</strong></p>
\r
2367 <span class="DESCRIPTION"><pre> ClassPortInfo CapabilityMask bits. This bit will be set
\r
2368 if the class supports Get(Notice) and Set(Notice) MADs (13.4.8.1).
\r
2370 </span><p><strong>SEE ALSO</strong></p>
\r
2371 <span class="SEE_ALSO"><pre> <a href="#robo855">ib_class_port_info_t</a>, <a href="#robo726">IB_CLASS_CAP_TRAP</a>
\r
2373 </span><p><strong>SOURCE</strong></p>
\r
2374 <span class="SOURCE"><pre>#define <strong>IB_CLASS_CAP_GETSET</strong> 0x0002
\r
2379 <h2><a name="robo726">[Structures]<a name="IBA20Base3a20Constants2fIB5fCLASS5fCAP5fTRAP">
\r
2380 IBA Base: Constants/IB_CLASS_CAP_TRAP</a></h2>
\r
2382 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
2383 <p><strong>NAME</strong></p>
\r
2384 <span class="NAME"><pre> <strong>IB_CLASS_CAP_TRAP</strong>
\r
2386 </span><p><strong>DESCRIPTION</strong></p>
\r
2387 <span class="DESCRIPTION"><pre> ClassPortInfo CapabilityMask bits. This bit will be set
\r
2388 if the class supports Trap() MADs (13.4.8.1).
\r
2390 </span><p><strong>SEE ALSO</strong></p>
\r
2391 <span class="SEE_ALSO"><pre> <a href="#robo855">ib_class_port_info_t</a>, <a href="#robo725">IB_CLASS_CAP_GETSET</a>
\r
2393 </span><p><strong>SOURCE</strong></p>
\r
2394 <span class="SOURCE"><pre>#define <strong>IB_CLASS_CAP_TRAP</strong> 0x0001
\r
2399 <h2><a name="robo727">[Structures]<a name="IBA20Base3a20Constants2fIB5fCLASS5fRESP5fTIME5fMASK">
\r
2400 IBA Base: Constants/IB_CLASS_RESP_TIME_MASK</a></h2>
\r
2402 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_strutures.html#top">index</a>]</p>
\r
2403 <p><strong>NAME</strong></p>
\r
2404 <span class="NAME"><pre> <strong>IB_CLASS_RESP_TIME_MASK</strong>
\r
2406 </span><p><strong>DESCRIPTION</strong></p>
\r
2407 <span class="DESCRIPTION"><pre> Mask bits to extract the reponse time value from the
\r
2408 resp_time_val field of <a href="#robo855">ib_class_port_info_t</a>.
\r
2410 </span><p><strong>SEE ALSO</strong></p>
\r
2411 <span class="SEE_ALSO"><pre> <a href="#robo855">ib_class_port_info_t</a>
\r
2413 </span><p><strong>SOURCE</strong></p>
\r
2414 <span class="SOURCE"><pre>#define <strong>IB_CLASS_RESP_TIME_MASK</strong> 0x1F
\r
2419 <h2><a name="robo728">[Definitions]<a name="IBA20Base3a20Constants2fIB5fDEFAULT5fPKEY">
\r
2420 IBA Base: Constants/IB_DEFAULT_PKEY</a></h2>
\r
2422 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2423 <p><strong>NAME</strong></p>
\r
2424 <span class="NAME"><pre> <strong>IB_DEFAULT_PKEY</strong>
\r
2426 </span><p><strong>DESCRIPTION</strong></p>
\r
2427 <span class="DESCRIPTION"><pre> P_Key value for the default partition.
\r
2429 </span><p><strong>SOURCE</strong></p>
\r
2430 <span class="SOURCE"><pre>#define <strong>IB_DEFAULT_PKEY</strong> 0xFFFF
\r
2435 <h2><a name="robo729">[Definitions]<a name="IBA20Base3a20Constants2fIB5fDEFAULT5fSUBNET5fPREFIX">
\r
2436 IBA Base: Constants/IB_DEFAULT_SUBNET_PREFIX</a></h2>
\r
2438 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2439 <p><strong>NAME</strong></p>
\r
2440 <span class="NAME"><pre> <strong>IB_DEFAULT_SUBNET_PREFIX</strong>
\r
2442 </span><p><strong>DESCRIPTION</strong></p>
\r
2443 <span class="DESCRIPTION"><pre> Default subnet GID prefix.
\r
2445 </span><p><strong>SOURCE</strong></p>
\r
2446 <span class="SOURCE"><pre>#define <strong>IB_DEFAULT_SUBNET_PREFIX</strong> (<a href="../complib/cl_byteswap_h.html#robo293">CL_HTON64</a>(CL_CONST64(0xFE80000000000000)))
\r
2451 <h2><a name="robo730">[Definitions]<a name="IBA20Base3a20Constants2fIB5fINVALID5fPORT5fNUM">
\r
2452 IBA Base: Constants/IB_INVALID_PORT_NUM</a></h2>
\r
2454 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2455 <p><strong>NAME</strong></p>
\r
2456 <span class="NAME"><pre> <strong>IB_INVALID_PORT_NUM</strong>
\r
2458 </span><p><strong>DESCRIPTION</strong></p>
\r
2459 <span class="DESCRIPTION"><pre> Value used to indicate an invalid port number (14.2.5.10).
\r
2461 </span><p><strong>SOURCE</strong></p>
\r
2462 <span class="SOURCE"><pre>#define <strong>IB_INVALID_PORT_NUM</strong> 0xFF
\r
2467 <h2><a name="robo731">[Definitions]<a name="IBA20Base3a20Constants2fIB5fLID5fMCAST5fEND">
\r
2468 IBA Base: Constants/IB_LID_MCAST_END</a></h2>
\r
2470 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2471 <p><strong>NAME</strong></p>
\r
2472 <span class="NAME"><pre> <strong>IB_LID_MCAST_END</strong>
\r
2474 </span><p><strong>DESCRIPTION</strong></p>
\r
2475 <span class="DESCRIPTION"><pre> Highest valid multicast LID value.
\r
2477 </span><p><strong>SOURCE</strong></p>
\r
2478 <span class="SOURCE"><pre>#define IB_LID_MCAST_END_HO 0xFFFE
\r
2479 #define <strong>IB_LID_MCAST_END</strong> (<a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(IB_LID_MCAST_END_HO))
\r
2484 <h2><a name="robo732">[Definitions]<a name="IBA20Base3a20Constants2fIB5fLID5fMCAST5fSTART">
\r
2485 IBA Base: Constants/IB_LID_MCAST_START</a></h2>
\r
2487 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2488 <p><strong>NAME</strong></p>
\r
2489 <span class="NAME"><pre> <strong>IB_LID_MCAST_START</strong>
\r
2491 </span><p><strong>DESCRIPTION</strong></p>
\r
2492 <span class="DESCRIPTION"><pre> Lowest valid multicast LID value.
\r
2494 </span><p><strong>SOURCE</strong></p>
\r
2495 <span class="SOURCE"><pre>#define IB_LID_MCAST_START_HO 0xC000
\r
2496 #define <strong>IB_LID_MCAST_START</strong> (<a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(IB_LID_MCAST_START_HO))
\r
2501 <h2><a name="robo733">[Definitions]<a name="IBA20Base3a20Constants2fIB5fLID5fPERMISSIVE">
\r
2502 IBA Base: Constants/IB_LID_PERMISSIVE</a></h2>
\r
2504 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2505 <p><strong>NAME</strong></p>
\r
2506 <span class="NAME"><pre> <strong>IB_LID_PERMISSIVE</strong>
\r
2508 </span><p><strong>DESCRIPTION</strong></p>
\r
2509 <span class="DESCRIPTION"><pre> Permissive LID
\r
2511 </span><p><strong>SOURCE</strong></p>
\r
2512 <span class="SOURCE"><pre>#define <strong>IB_LID_PERMISSIVE</strong> 0xFFFF
\r
2517 <h2><a name="robo734">[Definitions]<a name="IBA20Base3a20Constants2fIB5fLID5fUCAST5fEND">
\r
2518 IBA Base: Constants/IB_LID_UCAST_END</a></h2>
\r
2520 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2521 <p><strong>NAME</strong></p>
\r
2522 <span class="NAME"><pre> <strong>IB_LID_UCAST_END</strong>
\r
2524 </span><p><strong>DESCRIPTION</strong></p>
\r
2525 <span class="DESCRIPTION"><pre> Highest valid unicast LID value.
\r
2527 </span><p><strong>SOURCE</strong></p>
\r
2528 <span class="SOURCE"><pre>#define IB_LID_UCAST_END_HO 0xBFFF
\r
2529 #define <strong>IB_LID_UCAST_END</strong> (<a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(IB_LID_UCAST_END_HO))
\r
2534 <h2><a name="robo735">[Definitions]<a name="IBA20Base3a20Constants2fIB5fLID5fUCAST5fSTART">
\r
2535 IBA Base: Constants/IB_LID_UCAST_START</a></h2>
\r
2537 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2538 <p><strong>NAME</strong></p>
\r
2539 <span class="NAME"><pre> <strong>IB_LID_UCAST_START</strong>
\r
2541 </span><p><strong>DESCRIPTION</strong></p>
\r
2542 <span class="DESCRIPTION"><pre> Lowest valid unicast LID value.
\r
2544 </span><p><strong>SOURCE</strong></p>
\r
2545 <span class="SOURCE"><pre>#define IB_LID_UCAST_START_HO 0x0001
\r
2546 #define <strong>IB_LID_UCAST_START</strong> (<a href="../complib/cl_byteswap_h.html#robo288">CL_HTON16</a>(IB_LID_UCAST_START_HO))
\r
2551 <h2><a name="robo736">[Definitions]<a name="IBA20Base3a20Constants2fib5flink5fstates5ft">
\r
2552 IBA Base: Constants/ib_link_states_t</a></h2>
\r
2554 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2555 <p><strong>NAME</strong></p>
\r
2556 <span class="NAME"><pre> <strong>ib_link_states_t</strong>
\r
2558 </span><p><strong>DESCRIPTION</strong></p>
\r
2559 <span class="DESCRIPTION"><pre> Defines the link states of a port.
\r
2561 </span><p><strong>SOURCE</strong></p>
\r
2562 <span class="SOURCE"><pre>#define IB_LINK_NO_CHANGE 0
\r
2563 #define IB_LINK_DOWN 1
\r
2564 #define IB_LINK_INIT 2
\r
2565 #define IB_LINK_ARMED 3
\r
2566 #define IB_LINK_ACTIVE 4
\r
2567 #define IB_LINK_ACT_DEFER 5
\r
2572 <h2><a name="robo737">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fCLASS5fPORT5fINFO">
\r
2573 IBA Base: Constants/IB_MAD_ATTR_CLASS_PORT_INFO</a></h2>
\r
2575 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2576 <p><strong>NAME</strong></p>
\r
2577 <span class="NAME"><pre> <strong>IB_MAD_ATTR_CLASS_PORT_INFO</strong>
\r
2579 </span><p><strong>DESCRIPTION</strong></p>
\r
2580 <span class="DESCRIPTION"><pre> ClassPortInfo attribute (13.4.8)
\r
2582 </span><p><strong>SOURCE</strong></p>
\r
2583 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_CLASS_PORT_INFO</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0001))
\r
2588 <h2><a name="robo738">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fDIAG5fCODE">
\r
2589 IBA Base: Constants/IB_MAD_ATTR_DIAG_CODE</a></h2>
\r
2591 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2592 <p><strong>NAME</strong></p>
\r
2593 <span class="NAME"><pre> <strong>IB_MAD_ATTR_DIAG_CODE</strong>
\r
2595 </span><p><strong>DESCRIPTION</strong></p>
\r
2596 <span class="DESCRIPTION"><pre> DiagCode attribute (16.3.3)
\r
2598 </span><p><strong>SOURCE</strong></p>
\r
2599 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_DIAG_CODE</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0024))
\r
2604 <h2><a name="robo739">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fDIAGNOSTIC5fTIMEOUT">
\r
2605 IBA Base: Constants/IB_MAD_ATTR_DIAGNOSTIC_TIMEOUT</a></h2>
\r
2607 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2608 <p><strong>NAME</strong></p>
\r
2609 <span class="NAME"><pre> <strong>IB_MAD_ATTR_DIAGNOSTIC_TIMEOUT</strong>
\r
2611 </span><p><strong>DESCRIPTION</strong></p>
\r
2612 <span class="DESCRIPTION"><pre> DiagnosticTimeout attribute (16.3.3)
\r
2614 </span><p><strong>SOURCE</strong></p>
\r
2615 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_DIAGNOSTIC_TIMEOUT</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0020))
\r
2620 <h2><a name="robo740">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fGUID5fINFO">
\r
2621 IBA Base: Constants/IB_MAD_ATTR_GUID_INFO</a></h2>
\r
2623 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2624 <p><strong>NAME</strong></p>
\r
2625 <span class="NAME"><pre> <strong>IB_MAD_ATTR_GUID_INFO</strong>
\r
2627 </span><p><strong>DESCRIPTION</strong></p>
\r
2628 <span class="DESCRIPTION"><pre> GUIDInfo attribute (14.2.5)
\r
2630 </span><p><strong>SOURCE</strong></p>
\r
2631 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_GUID_INFO</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0014))
\r
2636 <h2><a name="robo741">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fINFORM5fINFO">
\r
2637 IBA Base: Constants/IB_MAD_ATTR_INFORM_INFO</a></h2>
\r
2639 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2640 <p><strong>NAME</strong></p>
\r
2641 <span class="NAME"><pre> <strong>IB_MAD_ATTR_INFORM_INFO</strong>
\r
2643 </span><p><strong>DESCRIPTION</strong></p>
\r
2644 <span class="DESCRIPTION"><pre> InformInfo attribute (13.4.8)
\r
2646 </span><p><strong>SOURCE</strong></p>
\r
2647 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_INFORM_INFO</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0003))
\r
2652 <h2><a name="robo742">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fIO5fUNIT5fINFO">
\r
2653 IBA Base: Constants/IB_MAD_ATTR_IO_UNIT_INFO</a></h2>
\r
2655 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2656 <p><strong>NAME</strong></p>
\r
2657 <span class="NAME"><pre> <strong>IB_MAD_ATTR_IO_UNIT_INFO</strong>
\r
2659 </span><p><strong>DESCRIPTION</strong></p>
\r
2660 <span class="DESCRIPTION"><pre> IOUnitInfo attribute (16.3.3)
\r
2662 </span><p><strong>SOURCE</strong></p>
\r
2663 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_IO_UNIT_INFO</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0010))
\r
2668 <h2><a name="robo743">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fIOC5fPROFILE">
\r
2669 IBA Base: Constants/IB_MAD_ATTR_IOC_PROFILE</a></h2>
\r
2671 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2672 <p><strong>NAME</strong></p>
\r
2673 <span class="NAME"><pre> <strong>IB_MAD_ATTR_IOC_PROFILE</strong>
\r
2675 </span><p><strong>DESCRIPTION</strong></p>
\r
2676 <span class="DESCRIPTION"><pre> IOControllerProfile attribute (16.3.3)
\r
2678 </span><p><strong>SOURCE</strong></p>
\r
2679 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_IOC_PROFILE</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0011))
\r
2684 <h2><a name="robo744">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fLED5fINFO">
\r
2685 IBA Base: Constants/IB_MAD_ATTR_LED_INFO</a></h2>
\r
2687 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2688 <p><strong>NAME</strong></p>
\r
2689 <span class="NAME"><pre> <strong>IB_MAD_ATTR_LED_INFO</strong>
\r
2691 </span><p><strong>DESCRIPTION</strong></p>
\r
2692 <span class="DESCRIPTION"><pre> LedInfo attribute (14.2.5)
\r
2694 </span><p><strong>SOURCE</strong></p>
\r
2695 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_LED_INFO</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0031))
\r
2700 <h2><a name="robo745">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fLFT5fRECORD">
\r
2701 IBA Base: Constants/IB_MAD_ATTR_LFT_RECORD</a></h2>
\r
2703 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2704 <p><strong>NAME</strong></p>
\r
2705 <span class="NAME"><pre> <strong>IB_MAD_ATTR_LFT_RECORD</strong>
\r
2707 </span><p><strong>DESCRIPTION</strong></p>
\r
2708 <span class="DESCRIPTION"><pre> LinearForwardingRecord attribute (15.2.5.6)
\r
2710 </span><p><strong>SOURCE</strong></p>
\r
2711 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_LFT_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0015))
\r
2716 <h2><a name="robo746">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fLIN5fFWD5fTBL">
\r
2717 IBA Base: Constants/IB_MAD_ATTR_LIN_FWD_TBL</a></h2>
\r
2719 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2720 <p><strong>NAME</strong></p>
\r
2721 <span class="NAME"><pre> <strong>IB_MAD_ATTR_LIN_FWD_TBL</strong>
\r
2723 </span><p><strong>DESCRIPTION</strong></p>
\r
2724 <span class="DESCRIPTION"><pre> Switch linear forwarding table
\r
2726 </span><p><strong>SOURCE</strong></p>
\r
2727 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_LIN_FWD_TBL</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0019))
\r
2732 <h2><a name="robo747">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fLINK5fRECORD">
\r
2733 IBA Base: Constants/IB_MAD_ATTR_LINK_RECORD</a></h2>
\r
2735 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2736 <p><strong>NAME</strong></p>
\r
2737 <span class="NAME"><pre> <strong>IB_MAD_ATTR_LINK_RECORD</strong>
\r
2739 </span><p><strong>DESCRIPTION</strong></p>
\r
2740 <span class="DESCRIPTION"><pre> LinkRecord attribute (15.2.5)
\r
2742 </span><p><strong>SOURCE</strong></p>
\r
2743 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_LINK_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0020))
\r
2748 <h2><a name="robo748">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fMCAST5fFWD5fTBL">
\r
2749 IBA Base: Constants/IB_MAD_ATTR_MCAST_FWD_TBL</a></h2>
\r
2751 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2752 <p><strong>NAME</strong></p>
\r
2753 <span class="NAME"><pre> <strong>IB_MAD_ATTR_MCAST_FWD_TBL</strong>
\r
2755 </span><p><strong>DESCRIPTION</strong></p>
\r
2756 <span class="DESCRIPTION"><pre> Switch multicast forwarding table
\r
2758 </span><p><strong>SOURCE</strong></p>
\r
2759 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_MCAST_FWD_TBL</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x001B))
\r
2764 <h2><a name="robo749">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fMCMEMBER5fRECORD">
\r
2765 IBA Base: Constants/IB_MAD_ATTR_MCMEMBER_RECORD</a></h2>
\r
2767 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2768 <p><strong>NAME</strong></p>
\r
2769 <span class="NAME"><pre> <strong>IB_MAD_ATTR_MCMEMBER_RECORD</strong>
\r
2771 </span><p><strong>DESCRIPTION</strong></p>
\r
2772 <span class="DESCRIPTION"><pre> MCMemberRecord attribute (15.2.5)
\r
2774 </span><p><strong>SOURCE</strong></p>
\r
2775 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_MCMEMBER_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0038))
\r
2780 <h2><a name="robo750">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fMULTIPATH5fRECORD">
\r
2781 IBA Base: Constants/IB_MAD_ATTR_MULTIPATH_RECORD</a></h2>
\r
2783 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2784 <p><strong>NAME</strong></p>
\r
2785 <span class="NAME"><pre> <strong>IB_MAD_ATTR_MULTIPATH_RECORD</strong>
\r
2787 </span><p><strong>DESCRIPTION</strong></p>
\r
2788 <span class="DESCRIPTION"><pre> MultiPath attribute (15.2.5)
\r
2790 </span><p><strong>SOURCE</strong></p>
\r
2791 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_MULTIPATH_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x003A))
\r
2796 <h2><a name="robo751">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fNODE5fDESC">
\r
2797 IBA Base: Constants/IB_MAD_ATTR_NODE_DESC</a></h2>
\r
2799 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2800 <p><strong>NAME</strong></p>
\r
2801 <span class="NAME"><pre> <strong>IB_MAD_ATTR_NODE_DESC</strong>
\r
2803 </span><p><strong>DESCRIPTION</strong></p>
\r
2804 <span class="DESCRIPTION"><pre> NodeDescription attribute (14.2.5)
\r
2806 </span><p><strong>SOURCE</strong></p>
\r
2807 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_NODE_DESC</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0010))
\r
2812 <h2><a name="robo752">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fNODE5fINFO">
\r
2813 IBA Base: Constants/IB_MAD_ATTR_NODE_INFO</a></h2>
\r
2815 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2816 <p><strong>NAME</strong></p>
\r
2817 <span class="NAME"><pre> <strong>IB_MAD_ATTR_NODE_INFO</strong>
\r
2819 </span><p><strong>DESCRIPTION</strong></p>
\r
2820 <span class="DESCRIPTION"><pre> NodeInfo attribute (14.2.5)
\r
2822 </span><p><strong>SOURCE</strong></p>
\r
2823 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_NODE_INFO</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0011))
\r
2828 <h2><a name="robo753">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fNODE5fRECORD">
\r
2829 IBA Base: Constants/IB_MAD_ATTR_NODE_RECORD</a></h2>
\r
2831 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2832 <p><strong>NAME</strong></p>
\r
2833 <span class="NAME"><pre> <strong>IB_MAD_ATTR_NODE_RECORD</strong>
\r
2835 </span><p><strong>DESCRIPTION</strong></p>
\r
2836 <span class="DESCRIPTION"><pre> NodeRecord attribute (15.2.5)
\r
2838 </span><p><strong>SOURCE</strong></p>
\r
2839 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_NODE_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0011))
\r
2844 <h2><a name="robo754">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fNOTICE">
\r
2845 IBA Base: Constants/IB_MAD_ATTR_NOTICE</a></h2>
\r
2847 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2848 <p><strong>NAME</strong></p>
\r
2849 <span class="NAME"><pre> <strong>IB_MAD_ATTR_NOTICE</strong>
\r
2851 </span><p><strong>DESCRIPTION</strong></p>
\r
2852 <span class="DESCRIPTION"><pre> Notice attribute (13.4.8)
\r
2854 </span><p><strong>SOURCE</strong></p>
\r
2855 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_NOTICE</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0002))
\r
2860 <h2><a name="robo755">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fP5fKEY5fTABLE">
\r
2861 IBA Base: Constants/IB_MAD_ATTR_P_KEY_TABLE</a></h2>
\r
2863 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2864 <p><strong>NAME</strong></p>
\r
2865 <span class="NAME"><pre> <strong>IB_MAD_ATTR_P_KEY_TABLE</strong>
\r
2867 </span><p><strong>DESCRIPTION</strong></p>
\r
2868 <span class="DESCRIPTION"><pre> PartitionTable attribute (14.2.5)
\r
2870 </span><p><strong>SOURCE</strong></p>
\r
2871 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_P_KEY_TABLE</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0016))
\r
2876 <h2><a name="robo756">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fPATH5fRECORD">
\r
2877 IBA Base: Constants/IB_MAD_ATTR_PATH_RECORD</a></h2>
\r
2879 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2880 <p><strong>NAME</strong></p>
\r
2881 <span class="NAME"><pre> <strong>IB_MAD_ATTR_PATH_RECORD</strong>
\r
2883 </span><p><strong>DESCRIPTION</strong></p>
\r
2884 <span class="DESCRIPTION"><pre> PathRecord attribute (15.2.5)
\r
2886 </span><p><strong>SOURCE</strong></p>
\r
2887 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_PATH_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0035))
\r
2892 <h2><a name="robo757">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fPKEYTBL5fRECORD">
\r
2893 IBA Base: Constants/IB_MAD_ATTR_PKEYTBL_RECORD</a></h2>
\r
2895 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2896 <p><strong>NAME</strong></p>
\r
2897 <span class="NAME"><pre> <strong>IB_MAD_ATTR_PKEYTBL_RECORD</strong>
\r
2899 </span><p><strong>DESCRIPTION</strong></p>
\r
2900 <span class="DESCRIPTION"><pre> P-KEY table attribute (15.2.5)
\r
2902 </span><p><strong>SOURCE</strong></p>
\r
2903 <span class="SOURCE"><pre>#define IB_MAD_ATTR_PKEY_TBL_RECORD (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0033))
\r
2908 <h2><a name="robo758">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fPORT5fCNTRS">
\r
2909 IBA Base: Constants/IB_MAD_ATTR_PORT_CNTRS</a></h2>
\r
2911 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2912 <p><strong>NAME</strong></p>
\r
2913 <span class="NAME"><pre> <strong>IB_MAD_ATTR_PORT_CNTRS</strong>
\r
2915 </span><p><strong>DESCRIPTION</strong></p>
\r
2916 <span class="DESCRIPTION"><pre> SwitchInfo attribute (16.1.2)
\r
2918 </span><p><strong>SOURCE</strong></p>
\r
2919 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_PORT_CNTRS</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0012))
\r
2924 <h2><a name="robo759">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fPORT5fINFO">
\r
2925 IBA Base: Constants/IB_MAD_ATTR_PORT_INFO</a></h2>
\r
2927 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2928 <p><strong>NAME</strong></p>
\r
2929 <span class="NAME"><pre> <strong>IB_MAD_ATTR_PORT_INFO</strong>
\r
2931 </span><p><strong>DESCRIPTION</strong></p>
\r
2932 <span class="DESCRIPTION"><pre> PortInfo attribute (14.2.5)
\r
2934 </span><p><strong>SOURCE</strong></p>
\r
2935 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_PORT_INFO</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0015))
\r
2940 <h2><a name="robo760">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fPORT5fSMPL5fCTRL">
\r
2941 IBA Base: Constants/IB_MAD_ATTR_PORT_SMPL_CTRL</a></h2>
\r
2943 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2944 <p><strong>NAME</strong></p>
\r
2945 <span class="NAME"><pre> <strong>IB_MAD_ATTR_PORT_SMPL_CTRL</strong>
\r
2947 </span><p><strong>DESCRIPTION</strong></p>
\r
2948 <span class="DESCRIPTION"><pre> NodeDescription attribute (16.1.2)
\r
2950 </span><p><strong>SOURCE</strong></p>
\r
2951 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_PORT_SMPL_CTRL</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0010))
\r
2956 <h2><a name="robo761">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fPORT5fSMPL5fRSLT">
\r
2957 IBA Base: Constants/IB_MAD_ATTR_PORT_SMPL_RSLT</a></h2>
\r
2959 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2960 <p><strong>NAME</strong></p>
\r
2961 <span class="NAME"><pre> <strong>IB_MAD_ATTR_PORT_SMPL_RSLT</strong>
\r
2963 </span><p><strong>DESCRIPTION</strong></p>
\r
2964 <span class="DESCRIPTION"><pre> NodeInfo attribute (16.1.2)
\r
2966 </span><p><strong>SOURCE</strong></p>
\r
2967 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_PORT_SMPL_RSLT</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0011))
\r
2972 <h2><a name="robo762">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fPORTINFO5fRECORD">
\r
2973 IBA Base: Constants/IB_MAD_ATTR_PORTINFO_RECORD</a></h2>
\r
2975 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2976 <p><strong>NAME</strong></p>
\r
2977 <span class="NAME"><pre> <strong>IB_MAD_ATTR_PORTINFO_RECORD</strong>
\r
2979 </span><p><strong>DESCRIPTION</strong></p>
\r
2980 <span class="DESCRIPTION"><pre> PortInfoRecord attribute (15.2.5)
\r
2982 </span><p><strong>SOURCE</strong></p>
\r
2983 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_PORTINFO_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0012))
\r
2988 <h2><a name="robo763">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fPREPARE5fTO5fTEST">
\r
2989 IBA Base: Constants/IB_MAD_ATTR_PREPARE_TO_TEST</a></h2>
\r
2991 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
2992 <p><strong>NAME</strong></p>
\r
2993 <span class="NAME"><pre> <strong>IB_MAD_ATTR_PREPARE_TO_TEST</strong>
\r
2995 </span><p><strong>DESCRIPTION</strong></p>
\r
2996 <span class="DESCRIPTION"><pre> PrepareToTest attribute (16.3.3)
\r
2998 </span><p><strong>SOURCE</strong></p>
\r
2999 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_PREPARE_TO_TEST</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0021))
\r
3004 <h2><a name="robo764">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fRND5fFWD5fTBL">
\r
3005 IBA Base: Constants/IB_MAD_ATTR_RND_FWD_TBL</a></h2>
\r
3007 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3008 <p><strong>NAME</strong></p>
\r
3009 <span class="NAME"><pre> <strong>IB_MAD_ATTR_RND_FWD_TBL</strong>
\r
3011 </span><p><strong>DESCRIPTION</strong></p>
\r
3012 <span class="DESCRIPTION"><pre> Switch random forwarding table
\r
3014 </span><p><strong>SOURCE</strong></p>
\r
3015 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_RND_FWD_TBL</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x001A))
\r
3020 <h2><a name="robo765">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fSERVICE5fENTRIES">
\r
3021 IBA Base: Constants/IB_MAD_ATTR_SERVICE_ENTRIES</a></h2>
\r
3023 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3024 <p><strong>NAME</strong></p>
\r
3025 <span class="NAME"><pre> <strong>IB_MAD_ATTR_SERVICE_ENTRIES</strong>
\r
3027 </span><p><strong>DESCRIPTION</strong></p>
\r
3028 <span class="DESCRIPTION"><pre> ServiceEntries attribute (16.3.3)
\r
3030 </span><p><strong>SOURCE</strong></p>
\r
3031 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_SERVICE_ENTRIES</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0012))
\r
3036 <h2><a name="robo766">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fSERVICE5fRECORD">
\r
3037 IBA Base: Constants/IB_MAD_ATTR_SERVICE_RECORD</a></h2>
\r
3039 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3040 <p><strong>NAME</strong></p>
\r
3041 <span class="NAME"><pre> <strong>IB_MAD_ATTR_SERVICE_RECORD</strong>
\r
3043 </span><p><strong>DESCRIPTION</strong></p>
\r
3044 <span class="DESCRIPTION"><pre> ServiceRecord attribute (15.2.5)
\r
3046 </span><p><strong>SOURCE</strong></p>
\r
3047 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_SERVICE_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0031))
\r
3052 <h2><a name="robo767">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fSLVL5fRECORD">
\r
3053 IBA Base: Constants/IB_MAD_ATTR_SLVL_RECORD</a></h2>
\r
3055 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3056 <p><strong>NAME</strong></p>
\r
3057 <span class="NAME"><pre> <strong>IB_MAD_ATTR_SLVL_RECORD</strong>
\r
3059 </span><p><strong>DESCRIPTION</strong></p>
\r
3060 <span class="DESCRIPTION"><pre> VSLtoL <a href="../complib/cl_map_h.html#robo18">Map</a> Table attribute (15.2.5)
\r
3062 </span><p><strong>SOURCE</strong></p>
\r
3063 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_SLVL_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0013))
\r
3068 <h2><a name="robo768">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fSLVL5fTABLE">
\r
3069 IBA Base: Constants/IB_MAD_ATTR_SLVL_TABLE</a></h2>
\r
3071 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3072 <p><strong>NAME</strong></p>
\r
3073 <span class="NAME"><pre> <strong>IB_MAD_ATTR_SLVL_TABLE</strong>
\r
3075 </span><p><strong>DESCRIPTION</strong></p>
\r
3076 <span class="DESCRIPTION"><pre> SL VL Mapping Table attribute (14.2.5)
\r
3078 </span><p><strong>SOURCE</strong></p>
\r
3079 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_SLVL_TABLE</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0017))
\r
3084 <h2><a name="robo769">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fSM5fINFO">
\r
3085 IBA Base: Constants/IB_MAD_ATTR_SM_INFO</a></h2>
\r
3087 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3088 <p><strong>NAME</strong></p>
\r
3089 <span class="NAME"><pre> <strong>IB_MAD_ATTR_SM_INFO</strong>
\r
3091 </span><p><strong>DESCRIPTION</strong></p>
\r
3092 <span class="DESCRIPTION"><pre> SMInfo attribute (14.2.5)
\r
3094 </span><p><strong>SOURCE</strong></p>
\r
3095 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_SM_INFO</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0020))
\r
3100 <h2><a name="robo770">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fSMINFO5fRECORD">
\r
3101 IBA Base: Constants/IB_MAD_ATTR_SMINFO_RECORD</a></h2>
\r
3103 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3104 <p><strong>NAME</strong></p>
\r
3105 <span class="NAME"><pre> <strong>IB_MAD_ATTR_SMINFO_RECORD</strong>
\r
3107 </span><p><strong>DESCRIPTION</strong></p>
\r
3108 <span class="DESCRIPTION"><pre> SmInfoRecord attribute (15.2.5)
\r
3110 </span><p><strong>SOURCE</strong></p>
\r
3111 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_SMINFO_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0018))
\r
3116 <h2><a name="robo771">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fSVC5fASSOCIATION5fRECORD">
\r
3117 IBA Base: Constants/IB_MAD_ATTR_SVC_ASSOCIATION_RECORD</a></h2>
\r
3119 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3120 <p><strong>NAME</strong></p>
\r
3121 <span class="NAME"><pre> <strong>IB_MAD_ATTR_SVC_ASSOCIATION_RECORD</strong>
\r
3123 </span><p><strong>DESCRIPTION</strong></p>
\r
3124 <span class="DESCRIPTION"><pre> Service Association attribute (15.2.5)
\r
3126 </span><p><strong>SOURCE</strong></p>
\r
3127 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_SVC_ASSOCIATION_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x003B))
\r
3132 <h2><a name="robo772">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fSWITCH5fINFO">
\r
3133 IBA Base: Constants/IB_MAD_ATTR_SWITCH_INFO</a></h2>
\r
3135 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3136 <p><strong>NAME</strong></p>
\r
3137 <span class="NAME"><pre> <strong>IB_MAD_ATTR_SWITCH_INFO</strong>
\r
3139 </span><p><strong>DESCRIPTION</strong></p>
\r
3140 <span class="DESCRIPTION"><pre> SwitchInfo attribute (14.2.5)
\r
3142 </span><p><strong>SOURCE</strong></p>
\r
3143 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_SWITCH_INFO</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0012))
\r
3148 <h2><a name="robo773">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fTEST5fDEVICE5fLOOP">
\r
3149 IBA Base: Constants/IB_MAD_ATTR_TEST_DEVICE_LOOP</a></h2>
\r
3151 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3152 <p><strong>NAME</strong></p>
\r
3153 <span class="NAME"><pre> <strong>IB_MAD_ATTR_TEST_DEVICE_LOOP</strong>
\r
3155 </span><p><strong>DESCRIPTION</strong></p>
\r
3156 <span class="DESCRIPTION"><pre> TestDeviceLoop attribute (16.3.3)
\r
3158 </span><p><strong>SOURCE</strong></p>
\r
3159 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_TEST_DEVICE_LOOP</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0023))
\r
3164 <h2><a name="robo774">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fTEST5fDEVICE5fONCE">
\r
3165 IBA Base: Constants/IB_MAD_ATTR_TEST_DEVICE_ONCE</a></h2>
\r
3167 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3168 <p><strong>NAME</strong></p>
\r
3169 <span class="NAME"><pre> <strong>IB_MAD_ATTR_TEST_DEVICE_ONCE</strong>
\r
3171 </span><p><strong>DESCRIPTION</strong></p>
\r
3172 <span class="DESCRIPTION"><pre> TestDeviceOnce attribute (16.3.3)
\r
3174 </span><p><strong>SOURCE</strong></p>
\r
3175 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_TEST_DEVICE_ONCE</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0022))
\r
3180 <h2><a name="robo775">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fTRACE5fRECORD">
\r
3181 IBA Base: Constants/IB_MAD_ATTR_TRACE_RECORD</a></h2>
\r
3183 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3184 <p><strong>NAME</strong></p>
\r
3185 <span class="NAME"><pre> IB_MAD_ATTR_MTRACE_RECORD
\r
3187 </span><p><strong>DESCRIPTION</strong></p>
\r
3188 <span class="DESCRIPTION"><pre> TraceRecord attribute (15.2.5)
\r
3190 </span><p><strong>SOURCE</strong></p>
\r
3191 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_TRACE_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0039))
\r
3196 <h2><a name="robo776">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fVENDOR5fDIAG">
\r
3197 IBA Base: Constants/IB_MAD_ATTR_VENDOR_DIAG</a></h2>
\r
3199 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3200 <p><strong>NAME</strong></p>
\r
3201 <span class="NAME"><pre> <strong>IB_MAD_ATTR_VENDOR_DIAG</strong>
\r
3203 </span><p><strong>DESCRIPTION</strong></p>
\r
3204 <span class="DESCRIPTION"><pre> VendorDiag attribute (14.2.5)
\r
3206 </span><p><strong>SOURCE</strong></p>
\r
3207 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_VENDOR_DIAG</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0030))
\r
3212 <h2><a name="robo777">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fVL5fARBITRATION">
\r
3213 IBA Base: Constants/IB_MAD_ATTR_VL_ARBITRATION</a></h2>
\r
3215 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3216 <p><strong>NAME</strong></p>
\r
3217 <span class="NAME"><pre> <strong>IB_MAD_ATTR_VL_ARBITRATION</strong>
\r
3219 </span><p><strong>DESCRIPTION</strong></p>
\r
3220 <span class="DESCRIPTION"><pre> VL Arbitration Table attribute (14.2.5)
\r
3222 </span><p><strong>SOURCE</strong></p>
\r
3223 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_VL_ARBITRATION</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0018))
\r
3228 <h2><a name="robo778">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fATTR5fVLARB5fRECORD">
\r
3229 IBA Base: Constants/IB_MAD_ATTR_VLARB_RECORD</a></h2>
\r
3231 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3232 <p><strong>NAME</strong></p>
\r
3233 <span class="NAME"><pre> <strong>IB_MAD_ATTR_VLARB_RECORD</strong>
\r
3235 </span><p><strong>DESCRIPTION</strong></p>
\r
3236 <span class="DESCRIPTION"><pre> VL Arbitration Table attribute (15.2.5)
\r
3238 </span><p><strong>SOURCE</strong></p>
\r
3239 <span class="SOURCE"><pre>#define <strong>IB_MAD_ATTR_VLARB_RECORD</strong> (<a href="../complib/cl_byteswap_h.html#robo295">CL_NTOH16</a>(0x0036))
\r
3244 <h2><a name="robo779">[Definitions]<a name="IBA20Base3a20Constants2fIB5fMAD5fMETHOD5fGET">
\r
3245 IBA Base: Constants/IB_MAD_METHOD_GET</a></h2>
\r
3247 <p>[<a href="#robo_top_of_doc">top</a>][<a href="../robo_definitions.html#top">index</a>]</p>
\r
3248 <p><strong>NAME</strong></p>
\r
3249 <span class="NAME"><pre> <strong>IB_MAD_METHOD_GET</strong>
\r
3251 </span><p><strong>DESCRIPTION</strong></p>
\r
3252 <span class="DESCRIPTION"><pre> Get() Method (13.4.5)
\r
3254 </span><p><strong>SOURCE</strong></p>
\r
3255 <span class="SOURCE"><pre>#define <strong>IB_MAD_METHOD_GET</strong> 0x01
\r