summaryrefslogtreecommitdiff
path: root/usr/src/man/man3dat/dat_ep_modify.3dat
blob: 8f5bb875a918836d6fdbf61fd45c68c2de4b0536 (plain)
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
'\" te
.\" This manual page is derived from the DAT/uDAPL 1.2 specification.
.\" Portions Copyright (c) 2007, 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 DAT_EP_MODIFY 3DAT "Jul 16, 2004"
.SH NAME
dat_ep_modify \- change parameters of an Endpoint
.SH SYNOPSIS
.LP
.nf
cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldat\fR [ \fIlibrary\fR\&.\|.\|. ]
#include <\fBdat/udat.h\fR>

DAT_RETURN
    dat_ep_modify (
    IN    DAT_EP_HANDLE        ep_handle,
    IN    DAT_EP_PARAM_MASK    ep_param_mask,
    IN    DAT_EP_PARAM         *ep_param
    )
.fi

.SH PARAMETERS
.sp
.ne 2
.na
\fB\fIep_handle\fR\fR
.ad
.RS 17n
Handle for an instance of the Endpoint.
.RE

.sp
.ne 2
.na
\fB\fIep_param_mask\fR\fR
.ad
.RS 17n
Mask for Endpoint parameters.
.RE

.sp
.ne 2
.na
\fB\fIep_param\fR\fR
.ad
.RS 17n
Pointer to the Consumer-allocated structure that contains Consumer-requested
Endpoint parameters.
.RE

.SH DESCRIPTION
.sp
.LP
The \fBdat_ep_modify()\fR function provides the Consumer a way to change
parameters of an Endpoint.
.sp
.LP
The \fIep_param_mask\fR parameter allows Consumers to specify which parameters
to modify. Providers modify values for \fIep_param_mask\fR requested parameters
only.
.sp
.LP
Not all the parameters of the Endpoint can be modified. Some can be modified
only when the Endpoint is in a specific state. The following list specifies
which parameters can be modified and when they can be modified.
.sp
.ne 2
.na
\fBInterface Adapter\fR
.ad
.sp .6
.RS 4n
Cannot be modified.
.sp
Endpoint belongs to an open instance of IA and that association cannot be
changed.
.RE

.sp
.ne 2
.na
\fBEndpoint State\fR
.ad
.sp .6
.RS 4n
Cannot be modified.
.sp
State of Endpoint cannot be changed by a \fBdat_ep_modify()\fR operation.
.RE

.sp
.ne 2
.na
\fBLocal IA Address\fR
.ad
.sp .6
.RS 4n
Cannot be modified.
.sp
Local IA Address cannot be changed by a \fBdat_ep_modify()\fR operation.
.RE

.sp
.ne 2
.na
\fBLocal Port Qualifier\fR
.ad
.sp .6
.RS 4n
Cannot be modified.
.sp
Local port qualifier cannot be changed by a \fBdat_ep_modify()\fR operation.
.RE

.sp
.ne 2
.na
\fBRemote IA Address\fR
.ad
.sp .6
.RS 4n
Cannot be modified.
.sp
Remote IA Address cannot be changed by a \fBdat_ep_modify()\fR operation.
.RE

.sp
.ne 2
.na
\fBRemote Port Qualifier\fR
.ad
.sp .6
.RS 4n
Cannot be modified.
.sp
Remote port qualifier cannot be changed by a \fBdat_ep_modify()\fR operation
.RE

.sp
.ne 2
.na
\fBProtection Zone\fR
.ad
.sp .6
.RS 4n
Can be modified when in Quiescent, Unconnected, and Tentative Connection
Pending states.
.sp
Protection Zone can be changed only when the Endpoint is in quiescent state.
The only Endpoint states that isare quiescent isare
\fBDAT_EP_STATE_UNCONNECTED\fR and
\fBDAT_EP_STATE_TENTATIVE_CONNECTION_PENDING\fR. Consumers should be aware that
any Receive DTOs currently posted to the Endpoint that do not match the new
Protection Zone fail with a \fBDAT_PROTECTION_VIOLATION\fR return.
.RE

