1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
|
'\" te
.\" Copyright (c) 2004, Sun Microsystems, Inc. All rights reserved.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH LIBDAT 3LIB "Jul 16, 2004"
.SH NAME
libdat \- direct access transport library
.SH SYNOPSIS
.LP
.nf
cc [ \fIflag\fR... ] \fIfile\fR... \fB-ldat\fR [ \fIlibrary\fR... ]
#include <\fBdat/udat.h\fR>
.fi
.SH DESCRIPTION
.sp
.LP
The libdat library provides an application with the User Direct Access
Programming Library (uDAPL) 1.2 functions to access the underlying RDMA-able
interconnects. Different uDAPL service providers listed in the DAT static
registry \fBdat.conf\fR(5) can be registered during runtime with the DAT
library. After an application opens an interface adapter belonging to a
particular service provider, all function calls will be redirected to that
service provider's library.
.SH INTERFACES
.sp
.LP
The shared object \fBlibdat.so.1\fR provides the public interfaces defined
below for applications. See \fBIntro\fR(3) for additional information on shared
object interfaces.
.SS "uDAPL 1.1"
.sp
.sp
.TS
l l
l l .
\fBdat_cno_create\fR \fBdat_cno_free\fR
\fBdat_cno_modify_agent\fR \fBdat_cno_query\fR
\fBdat_cno_wait\fR \fBdat_cr_accept\fR
\fBdat_cr_handoff\fR \fBdat_cr_query\fR
\fBdat_cr_reject\fR \fBdat_ep_connect\fR
\fBdat_ep_create\fR \fBdat_ep_disconnect\fR
\fBdat_ep_dup_connect\fR \fBdat_ep_free\fR
\fBdat_ep_get_status\fR \fBdat_ep_modify\fR
\fBdat_ep_post_rdma_read\fR \fBdat_ep_post_rdma_write\fR
\fBdat_ep_post_recv\fR \fBdat_ep_post_send\fR
\fBdat_ep_query\fR \fBdat_ep_reset\fR
\fBdat_evd_clear_unwaitable\fR \fBdat_evd_create\fR
\fBdat_evd_dequeue\fR \fBdat_evd_disable\fR
\fBdat_evd_enable\fR \fBdat_evd_free\fR
\fBdat_evd_modify_cno\fR \fBdat_evd_post_se\fR
\fBdat_evd_query\fR \fBdat_evd_resize\fR
\fBdat_evd_set_unwaitable\fR \fBdat_evd_wait\fR
\fBdat_get_consumer_context\fR \fBdat_get_handle_type\fR
\fBdat_ia_close\fR \fBdat_ia_open\fR
\fBdat_ia_query\fR \fBdat_lmr_create\fR
\fBdat_lmr_free\fR \fBdat_lmr_query\fR
\fBdat_provider_fini\fR \fBdat_provider_init\fR
\fBdat_psp_create\fR \fBdat_psp_create_any\fR
\fBdat_psp_free\fR \fBdat_psp_query\fR
\fBdat_pz_create\fR \fBdat_pz_free\fR
\fBdat_pz_query\fR \fBdat_registry_list_providers\fR
\fBdat_rmr_bind\fR \fBdat_rmr_create\fR
\fBdat_rmr_free\fR \fBdat_rmr_query\fR
\fBdat_rsp_create\fR \fBdat_rsp_free\fR
\fBdat_rsp_query\fR \fBdat_set_consumer_context\fR
\fBdat_strerror\fR
.TE
.SS "uDAPL 1.2"
.sp
.sp
.TS
l l
l l .
\fBdat_ep_create_with_srq\fR \fBdat_ep_recv_query\fR
\fBdat_ep_set_watermark\fR \fBdat_lmr_sync_rdma_read\fR
\fBdat_lmr_sync_rdma_write\fR \fBdat_srq_create\fR
\fBdat_srq_free\fR \fBdat_srq_post_recv\fR
\fBdat_srq_query\fR \fBdat_srq_resize\fR
\fBdat_srq_set_lw\fR
.TE
.sp
.LP
The shared object \fBlibdat.so.1\fR also provides the public interfaces defined
below for service providers.
.sp
.sp
.TS
l l .
dat_registry_add_provider \fBdat_registry_remove_provider\fR
.TE
.SH FILES
.sp
.ne 2
.na
\fB\fB/usr/lib/libdat.so.1\fR\fR
.ad
.RS 27n
shared object
.RE
.sp
.ne 2
.na
\fB\fB/usr/lib/64/libdat.so.1\fR\fR
.ad
.RS 27n
64-bit shared object
.RE
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
.TS
box;
c | c
l | l .
ATTRIBUTE TYPE ATTRIBUTE VALUE
_
Interface Stability Standard: uDAPL, 1.1, 1.2
_
MT-Level Unsafe
.TE
.SH SEE ALSO
.sp
.LP
.BR Intro (3),
.BR dat.conf (5),
.BR attributes (7),
.BR datadm (8)
.SH NOTES
.sp
.LP
The \fBlibdat\fR library supports service providers written according to the
uDAPL 1.2 specification. A service provider library has to be a dynamic
loadable shared object with two public entry points exported:
.sp
.sp
.TS
l l .
\fBdat_provider_init\fR \fBdat_provider_fini\fR
.TE
.sp
.LP
In terms of installation, the service provider package should include a
\fBservice_provider.conf\fR(5) file. The \fBdatadm\fR(8) administrative
configuration program should be used to add and remove service provider's
entries in the system-wide \fBdat.conf\fR(5).
|