cc [ flag… ] file… –ldat [ library… ] #include <dat/udat.h> DAT_RETURN dat_ia_query ( IN DAT_IA_HANDLE ia_handle, OUT DAT_EVD_HANDLE *async_evd_handle, IN DAT_IA_ATTR_MASK ia_attr_mask, OUT DAT_IA_ATTR *ia_attributes, IN DAT_PROVIDER_ATTR_MASK provider_attr_mask, OUT DAT_PROVIDER_ATTR *provider_attributes )
Handle for an open instance of an IA.
Handle for an Event Dispatcher for asynchronous events generated by the IA.
Mask for the ia_attributes.
Pointer to a Consumer-allocated structure that the Provider fills with IA attributes.
Mask for the provider_attributes.
Pointer to a Consumer-allocated structure that the Provider fills with Provider attributes.
The dat_ia_query() functions provides the Consumer with the IA parameters, as well as the IA and Provider attributes. Consumers pass in pointers to Consumer-allocated structures for the IA and Provider attributes that the Provider fills.
The ia_attr_mask and provider_attr_mask parameters allow the Consumer to specify which attributes to query. The Provider returns values for requested attributes. The Provider can also return values for any of the other attributes.
The IA attributes are common to all open instances of the IA. DAT defines a method to query the IA attributes but does not define a method to modify them.
If IA is multiported, each port is presented to a Consumer as a separate IA.
The name of the IA controlled by the Provider. The same as ia_name_ptr.
Vendor if IA hardware.
Major version of IA hardware.
Minor version of IA hardware.
Major version of IA firmware.
Minor version of IA firmware.
An address of the interface Adapter.
Maximum number of Endpoints that the IA can support. This covers all Endpoints in all states, including the ones used by the Providers, zero or more applications, and management.
Maximum number of DTOs and RMR_binds that any Endpoint can support for a single direction. This means the maximum number of outstanding and in-progress Send, RDMA Read, RDMA Write DTOs, and RMR Binds at any one time for any Endpoint; and maximum number of outstanding and in-progress Receive DTOs at any one time for any Endpoint.
Maximum number of RDMA Reads that can be outstanding per (connected) Endpoint with the IA as the target.
Maximum number of RDMA Reads that can be outstanding per (connected) Endpoint with the IA as the originator.
Maximum number of Event Dispatchers that an IA can support. An IA cannot support an Event Dispatcher directly, but indirectly by Transport-specific Objects, for example, Completion Queues for Infiniband™ and VI. The Event Dispatcher Objects can be shared among multiple Providers and similar Objects from other APIs, for example, Event Queues for uDAPL.
Maximum size of the EVD queue supported by an IA.
Maximum entries in an IOV list that an IA supports. Notice that this number cannot be explicit but must be implicit to transport-specific Object entries. For example, for IB, it is the maximum number of scatter/gather entries per Work Request, and for VI it is the maximum number of data segments per VI Descriptor.
Maximum number of Local Memory Regions IA supports among all Providers and applications of this IA.
Maximum contiguous block that can be registered by the IA.
Highest valid virtual address within the context of an LMR. Frequently, IAs on 32–bit architectures support only 32–bit local virtual addresses.
Maximum number of Protection Zones that the IA supports.
Maximum message size supported by the IA
Maximum RDMA size supported by the IA
Maximum number of RMRs an IA supports among all Providers and applications of this IA.
Highest valid target address with the context of a local RMR. Frequently, IAs on 32–bit architectures support only 32–bit local virtual addresses.
Number of transport-specific attributes.
Array of transport-specific attributes. Each entry has the format of DAT_NAMED_ATTR, which is a structure with two elements. The first element is the name of the attribute. The second element is the value of the attribute as a string.
Number of vendor-specific attributes.
Array of vendor-specific attributes. Each entry has the format of DAT_NAMED_ATTR, which is a structure with two elements. The first element is the name of the attribute. The second element is the value of the attribute as a string.
The provider attributes are specific to the open instance of the IA. DAT defines a method to query Provider attributes but does not define a method to modify them.
Name of the Provider vendor.
Major Version of uDAPL Provider.
Minor Version of uDAPL Provider.
Major Version of uDAPL API supported.
Minor Version of uDAPL API supported.
Memory types that LMR Create supports for memory registration. This value is a union of LMR Memory Types DAT_MEM_TYPE_VIRTUAL, DAT_MEM_TYPE_LMR, and DAT_MEM_TYPE_SHARED_VIRTUAL that the Provider supports. All Providers must support the following Memory Types: DAT_MEM_TYPE_VIRTUAL, DAT_MEM_TYPE_LMR, and DAT_MEM_TYPE_SHARED_VIRTUAL.
An enumeration flag that specifies the ownership of the local buffer description (IOV list) after post DTO returns. The three values are as follows:
DAT_IOV_CONSUMER indicates that the Consumer has the ownership of the local buffer description after a post returns.
DAT_IOV_PROVIDER_NOMOD indicates that the Provider still has ownership of the local buffer description of the DTO when the post DTO returns, but the Provider does not modify the buffer description.
DAT_IOV_PROVIDER_MOD indicates that the Provider still has ownership of the local buffer description of the DTO when the post DTO returns and can modify the buffer description.
In any case, the Consumer obtains ownership of the local buffer description after the DTO transfer is completed and the Consumer is notified through a DTO completion event.
The union of the connection QOS supported by the Provider.
The following values for the completion flag DAT_COMPLETION_FLAGS are supported by the Provider: DAT_COMPLETION_SUPPRESS_FLAG, DAT_COMPLETION_UNSIGNALLED_FLAG, DAT_COMPLETION_SOLICITED_WAIT_FLAG , and DAT_COMPLETION_BARRIER_FENCE_FLAG.
Provider Library thread safe or not. The Provider Library is not required to be thread safe.
Maximum size of private data the Provider supports. This value is at least 64 bytes.
Capability of the Provider to support Multipathing for connection establishment.
Indicator for who can create an Endpoint for a Connection Request. For the Consumer it is DAT_PSP_CREATES_EP_NEVER. For the Provider it is DAT_PSP_CREATES_EP_ALWAYS. For both it is DAT_PSP_CREATES_EP_IFASKED . This attribute is used for Public Service Point creation.
Indicator of what kind of protection the Provider's PZ provides.
Local and remote DTO buffer alignment for optimal performance on the Platform. The DAT_OPTIMAL_ALIGMNEMT must be divisible by this attribute value. The maximum allowed value is DAT_OPTIMAL_ALIGMNEMT, or 256.
A 2D binary matrix where each row and column represent an event stream type. Each binary entry is 1 if the event streams of its row and column can be fed to the same EVD, and 0 otherwise.
More than two different event stream types can feed the same EVD if for each pair of the event stream types the entry is 1.
The Provider should support merging of all event stream types.
The Consumer should check this attribute before requesting an EVD that merges multiple event stream types.
Number of Provider-specific attributes.
Array of Provider-specific attributes. Each entry has the format of DAT_NAMED_ATTR, which is a structure with two elements. The first element is the name of the attribute. The second element is the value of the attribute as a string.
The operation was successful.
Invalid DAT handle; ia_handle is invalid.
See attributes(5) for descriptions of the following attributes: