2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2002-2003, Network Appliance, Inc. All rights reserved. 2N/A * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A * Vendor provides values for their implementation. Most of 2N/A * these values are returned in the DAT_IA_ATTR parameter of 2N/A * DAT_IA_ATTR attributes 2N/A * These values are used in the provider support routine 2N/A * dapls_ib_query_hca (). Many of the values there are HW 2N/A * specific, the the vendor should look to make sure they are 2N/A * appropriate for their implementation. Specifically, 2N/A * vendors are encouraged to update transport and vendor 2N/A * attributes: the reference implementation sets these to NULL. 2N/A * Product name of the adapter. 2N/A * Returned in DAT_IA_ATTR.adapter_name 2N/A * adapter name is limited to DAT_NAME_MAX_LENGTH 2N/A * Returned in DAT_IA_ATTR.vendor_name 2N/A * PROVIDER Attributes 2N/A * The values below are the most common for vendors to change, but 2N/A * there are several other values that may be updated once the 2N/A * implementation becomes mature. 2N/A * Returned in DAT_PROVIDER_ATTR.provider_version_major and 2N/A * DAT_PROVIDER_ATTR.provider_version_minor 2N/A * Provider support for memory types. The reference implementation 2N/A * always supports DAT_MEM_TYPE_VIRTUAL and DAT_MEM_TYPE_LMR, so 2N/A * the vendor must indicate if they support DAT_MEM_TYPE_SHARED_VIRTUAL. 2N/A * Set this value to '1' if DAT_MEM_TYPE_SHARED_VIRTUAL is supported. 2N/A * Returned in DAT_PROVIDER_ATTR.lmr_mem_types_supported 2N/A * DAT is designed to support multiple DAPL instances simultaneously, 2N/A * with different dapl libraries originating from different providers. 2N/A * There is always the possibility of name conflicts, so a dat name 2N/A * prefix is provided to make a vendor's adapter name unique. This is 2N/A * especially true of the IBM Access API, which returns adapter 2N/A * names that are simply ordinal numbers (e.g. 0, 1, 2). If 2N/A * a vendor doesn't need or want a prefix, it should be left 2N/A * as a NULL (use ""). 2N/A * Values that might be used: 2N/A * #define VN_PREFIX "jni" (JNI: OS Acces API) 2N/A * #define VN_PREFIX "ibm" (IBM: OS Acces API) 2N/A * #define VN_PREFIX "" (Mellanox: VAPI) 2N/A * #define VN_PREFIX "" (Intel: IB Common API) 2N/A#
endif /* _DAPL_VENDOR_H_ */