ibdm_impl.h revision 00a3eaf3896a33935e11fd5c5fb5c1714225c067
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * CDDL HEADER START
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner * The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Common Development and Distribution License (the "License").
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * You may not use this file except in compliance with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Use is subject to license terms.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * This file contains definitions of the data structures, macros etc
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * related to the IBDM module.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinextern "C" {
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/* values for "cb_req_type" */
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chintypedef struct ibdm_taskq_args_s {
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin_NOTE(SCHEME_PROTECTS_DATA("unique per call", ibdm_taskq_args_t))
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin_NOTE(SCHEME_PROTECTS_DATA("unique per call", ib_mad_hdr_t))
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin_NOTE(SCHEME_PROTECTS_DATA("unique per call", ibmf_msg_t))
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chintypedef struct ibdm_gid_s {
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Identifiers to distinguish a Cisco FC GW from others.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Used to filter a setclassportinfo request.
typedef struct ibdm_dp_gidinfo_s {
int gl_pending_cmds;
int gl_num_iocs;
int gl_disconnected;
typedef struct ibdm_s {
int ibdm_state;
int ibdm_prev_iou;
} ibdm_t;
#define IBDM_DISABLE_TASKQ_HANLDING 0
typedef struct ibdm_saa_event_arg_s {
void *callback_arg;
#ifdef DEBUG
void ibdm_dump_sweep_fabric_timestamp(int);
#define ibdm_dump_mad_hdr(a)
#define ibdm_dump_ibmf_msg(a, b)
#define ibdm_dump_path_info(a)
#define ibdm_dump_classportinfo(a)
#define ibdm_dump_iounitinfo(a)
#define ibdm_dump_ioc_profile(a)
#define ibdm_dump_service_entries(a)
#define ibdm_dump_sweep_fabric_timestamp(a)
#ifdef __cplusplus