Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ocrdma_verbs.h File Reference

Go to the source code of this file.

Functions

int ocrdma_post_send (struct ib_qp *, struct ib_send_wr *, struct ib_send_wr **bad_wr)
 
int ocrdma_post_recv (struct ib_qp *, struct ib_recv_wr *, struct ib_recv_wr **bad_wr)
 
int ocrdma_poll_cq (struct ib_cq *, int num_entries, struct ib_wc *wc)
 
int ocrdma_arm_cq (struct ib_cq *, enum ib_cq_notify_flags flags)
 
int ocrdma_query_device (struct ib_device *, struct ib_device_attr *props)
 
int ocrdma_query_port (struct ib_device *, u8 port, struct ib_port_attr *props)
 
int ocrdma_modify_port (struct ib_device *, u8 port, int mask, struct ib_port_modify *props)
 
void ocrdma_get_guid (struct ocrdma_dev *, u8 *guid)
 
int ocrdma_query_gid (struct ib_device *, u8 port, int index, union ib_gid *gid)
 
int ocrdma_query_pkey (struct ib_device *, u8 port, u16 index, u16 *pkey)
 
struct ib_ucontextocrdma_alloc_ucontext (struct ib_device *, struct ib_udata *)
 
int ocrdma_dealloc_ucontext (struct ib_ucontext *)
 
int ocrdma_mmap (struct ib_ucontext *, struct vm_area_struct *vma)
 
struct ib_pdocrdma_alloc_pd (struct ib_device *, struct ib_ucontext *, struct ib_udata *)
 
int ocrdma_dealloc_pd (struct ib_pd *pd)
 
struct ib_cqocrdma_create_cq (struct ib_device *, int entries, int vector, struct ib_ucontext *, struct ib_udata *)
 
int ocrdma_resize_cq (struct ib_cq *, int cqe, struct ib_udata *)
 
int ocrdma_destroy_cq (struct ib_cq *)
 
struct ib_qpocrdma_create_qp (struct ib_pd *, struct ib_qp_init_attr *attrs, struct ib_udata *)
 
int _ocrdma_modify_qp (struct ib_qp *, struct ib_qp_attr *attr, int attr_mask)
 
int ocrdma_modify_qp (struct ib_qp *, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata)
 
int ocrdma_query_qp (struct ib_qp *, struct ib_qp_attr *qp_attr, int qp_attr_mask, struct ib_qp_init_attr *)
 
int ocrdma_destroy_qp (struct ib_qp *)
 
struct ib_srqocrdma_create_srq (struct ib_pd *, struct ib_srq_init_attr *, struct ib_udata *)
 
int ocrdma_modify_srq (struct ib_srq *, struct ib_srq_attr *, enum ib_srq_attr_mask, struct ib_udata *)
 
int ocrdma_query_srq (struct ib_srq *, struct ib_srq_attr *)
 
int ocrdma_destroy_srq (struct ib_srq *)
 
int ocrdma_post_srq_recv (struct ib_srq *, struct ib_recv_wr *, struct ib_recv_wr **bad_recv_wr)
 
int ocrdma_dereg_mr (struct ib_mr *)
 
struct ib_mrocrdma_get_dma_mr (struct ib_pd *, int acc)
 
struct ib_mrocrdma_reg_kernel_mr (struct ib_pd *, struct ib_phys_buf *buffer_list, int num_phys_buf, int acc, u64 *iova_start)
 
struct ib_mrocrdma_reg_user_mr (struct ib_pd *, u64 start, u64 length, u64 virt, int acc, struct ib_udata *)
 

Function Documentation

int _ocrdma_modify_qp ( struct ib_qp ,
struct ib_qp_attr attr,
int  attr_mask 
)

Definition at line 1120 of file ocrdma_verbs.c.

Definition at line 378 of file ocrdma_verbs.c.

struct ib_ucontext* ocrdma_alloc_ucontext ( struct ib_device ,
struct ib_udata  
)
read

Definition at line 218 of file ocrdma_verbs.c.

int ocrdma_arm_cq ( struct ib_cq ,
enum ib_cq_notify_flags  flags 
)

Definition at line 2504 of file ocrdma_verbs.c.

struct ib_cq* ocrdma_create_cq ( struct ib_device ,
int  entries,
int  vector,
struct ib_ucontext ,
struct ib_udata  
)
read

