/*
* CDDL HEADER START
*
* 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
* 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]
*
* CDDL HEADER END
*/
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _DAPL_TAVOR_IMPL_H
#define _DAPL_TAVOR_IMPL_H
#ifdef __cplusplus
extern "C" {
#endif
#include "dapl_hash.h"
#include "dapl_tavor_ibtf.h"
#include "dapl_tavor_wr.h"
/*
* Struct defining the hca handle
*/
struct dapls_ib_hca_handle {
};
/*
* Struct defining the CQ handle
*/
struct dapls_ib_cq_handle {
/* For Work Request ID processing */
/* For Arbel or Hermon */
/* For Hermon cq_resize */
};
struct dapls_ib_qp_handle {
/* in bit shift */
/* Send Work Queue */
int qp_sq_inline;
/* Receive Work Queue */
/* SRQ related */
};
/*
* Structure defining the protection domain handle
*/
struct dapls_ib_pd_handle {
};
/*
* Structure defining the memory region handle
*/
struct dapls_ib_mr_handle {
};
/*
* Structure defining the memory window handle
*/
struct dapls_ib_mw_handle {
};
/*
* Structure defining the service provider handle
*/
struct dapls_ib_cm_srvc_handle {
};
/*
* Structure defining the service provider handle
*/
struct dapls_ib_srq_handle {
/* Work Queue */
/* premature events */
/* For Work Request ID processing */
/* EP Hash Table, key is QP number */
};
/*
* Struct that defines key per HCA instance information for OS
* bypass implementation.
*/
struct dapls_ib_hca_state {
int hca_fd;
int bf_toggle;
};
/* Function that returns a pointer to the specified doorbell entry */
#ifdef __cplusplus
}
#endif
#endif /* _DAPL_TAVOR_IMPL_H */