.sp
.ne 2
.na
\fBIn DTO Event Dispatcher\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Request
Pending, and Tentative Connection Pending states.
.sp
Event Dispatcher for incoming DTOs (Receive) can be changed only prior to a
request for a connection for an Active side or prior to accepting a Connection
Request for a Passive side.
.RE

.sp
.ne 2
.na
\fBOut DTO Event Dispatcher\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
Event Dispatcher for outgoing DTOs (Send, RDMA Read, and RDMA Write) can be
changed only prior to a request for a connection for an Active side or prior to
accepting a Connection Request for a Passive side.
.RE

.sp
.ne 2
.na
\fBConnection Event Dispatcher\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
Event Dispatcher for the Endpoint Connection events can be changed only prior
to a request for a connection for an Active side or accepting a Connection
Request for a Passive side.
.RE

.sp
.ne 2
.na
\fBService Type\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
Service Type can be changed only prior to a request for a connection for an
Active side or accepting a Connection Request for a Passive side.
.RE

.sp
.ne 2
.na
\fBMaximum Message Size\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Request
Pending, and Tentative Connection Pending states.
.sp
Maximum Message Size can be changed only prior to a request for a connection
for an Active side or accepting a Connection Request for a Passive side.
.RE

.sp
.ne 2
.na
\fBMaximum RDMA Size\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
Maximum RDMA Size can be changed only prior to a request for a connection for
an Active side or accepting a Connection Request for a Passive side.
.RE

.sp
.ne 2
.na
\fBQuality of Service\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
QoS can be changed only prior to a request for a connection for an Active side
or accepting a Connection Request for a Passive side.
.RE

.sp
.ne 2
.na
\fBRecv Completion Flags\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
Recv Completion Flags specifies what DTO flags the Endpoint should support for
Receive DTO operations. The value can be
\fBDAT_COMPLETION_NOTIFICATION_SUPPRESS_FLAG\fR,
\fBDAT_COMPLETION_SOLICITED_WAIT_FLAG\fR, or
\fBDAT_COMPLETION_EVD_THRESHOLD_FLAG\fR. Recv posting does not support
\fBDAT_COMPLETION_SUPPRESS_FLAG\fR or \fBDAT_COMPLETION_BARRIER_FENCE_FLAG\fR
dat_completion_flags values that are only applicable to Request postings. Recv
Completion Flags can be changed only prior to a request for a connection for an
Active side or accepting a Connection Request for a Passive side, but before
posting of any Recvs.
.RE

.sp
.ne 2
.na
\fBRequest Completion Flags\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Request
Pending, and Tentative Connection Pending states.
.sp
Request Completion Flags specifies what DTO flags the Endpoint should support
for Send, RDMA Read, RDMA Write, and RMR Bind operations. The value can be:
\fBDAT_COMPLETION_UNSIGNALLED_FLAG\fR or
\fBDAT_COMPLETION_EVD_THRESHOLD_FLAG\fR. Request postings always support
\fBDAT_COMPLETION_SUPPRESS_FLAG\fR, \fBDAT_COMPLETION_SOLICITED_WAIT_FLAG\fR,
or \fBDAT_COMPLETION_BARRIER_FENCE_FLAG\fR completion_flags values. Request
Completion Flags can be changed only prior to a request for a connection for an
Active side or accepting a Connection Request for a Passive side.
.RE

.sp
.ne 2
.na
\fBMaximum Recv DTO\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
Maximum Recv DTO specifies the maximum number of outstanding Consumer-submitted
Receive DTOs that a Consumer expects at any time at the Endpoint. Maximum Recv
DTO can be changed only prior to a request for a connection for an Active side
or accepting a Connection Request for a Passive side.
.RE