Definition at line 735 of file ocrdma_verbs.c.

struct ib_qp* ocrdma_create_qp ( struct ib_pd ,
struct ib_qp_init_attr attrs,
struct ib_udata  
)
read

Definition at line 1046 of file ocrdma_verbs.c.

Definition at line 1520 of file ocrdma_verbs.c.

Definition at line 415 of file ocrdma_verbs.c.

int ocrdma_dealloc_ucontext ( struct ib_ucontext )

Definition at line 274 of file ocrdma_verbs.c.

int ocrdma_dereg_mr ( struct ib_mr )

Definition at line 681 of file ocrdma_verbs.c.

Definition at line 796 of file ocrdma_verbs.c.

Definition at line 1424 of file ocrdma_verbs.c.

Definition at line 1613 of file ocrdma_verbs.c.

struct ib_mr* ocrdma_get_dma_mr ( struct ib_pd ,
int  acc 
)
read

Definition at line 484 of file ocrdma_verbs.c.

void ocrdma_get_guid ( struct ocrdma_dev ,
u8 guid 
)

Definition at line 66 of file ocrdma_main.c.

int ocrdma_mmap ( struct ib_ucontext ,
struct vm_area_struct vma 
)

Definition at line 292 of file ocrdma_verbs.c.

int ocrdma_modify_port ( struct ib_device ,
u8  port,
int  mask,
struct ib_port_modify props 
)

Definition at line 151 of file ocrdma_verbs.c.

int ocrdma_modify_qp ( struct ib_qp ,
struct ib_qp_attr attr,
int  attr_mask,
struct ib_udata udata 
)

Definition at line 1141 of file ocrdma_verbs.c.

int ocrdma_modify_srq ( struct ib_srq ,
struct ib_srq_attr ,
enum  ib_srq_attr_mask,
struct ib_udata  
)

Definition at line 1587 of file ocrdma_verbs.c.

int ocrdma_poll_cq ( struct ib_cq ,
int  num_entries,
struct ib_wc wc 
)

Definition at line 2465 of file ocrdma_verbs.c.

int ocrdma_post_recv ( struct ib_qp ,
struct ib_recv_wr ,
struct ib_recv_wr **  bad_wr 
)

Definition at line 1885 of file ocrdma_verbs.c.

int ocrdma_post_send ( struct ib_qp ,
struct ib_send_wr ,
struct ib_send_wr **  bad_wr 
)

Definition at line 1765 of file ocrdma_verbs.c.

int ocrdma_post_srq_recv ( struct ib_srq ,
struct ib_recv_wr ,
struct ib_recv_wr **  bad_recv_wr 
)

Definition at line 1957 of file ocrdma_verbs.c.

int ocrdma_query_device ( struct ib_device ,
struct ib_device_attr props 
)

Definition at line 64 of file ocrdma_verbs.c.

int ocrdma_query_gid ( struct ib_device ,
u8  port,
int  index,
union ib_gid gid 
)

Definition at line 49 of file ocrdma_verbs.c.

int ocrdma_query_pkey ( struct ib_device ,
u8  port,
u16  index,
u16 pkey 
)

Definition at line 40 of file ocrdma_verbs.c.

int ocrdma_query_port ( struct ib_device ,
u8  port,
struct ib_port_attr props 
)

Definition at line 108 of file ocrdma_verbs.c.

int ocrdma_query_qp ( struct ib_qp ,
struct ib_qp_attr qp_attr,
int  qp_attr_mask,
struct ib_qp_init_attr  
)

Definition at line 1209 of file ocrdma_verbs.c.

Definition at line 1603 of file ocrdma_verbs.c.

struct ib_mr* ocrdma_reg_kernel_mr ( struct ib_pd ,
struct ib_phys_buf buffer_list,
int  num_phys_buf,
int  acc,
u64 iova_start 
)
read
struct ib_mr* ocrdma_reg_user_mr ( struct ib_pd ,
u64  start,
u64  length,
u64  virt,
int  acc,
struct ib_udata  
)
read

Definition at line 621 of file ocrdma_verbs.c.

int ocrdma_resize_cq ( struct ib_cq ,
int  cqe,
struct ib_udata  
)

Definition at line 782 of file ocrdma_verbs.c.