Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mem.c File Reference
#include <rdma/ib_umem.h>
#include <linux/atomic.h>
#include "iw_cxgb4.h"

Go to the source code of this file.

Macros

#define T4_ULPTX_MIN_IO   32
 
#define C4IW_MAX_INLINE_SIZE   96
 

Functions

int c4iw_reregister_phys_mem (struct ib_mr *mr, int mr_rereg_mask, struct ib_pd *pd, struct ib_phys_buf *buffer_list, int num_phys_buf, int acc, u64 *iova_start)
 
struct ib_mrc4iw_register_phys_mem (struct ib_pd *pd, struct ib_phys_buf *buffer_list, int num_phys_buf, int acc, u64 *iova_start)
 
struct ib_mrc4iw_get_dma_mr (struct ib_pd *pd, int acc)
 
struct ib_mrc4iw_reg_user_mr (struct ib_pd *pd, u64 start, u64 length, u64 virt, int acc, struct ib_udata *udata)
 
struct ib_mwc4iw_alloc_mw (struct ib_pd *pd)
 
int c4iw_dealloc_mw (struct ib_mw *mw)
 
struct ib_mrc4iw_alloc_fast_reg_mr (struct ib_pd *pd, int pbl_depth)
 
struct ib_fast_reg_page_listc4iw_alloc_fastreg_pbl (struct ib_device *device, int page_list_len)
 
void c4iw_free_fastreg_pbl (struct ib_fast_reg_page_list *ibpl)
 
int c4iw_dereg_mr (struct ib_mr *ib_mr)
 

Macro Definition Documentation

#define C4IW_MAX_INLINE_SIZE   96

Definition at line 39 of file mem.c.

#define T4_ULPTX_MIN_IO   32

Definition at line 38 of file mem.c.

Function Documentation

struct ib_mr* c4iw_alloc_fast_reg_mr ( struct ib_pd pd,
int  pbl_depth 
)
read

Definition at line 703 of file mem.c.

struct ib_fast_reg_page_list* c4iw_alloc_fastreg_pbl ( struct ib_device device,
int  page_list_len 
)
read

Definition at line 754 of file mem.c.

struct ib_mw* c4iw_alloc_mw ( struct ib_pd pd)
read

Definition at line 653 of file mem.c.

int c4iw_dealloc_mw ( struct ib_mw mw)

Definition at line 687 of file mem.c.

int c4iw_dereg_mr ( struct ib_mr ib_mr)

Definition at line 785 of file mem.c.

void c4iw_free_fastreg_pbl ( struct ib_fast_reg_page_list ibpl)

Definition at line 777 of file mem.c.

struct ib_mr* c4iw_get_dma_mr ( struct ib_pd pd,
int  acc 
)
read

Definition at line 505 of file mem.c.

struct ib_mr* c4iw_reg_user_mr ( struct ib_pd pd,
u64  start,
u64  length,
u64  virt,
int  acc,
struct ib_udata udata 
)
read

Definition at line 549 of file mem.c.

struct ib_mr* c4iw_register_phys_mem ( struct ib_pd pd,
struct ib_phys_buf buffer_list,
int  num_phys_buf,
int  acc,
u64 iova_start 
)
read

Definition at line 427 of file mem.c.

int c4iw_reregister_phys_mem ( struct ib_mr mr,
int  mr_rereg_mask,
struct ib_pd pd,
struct ib_phys_buf buffer_list,
int  num_phys_buf,
int  acc,
u64 iova_start 
)

Definition at line 362 of file mem.c.