.sp
.ne 2
.na
\fBMaximum Request DTO\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
Maximum Request DTO specifies the maximum number of outstanding
Consumer-submitted send and RDMA DTOs and RMR Binds that a Consumer expects at
any time at the Endpoint. Maximum Out DTO can be changed only prior to a
request for a connection for an Active side or accepting a Connection Request
for a Passive side.
.RE

.sp
.ne 2
.na
\fBMaximum Recv IOV\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
Maximum Recv IOV specifies the maximum number of elements in IOV that a
Consumer specifies for posting a Receive DTO for the Endpoint. Maximum Recv IOV
can be changed only prior to a request for a connection for an Active side or
accepting a Connection Request for a Passive side.
.RE

.sp
.ne 2
.na
\fBMaximum Request IOV\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
Maximum Request IOV specifies the maximum number of elements in IOV that a
Consumer specifies for posting a Send, RDMA Read, or RDMA Write DTO for the
Endpoint. Maximum Request IOV can be changed only prior to a request for a
connection for an Active side or accepting a Connection Request for a Passive
side.
.RE

.sp
.ne 2
.na
\fBMaximum outstanding RDMA Read as target\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
Maximum number of outstanding RDMA Reads for which the Endpoint is the target.
.RE

.sp
.ne 2
.na
\fBMaximum outstanding RDMA Read as originator\fR
.ad
.sp .6
.RS 4n
Can be modified when in Unconnected, Reserved, Passive Connection Pending, and
Tentative Connection Pending states.
.sp
Maximum number of outstanding RDMA Reads for which the Endpoint is the
originator.
.RE

.sp
.ne 2
.na
\fBNum transport-specific attributes\fR
.ad
.sp .6
.RS 4n
Can be modified when in Quiescent (unconnected) state.
.sp
Number of transport-specific attributes to be modified.
.RE

.sp
.ne 2
.na
\fBTransport-specific endpoint attributes\fR
.ad
.sp .6
.RS 4n
Can be modified when in Quiescent (unconnected) state.
.sp
Transport-specific attributes can be modified only in the transport-defined
Endpoint state. The only guaranteed safe state in which to modify
transport-specific Endpoint attributes is the quiescent state
\fBDAT_EP_STATE_UNCONNECTED\fR.
.RE

.sp
.ne 2
.na
\fBNum provider-specific attributes\fR
.ad
.sp .6
.RS 4n
Can be modified when in Quiescent (unconnected) state.
.sp
 Number of Provider-specific attributes to be modified.
.RE

.sp
.ne 2
.na
\fBProvider-specific endpoint attributes\fR
.ad
.sp .6
.RS 4n
Can be modified when in Quiescent (unconnected) state.
.sp
Provider-specific attributes can be modified only in the Provider-defined
Endpoint state. The only guaranteed safe state in which to modify
Provider-specific Endpoint attributes is the quiescent state
\fBDAT_EP_STATE_UNCONNECTED\fR.
.RE

.SH RETURN VALUES
.sp
.ne 2
.na
\fB\fBDAT_SUCCESS\fR\fR
.ad
.RS 25n
The operation was successful.
.RE

.sp
.ne 2
.na
\fB\fBDAT_INVALID_HANDLE\fR\fR
.ad
.RS 25n
The \fIep_handle\fR parameter is invalid.
.RE

.sp
.ne 2
.na
\fB\fBDAT_INVALID_PARAMETER\fR\fR
.ad
.RS 25n
The \fIep_param_mask\fR parameter is invalid, or one of the requested Endpoint
parameters or attributes was invalid, not supported, or cannot be modified.
.RE

.sp
.ne 2
.na
\fB\fBDAT_INVALID_STATE\fR\fR
.ad
.RS 25n
Parameter in an invalid state. The Endpoint was not in the state that allows
one of the parameters or attributes to be modified.
.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 libdat (3LIB),
.BR attributes (7)