Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include "ehca_classes.h"
#include "ehca_tools.h"
#include "ehca_qes.h"
#include "ehca_iverbs.h"
#include "hcp_if.h"
#include "hipz_fns.h"
Go to the source code of this file.
Macros | |
#define | QP_ATTR_QUERY_NOT_SUPPORTED |
Enumerations | |
enum | ehca_qp_state { EHCA_QPS_RESET = 1, EHCA_QPS_INIT = 2, EHCA_QPS_RTR = 3, EHCA_QPS_RTS = 5, EHCA_QPS_SQD = 6, EHCA_QPS_SQE = 8, EHCA_QPS_ERR = 128 } |
enum | ib_qp_statetrans { IB_QPST_ANY2RESET, IB_QPST_ANY2ERR, IB_QPST_RESET2INIT, IB_QPST_INIT2RTR, IB_QPST_INIT2INIT, IB_QPST_RTR2RTS, IB_QPST_RTS2SQD, IB_QPST_RTS2RTS, IB_QPST_SQD2RTS, IB_QPST_SQE2RTS, IB_QPST_SQD2SQD, IB_QPST_MAX } |
enum | ehca_qp_type { QPT_RC = 0, QPT_UC = 1, QPT_UD = 2, QPT_SQP = 3, QPT_MAX } |
Functions | |
void | ehca_add_to_err_list (struct ehca_qp *qp, int on_sq) |
struct ib_qp * | ehca_create_qp (struct ib_pd *pd, struct ib_qp_init_attr *qp_init_attr, struct ib_udata *udata) |
struct ib_srq * | ehca_create_srq (struct ib_pd *pd, struct ib_srq_init_attr *srq_init_attr, struct ib_udata *udata) |
int | ehca_modify_qp (struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) |
void | ehca_recover_sqp (struct ib_qp *sqp) |
int | ehca_query_qp (struct ib_qp *qp, struct ib_qp_attr *qp_attr, int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) |
int | ehca_modify_srq (struct ib_srq *ibsrq, struct ib_srq_attr *attr, enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) |
int | ehca_query_srq (struct ib_srq *srq, struct ib_srq_attr *srq_attr) |
int | ehca_destroy_qp (struct ib_qp *qp) |
int | ehca_destroy_srq (struct ib_srq *srq) |
int | ehca_init_qp_cache (void) |
void | ehca_cleanup_qp_cache (void) |
#define QP_ATTR_QUERY_NOT_SUPPORTED |
enum ehca_qp_state |
enum ehca_qp_type |
enum ib_qp_statetrans |
int ehca_modify_srq | ( | struct ib_srq * | ibsrq, |
struct ib_srq_attr * | attr, | ||
enum ib_srq_attr_mask | attr_mask, | ||
struct ib_udata * | udata | ||
) |
int ehca_query_qp | ( | struct ib_qp * | qp, |
struct ib_qp_attr * | qp_attr, | ||
int | qp_attr_mask, | ||
struct ib_qp_init_attr * | qp_init_attr | ||
) |
int ehca_query_srq | ( | struct ib_srq * | srq, |
struct ib_srq_attr * | srq_attr | ||
) |