Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
ocrdma.h File Reference
#include <linux/mutex.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/pci.h>
#include <rdma/ib_verbs.h>
#include <rdma/ib_user_verbs.h>
#include <be_roce.h>
#include "ocrdma_sli.h"

Go to the source code of this file.

Data Structures

struct  ocrdma_dev_attr
 
struct  ocrdma_pbl
 
struct  ocrdma_queue_info
 
struct  ocrdma_eq
 
struct  ocrdma_mq
 
struct  mqe_ctx
 
struct  ocrdma_dev
 
struct  ocrdma_cq
 
struct  ocrdma_pd
 
struct  ocrdma_ah
 
struct  ocrdma_qp_hwq_info
 
struct  ocrdma_srq
 
struct  ocrdma_qp
 
struct  ocrdma_hw_mr
 
struct  ocrdma_mr
 
struct  ocrdma_ucontext
 
struct  ocrdma_mm
 

Macros

#define OCRDMA_ROCE_DEV_VERSION   "1.0.0"
 
#define OCRDMA_NODE_DESC   "Emulex OneConnect RoCE HCA"
 
#define ocrdma_err(format, arg...)   printk(KERN_ERR format, ##arg)
 
#define OCRDMA_MAX_AH   512
 
#define OCRDMA_UVERBS(CMD_NAME)   (1ull << IB_USER_VERBS_CMD_##CMD_NAME)
 
#define OCRDMA_GET_NUM_POSTED_SHIFT_VAL(qp)
 

Macro Definition Documentation

#define ocrdma_err (   format,
  arg... 
)    printk(KERN_ERR format, ##arg)

Definition at line 45 of file ocrdma.h.

#define OCRDMA_GET_NUM_POSTED_SHIFT_VAL (   qp)
Value:
(((qp->dev->nic_info.dev_family == OCRDMA_GEN2_FAMILY) && \
(qp->id < 64)) ? 24 : 16)

Definition at line 299 of file ocrdma.h.

#define OCRDMA_MAX_AH   512

Definition at line 47 of file ocrdma.h.

#define OCRDMA_NODE_DESC   "Emulex OneConnect RoCE HCA"

Definition at line 43 of file ocrdma.h.

#define OCRDMA_ROCE_DEV_VERSION   "1.0.0"

Definition at line 42 of file ocrdma.h.

#define OCRDMA_UVERBS (   CMD_NAME)    (1ull << IB_USER_VERBS_CMD_##CMD_NAME)

Definition at line 49 of file ocrdma.h.