Debian Codegraph @

dat/include/dat2/kdat.h

raw
1 /*
2 * Copyright (c) 2002-2006, Network Appliance, Inc. All rights reserved.
3 *
4 * This Software is licensed under all of the following licenses:
5 *
6 * 1) under the terms of the "Common Public License 1.0" a copy of which is
7 * in the file LICENSE.txt in the root directory. The license is also
8 * available from the Open Source Initiative, see
9 * http://www.opensource.org/licenses/cpl.php.
10 *
11 * 2) under the terms of the "The BSD License" a copy of which is in the file
12 * LICENSE2.txt in the root directory. The license is also available from
13 * the Open Source Initiative, see
14 * http://www.opensource.org/licenses/bsd-license.php.
15 *
16 * 3) under the terms of the "GNU General Public License (GPL) Version 2" a
17 * copy of which is in the file LICENSE3.txt in the root directory. The
18 * license is also available from the Open Source Initiative, see
19 * http://www.opensource.org/licenses/gpl-license.php.
20 *
21 * Licensee has the right to choose one of the above licenses.
22 *
23 * Redistribution and use in source and binary forms, with or without
24 * modification, are permitted provided that the following conditions are
25 * met:
26 *
27 * Redistributions of source code must retain both the above copyright
28 * notice and one of the license notices.
29 *
30 * Redistributions in binary form must reproduce both the above copyright
31 * notice, one of the license notices in the documentation
32 * and/or other materials provided with the distribution.
33 *
34 * Neither the name of Network Appliance, Inc. nor the names of other DAT
35 * Collaborative contributors may be used to endorse or promote
36 * products derived from this software without specific prior written
37 * permission.
38 */
39
40 /****************************************************************
41 *
42 * HEADER: kdat.h
43 *
44 * PURPOSE: defines the kernel DAT API
45 *
46 * Description: Header file for "kDAPL: Kernel Direct Access Programming
47 * Library, Version: 2.0"
48 * Mapping rules:
49 * All global symbols are prepended with DAT_ or dat_
50 * All DAT objects have an 'api' tag which, such as 'ep' or 'lmr'
51 * The method table is in the provider definition structure.
52 *
53 *
54 *
55 ***************************************************************/
56
57 #ifndef _KDAT_H_
58 #define _KDAT_H_
59
60 #include <dat2/kdat_config.h>
61
62 #include <dat2/dat_platform_specific.h>
63
64 #if 1
65 #define EXPORT_SYMBOL_NOVERS(sym) EXPORT_SYMBOL(sym)
66 #endif
67
68 typedef enum dat_mem_type
69 {
70 /* Shared between udat and kdat */
71 DAT_MEM_TYPE_VIRTUAL = 0x00,
72 DAT_MEM_TYPE_LMR = 0x01,
73 /* kdat specific */
74 DAT_MEM_TYPE_PHYSICAL = 0x10,
75 DAT_MEM_TYPE_PLATFORM = 0x20,
76 DAT_MEM_TYPE_IA = 0x40,
77 DAT_MEM_TYPE_BYPASS = 0x80,
78 DAT_MEM_TYPE_PHYSICAL_VAR_PAGES = 0x100
79 } DAT_MEM_TYPE;
80
81 /* dat handle types */
82 typedef enum dat_handle_type
83 {
84 DAT_HANDLE_TYPE_CR,
85 DAT_HANDLE_TYPE_EP,
86 DAT_HANDLE_TYPE_EVD,
87 DAT_HANDLE_TYPE_IA,
88 DAT_HANDLE_TYPE_LMR,
89 DAT_HANDLE_TYPE_PSP,
90 DAT_HANDLE_TYPE_PZ,
91 DAT_HANDLE_TYPE_RMR,
92 DAT_HANDLE_TYPE_RSP,
93 DAT_HANDLE_TYPE_SRQ,
94 DAT_HANDLE_TYPE_CSP
95 #ifdef DAT_EXTENSIONS
96 ,DAT_HANDLE_TYPE_EXTENSION_BASE
97 #endif
98 } DAT_HANDLE_TYPE;
99
100 typedef enum dat_evd_param_mask
101 {
102 DAT_EVD_FIELD_IA_HANDLE = 0x01,
103 DAT_EVD_FIELD_EVD_QLEN = 0x02,
104 DAT_EVD_FIELD_UPCALL_POLICY = 0x04,
105 DAT_EVD_FIELD_UPCALL = 0x08,
106 DAT_EVD_FIELD_EVD_FLAGS = 0x10,
107 DAT_EVD_FIELD_ALL = 0x1F
108 } DAT_EVD_PARAM_MASK;
109
110 typedef DAT_UINT64 DAT_PROVIDER_ATTR_MASK;
111
112 #include <dat2/dat.h>
113
114 typedef DAT_CONTEXT DAT_LMR_COOKIE;
115
116 /* Upcall support */
117
118 typedef enum dat_upcall_policy
119 {
120 DAT_UPCALL_DISABLE = 0, /* support no_upcalls */
121 DAT_UPCALL_SINGLE_INSTANCE = 1, /* support only one upcall */
122 DAT_UPCALL_MANY = 100, /* support multiple upcalls */
123 DAT_UPCALL_TEARDOWN = -1 /* support no upcalls & return *
124 * after all in progress *
125 * UpCalls return */
126 ,DAT_UPCALL_NORIFY = 2 /* support single upcall with *
127 * notification only */
128 } DAT_UPCALL_POLICY;
129
130 typedef void (*DAT_UPCALL_FUNC)(
131 DAT_PVOID, /* instance_data */
132 const DAT_EVENT *, /* event */
133 DAT_BOOLEAN); /* more_events */
134
135 typedef struct dat_upcall_object
136 {
137 DAT_PVOID instance_data;
138 DAT_UPCALL_FUNC upcall_func;
139 } DAT_UPCALL_OBJECT;
140
141 /* Define NULL upcall */
142
143 #define DAT_UPCALL_NULL \
144 (DAT_UPCALL_OBJECT) { (DAT_PVOID) NULL, \
145 (DAT_UPCALL_FUNC) NULL}
146
147 #define DAT_UPCALL_SAME ((DAT_UPCALL_OBJECT *) NULL)
148
149 /* kDAT Upcall Invocation Policy */
150 typedef enum dat_upcall_flag
151 {
152 DAT_UPCALL_INVOC_NEW = 0, /* invoke on a new event arrival */
153 DAT_UPCALL_INVOC_ANY = 1 /* invoke on any event on EVD */
154 } DAT_UPCALL_FLAG;
155
156 struct dat_evd_param
157 {
158 DAT_IA_HANDLE ia_handle;
159 DAT_COUNT evd_qlen;
160 DAT_UPCALL_POLICY upcall_policy;
161 DAT_UPCALL_OBJECT upcall;
162 DAT_EVD_FLAGS evd_flags;
163 };
164
165 /*
166 * Memory types
167 *
168 * Specifying memory type for LMR create. A Consumer must use a single
169 * value when registering memory. The union of any of these
170 * flags is used in the Provider parameters to indicate what memory
171 * type Provider supports for LMR memory creation.
172 */
173
174 /* memory data types */
175 #define DAT_MEM_OPT DAT_MEM_OPTIMIZE_FLAGS
176
177 typedef enum dat_mem_optimize_flags
178 {
179 DAT_MEM_OPTIMIZE_DONT_CARE = 0x00,
180 DAT_MEM_OPTIMIZE_IA = 0x01,
181 DAT_MEM_OPTIMIZE_MIN_EXPOSURE = 0x02,
182 DAT_MEM_OPTIMIZE_EXACT_EXPOSURE = 0x04
183 } DAT_MEM_OPTIMIZE_FLAGS;
184
185 typedef struct dat_physical_var_pages
186 {
187 DAT_VLEN page_size;
188 void* pages;
189 } DAT_PHYSICAL_VAR_PAGES;
190
191 typedef union dat_region_description
192 {
193 DAT_PVOID for_va;
194 DAT_LMR_HANDLE for_lmr_handle;
195 void * for_platform; /* For kdapl only
196 for platform and bypass */
197 DAT_PHYSICAL_VAR_PAGES for_array; /* for kdapl only */
198 DAT_PADDR *for_physical; /* for kdapl only */
199 /* array of physical pages of the same size */
200 DAT_PADDR for_ia; /* for kdapl only */
201 } DAT_REGION_DESCRIPTION;
202
203 /* LMR Arguments */
204 typedef struct dat_lmr_state
205 {
206 DAT_BOOLEAN fmr_support;
207 DAT_BOOLEAN bound;
208 } DAT_LMR_STATE;
209
210 struct dat_lmr_param
211 {
212 DAT_IA_HANDLE ia_handle;
213 DAT_MEM_TYPE mem_type;
214 DAT_REGION_DESCRIPTION region_desc;
215 DAT_VLEN length;
216 DAT_PZ_HANDLE pz_handle;
217 DAT_MEM_PRIV_FLAGS mem_priv;
218 DAT_VA_TYPE va_type;
219 DAT_LMR_CONTEXT lmr_context;
220 DAT_RMR_CONTEXT rmr_context;
221 DAT_VLEN registered_size;
222 DAT_VADDR registered_address;
223 DAT_LMR_STATE lmr_state; /* kDAPL only */
224 };
225
226 /* LMR Arguments Mask */
227
228 enum dat_lmr_param_mask
229 {
230 DAT_LMR_FIELD_IA_HANDLE = 0x001,
231 DAT_LMR_FIELD_MEM_TYPE = 0x002,
232 DAT_LMR_FIELD_REGION_DESC = 0x004,
233 DAT_LMR_FIELD_LENGTH = 0x008,
234 DAT_LMR_FIELD_PZ_HANDLE = 0x010,
235 DAT_LMR_FIELD_MEM_PRIV = 0x020,
236 DAT_LMR_FIELD_VA_TYPE = 0x040,
237 DAT_LMR_FIELD_LMR_CONTEXT = 0x080,
238 DAT_LMR_FIELD_RMR_CONTEXT = 0x100,
239 DAT_LMR_FIELD_REGISTERED_SIZE = 0x200,
240 DAT_LMR_FIELD_REGISTERED_ADDRESS = 0x400,
241 DAT_LMR_FIELD_LMR_STATE = 0x800,
242
243 DAT_LMR_FIELD_ALL = 0xFFF
244 };
245
246 /* kDAPL 1.3 addition */
247 /* Defines LMR protection scope */
248 typedef enum dat_lmr_scope
249 {
250 DAT_LMR_SCOPE_EP, /* bound to at most one EP at a time. */
251 DAT_LMR_SCOPE_PZ, /* bound to a Protection Zone */
252 DAT_LMR_SCOPE_ANY /* Supports all types */
253 } DAT_LMR_SCOPE;
254
255 struct dat_ia_attr
256 {
257 char adapter_name[DAT_NAME_MAX_LENGTH];
258 char vendor_name[DAT_NAME_MAX_LENGTH];
259 DAT_UINT32 hardware_version_major;
260 DAT_UINT32 hardware_version_minor;
261 DAT_UINT32 firmware_version_major;
262 DAT_UINT32 firmware_version_minor;
263 DAT_IA_ADDRESS_PTR ia_address_ptr;
264 DAT_COUNT max_eps;
265 DAT_COUNT max_dto_per_ep;
266 DAT_COUNT max_rdma_read_per_ep_in;
267 DAT_COUNT max_rdma_read_per_ep_out;
268 DAT_COUNT max_evds;
269 DAT_COUNT max_evd_qlen;
270 DAT_COUNT max_iov_segments_per_dto;
271 DAT_COUNT max_lmrs;
272 DAT_SEG_LENGTH max_lmr_block_size;
273 DAT_VADDR max_lmr_virtual_address;
274 DAT_COUNT max_pzs;
275 DAT_SEG_LENGTH max_message_size;
276 DAT_SEG_LENGTH max_rdma_size;
277 DAT_COUNT max_rmrs;
278 DAT_VADDR max_rmr_target_address;
279 DAT_COUNT max_srqs;
280 DAT_COUNT max_ep_per_srq;
281 DAT_COUNT max_recv_per_srq;
282 DAT_COUNT max_iov_segments_per_rdma_read;
283 DAT_COUNT max_iov_segments_per_rdma_write;
284 DAT_COUNT max_rdma_read_in;
285 DAT_COUNT max_rdma_read_out;
286 DAT_BOOLEAN max_rdma_read_per_ep_in_guaranteed;
287 DAT_BOOLEAN max_rdma_read_per_ep_out_guaranteed;
288 DAT_BOOLEAN zb_supported;
289 DAT_BOOLEAN reserved_lmr_supported;
290 #ifdef DAT_EXTENSIONS
291 DAT_EXTENSION extension_supported;
292 DAT_COUNT extension_version;
293 #endif /* DAT_EXTENSIONS */
294 DAT_COUNT num_transport_attr;
295 DAT_NAMED_ATTR *transport_attr;
296 DAT_COUNT num_vendor_attr;
297 DAT_NAMED_ATTR *vendor_attr;
298 };
299
300 #define DAT_IA_FIELD_IA_RESERVED_LMR_SUPPORTED UINT64_C(0x100000000)
301 #ifdef DAT_EXTENSIONS
302 #define DAT_IA_FIELD_IA_EXTENSION UINT64_C(0x200000000)
303 #define DAT_IA_FIELD_IA_EXTENSION_VERSION UINT64_C(0x400000000)
304 #endif /* DAT_EXTENSIONS */
305
306 #define DAT_IA_FIELD_IA_NUM_TRANSPORT_ATTR UINT64_C(0x800000000)
307 #define DAT_IA_FIELD_IA_TRANSPORT_ATTR UINT64_C(0x1000000000)
308 #define DAT_IA_FIELD_IA_NUM_VENDOR_ATTR UINT64_C(0x2000000000)
309 #define DAT_IA_FIELD_IA_VENDOR_ATTR UINT64_C(0x4000000000)
310 #define DAT_IA_FIELD_ALL UINT64_C(0x7FFFFFFFFF)
311
312 #define DAT_EVENT_NULL ((DAT_EVENT) NULL)
313
314 /* General Provider attributes. kdat specific. */
315
316 #include <dat2/kdat_vendor_specific.h>
317
318 /* Provider should support merging of all event stream types. Provider
319 * attribute specify support for merging different event stream types.
320 * It is a 2D binary matrix where each row and column represents an event
321 * stream type. Each binary entry is 1 if the event streams of its raw
322 * and column can fed the same EVD, and 0 otherwise. The order of event
323 * streams in row and column is the same as in the definition of
324 * DAT_EVD_FLAGS: index 0 - Software Event, 1- Connection Request,
325 * 2 - DTO Completion, 3 - Connection event, 4 - RMR Bind Completion,
326 * 5 - Asynchronous event. By definition each diagonal entry is 1.
327 * Consumer allocates an array for it and passes it IN as a pointer
328 * for the array that Provider fills. Provider must fill the array
329 * that Consumer passes.
330 */
331
332 struct dat_provider_attr
333 {
334 char provider_name[DAT_NAME_MAX_LENGTH];
335 DAT_UINT32 provider_version_major;
336 DAT_UINT32 provider_version_minor;
337 DAT_UINT32 dapl_version_major;
338 DAT_UINT32 dapl_version_minor;
339 DAT_MEM_TYPE lmr_mem_types_supported;
340 DAT_IOV_OWNERSHIP iov_ownership_on_return;
341 DAT_QOS dat_qos_supported;
342 DAT_COMPLETION_FLAGS completion_flags_supported;
343 DAT_BOOLEAN is_thread_safe;
344 DAT_COUNT max_private_data_size;
345 DAT_BOOLEAN supports_multipath;
346 DAT_EP_CREATOR_FOR_PSP ep_creator;
347 DAT_UPCALL_POLICY upcall_policy;
348 DAT_UINT32 optimal_buffer_alignment;
349 const DAT_BOOLEAN evd_stream_merging_supported[6][6];
350 DAT_BOOLEAN srq_supported;
351 DAT_COUNT srq_watermarks_supported;
352 DAT_BOOLEAN srq_ep_pz_difference_supported;
353 DAT_COUNT srq_info_supported;
354 DAT_COUNT ep_recv_info_supported;
355 DAT_BOOLEAN lmr_sync_req;
356 DAT_BOOLEAN dto_async_return_guaranteed;
357 DAT_BOOLEAN rdma_write_for_rdma_read_req;
358 DAT_BOOLEAN rdma_read_lmr_rmr_context_exposure;
359 DAT_RMR_SCOPE rmr_scope_supported;
360 DAT_BOOLEAN is_interrupt_safe;
361 DAT_BOOLEAN fmr_supported;
362 DAT_LMR_SCOPE lmr_for_fmr_scope_supported;
363 DAT_BOOLEAN ha_supported;
364 DAT_HA_LB ha_loadbalancing;
365
366 DAT_COUNT num_provider_specific_attr;
367 DAT_NAMED_ATTR * provider_specific_attr;
368 };
369
370
371 #define DAT_PROVIDER_FIELD_PROVIDER_NAME UINT64_C(0x000000001)
372 #define DAT_PROVIDER_FIELD_PROVIDER_VERSION_MAJOR UINT64_C(0x000000002)
373 #define DAT_PROVIDER_FIELD_PROVIDER_VERSION_MINOR UINT64_C(0x000000004)
374 #define DAT_PROVIDER_FIELD_DAPL_VERSION_MAJOR UINT64_C(0x000000008)
375 #define DAT_PROVIDER_FIELD_DAPL_VERSION_MINOR UINT64_C(0x000000010)
376 #define DAT_PROVIDER_FIELD_LMR_MEM_TYPE_SUPPORTED UINT64_C(0x000000020)
377 #define DAT_PROVIDER_FIELD_IOV_OWNERSHIP UINT64_C(0x000000040)
378 #define DAT_PROVIDER_FIELD_DAT_QOS_SUPPORTED UINT64_C(0x000000080)
379 #define DAT_PROVIDER_FIELD_COMPLETION_FLAGS_SUPPORTED UINT64_C(0x000000100)
380 #define DAT_PROVIDER_FIELD_IS_THREAD_SAFE UINT64_C(0x000000200)
381 #define DAT_PROVIDER_FIELD_MAX_PRIVATE_DATA_SIZE UINT64_C(0x000000400)
382 #define DAT_PROVIDER_FIELD_SUPPORTS_MULTIPATH UINT64_C(0x000000800)
383 #define DAT_PROVIDER_FIELD_EP_CREATOR UINT64_C(0x000001000)
384 #define DAT_PROVIDER_FIELD_UPCALL_POLICY UINT64_C(0x000002000)
385 #define DAT_PROVIDER_FIELD_OPTIMAL_BUFFER_ALIGNMENT UINT64_C(0x000004000)
386 #define DAT_PROVIDER_FIELD_EVD_STREAM_MERGING_SUPPORTED UINT64_C(0x000008000)
387 #define DAT_PROVIDER_FIELD_SRQ_SUPPORTED UINT64_C(0x000010000)
388 #define DAT_PROVIDER_FIELD_SRQ_WATERMARKS_SUPPORTED UINT64_C(0x000020000)
389 #define DAT_PROVIDER_FIELD_SRQ_EP_PZ_DIFFERENCE_SUPPORTED UINT64_C(0x000040000)
390 #define DAT_PROVIDER_FIELD_SRQ_INFO_SUPPORTED UINT64_C(0x000080000)
391 #define DAT_PROVIDER_FIELD_EP_RECV_INFO_SUPPORTED UINT64_C(0x000100000)
392 #define DAT_PROVIDER_FIELD_LMR_SYNC_REQ UINT64_C(0x000200000)
393 #define DAT_PROVIDER_FIELD_DTO_ASYNC_RETURN_GUARANTEED UINT64_C(0x000400000)
394 #define DAT_PROVIDER_FIELD_RDMA_WRITE_FOR_RDMA_READ_REQ UINT64_C(0x000800000)
395 #define DAT_PROVIDER_FIELD_RDMA_READ_LMR_RMR_CONTEXT_EXPOSURE UINT64_C(0x001000000)
396 #define DAT_PROVIDER_FIELD_RMR_SCOPE_SUPPORTED UINT64_C(0x002000000)
397 #define DAT_PROVIDER_FIELD_IS_INTERRUPT_SAFE UINT64_C(0x004000000)
398 #define DAT_PROVIDER_FIELD_FMR_SUPPORTED UINT64_C(0x008000000)
399 #define DAT_PROVIDER_FIELD_LMR_FOR_FMR_SCOPE UINT64_C(0x010000000)
400 #define DAT_PROVIDER_FIELD_HA_SUPPORTED UINT64_C(0x020000000)
401 #define DAT_PROVIDER_FIELD_HA_LB UINT64_C(0x040000000)
402 #define DAT_PROVIDER_FIELD_NUM_PROVIDER_SPECIFIC_ATTR UINT64_C(0x080000000)
403 #define DAT_PROVIDER_FIELD_PROVIDER_SPECIFIC_ATTR UINT64_C(0x100000000)
404
405 #define DAT_PROVIDER_FIELD_ALL UINT64_C(0x1FFFFFFFF)
406 #define DAT_PROVIDER_FIELD_NONE UINT64_C(0x0)
407
408 /**********************************************************************/
409
410 /*
411 * Kernel DAT function call definitions,
412 */
413
414 extern DAT_RETURN dat_lmr_kcreate (
415 IN DAT_IA_HANDLE, /* ia_handle */
416 IN DAT_MEM_TYPE, /* mem_type */
417 IN DAT_REGION_DESCRIPTION, /* region_description */
418 IN DAT_VLEN, /* length */
419 IN DAT_PZ_HANDLE, /* pz_handle */
420 IN DAT_MEM_PRIV_FLAGS, /* privileges */
421 IN DAT_VA_TYPE, /* va_type */
422 IN DAT_MEM_OPTIMIZE_FLAGS, /* mem_optimization */
423 OUT DAT_LMR_HANDLE *, /* lmr_handle */
424 OUT DAT_LMR_CONTEXT *, /* lmr_context */
425 OUT DAT_RMR_CONTEXT *, /* rmr_context */
426 OUT DAT_VLEN *, /* registered_length */
427 OUT DAT_VADDR * ); /* registered_address */
428
429 extern DAT_RETURN dat_ia_memtype_hint (
430 IN DAT_IA_HANDLE, /* ia_handle */
431 IN DAT_MEM_TYPE, /* mem_type */
432 IN DAT_VLEN, /* length */
433 IN DAT_MEM_OPTIMIZE_FLAGS, /* mem_optimization */
434 OUT DAT_VLEN *, /* preferred_length */
435 OUT DAT_VADDR * ); /* preferred_alignment */
436
437 extern DAT_RETURN dat_lmr_query (
438 IN DAT_LMR_HANDLE, /* lmr_handle */
439 IN DAT_LMR_PARAM_MASK, /* lmr_param_mask */
440 OUT DAT_LMR_PARAM *); /* lmr_param */
441
442 extern DAT_RETURN dat_lmr_allocate (
443 IN DAT_IA_HANDLE, /* ia_handle */
444 IN DAT_PZ_HANDLE, /* pz_handle */
445 IN DAT_COUNT, /* max # of physical pages */
446 IN DAT_LMR_SCOPE, /* scope of lmr */
447 OUT DAT_LMR_HANDLE * ); /*lmr handle */
448
449 extern DAT_RETURN dat_lmr_fmr (
450 IN DAT_LMR_HANDLE, /* lmr_handle */
451 IN DAT_MEM_TYPE, /* mem_type */
452 IN DAT_REGION_DESCRIPTION, /* region_description */
453 IN DAT_VLEN, /* number of pages */
454 IN DAT_MEM_PRIV_FLAGS, /* mem_privileges */
455 IN DAT_VA_TYPE, /* va_type */
456 IN DAT_EP_HANDLE, /* ep_handle */
457 IN DAT_LMR_COOKIE, /* user_cookie */
458 IN DAT_COMPLETION_FLAGS, /* completion_flags */
459 OUT DAT_LMR_CONTEXT, /* lmr_context */
460 OUT DAT_RMR_CONTEXT ); /* rmr_context */
461
462 extern DAT_RETURN dat_lmr_invalidate (
463 IN DAT_LMR_HANDLE, /* lmr_handle */
464 IN DAT_EP_HANDLE, /* ep_handle */
465 IN DAT_LMR_COOKIE, /* user_cookie */
466 IN DAT_COMPLETION_FLAGS ); /* completion_flags */
467
468 extern DAT_RETURN dat_ia_reserved_lmr (
469 IN DAT_IA_HANDLE, /* ia_handle */
470 OUT DAT_LMR_HANDLE *, /* reserved_lmr_handle */
471 OUT DAT_LMR_CONTEXT * ); /* reserved_lmr_context */
472
473 extern DAT_RETURN dat_evd_kcreate (
474 IN DAT_IA_HANDLE, /* ia_handle */
475 IN DAT_COUNT, /* evd_min_qlen */
476 IN DAT_UPCALL_POLICY, /* upcall_policy */
477 IN const DAT_UPCALL_OBJECT *, /* upcall */
478 IN DAT_EVD_FLAGS, /* evd_flags */
479 OUT DAT_EVD_HANDLE * ); /* evd_handle */
480
481 extern DAT_RETURN dat_evd_modify_upcall (
482 IN DAT_EVD_HANDLE, /* evd_handle */
483 IN DAT_UPCALL_POLICY, /* upcall_policy */
484 IN const DAT_UPCALL_OBJECT* , /* upcall */
485 IN DAT_UPCALL_FLAG ); /* upcall invocation policy */
486
487 #endif /* _KDAT_H_ */