Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
ib_fmr_pool.h File Reference
#include <rdma/ib_verbs.h>

Go to the source code of this file.

Data Structures

struct  ib_fmr_pool_param
 
struct  ib_pool_fmr
 

Functions

struct ib_fmr_poolib_create_fmr_pool (struct ib_pd *pd, struct ib_fmr_pool_param *params)
 
void ib_destroy_fmr_pool (struct ib_fmr_pool *pool)
 
int ib_flush_fmr_pool (struct ib_fmr_pool *pool)
 
struct ib_pool_fmrib_fmr_pool_map_phys (struct ib_fmr_pool *pool_handle, u64 *page_list, int list_len, u64 io_virtual_address)
 
int ib_fmr_pool_unmap (struct ib_pool_fmr *fmr)
 

Function Documentation

struct ib_fmr_pool* ib_create_fmr_pool ( struct ib_pd pd,
struct ib_fmr_pool_param params 
)
read

ib_create_fmr_pool - Create an FMR pool :Protection domain for FMRs :FMR pool parameters

Create a pool of FMRs. Return value is pointer to new pool or error code if creation failed.

Definition at line 211 of file fmr_pool.c.

void ib_destroy_fmr_pool ( struct ib_fmr_pool pool)

ib_destroy_fmr_pool - Free FMR pool :FMR pool to free

Destroy an FMR pool and free all associated resources.

Definition at line 359 of file fmr_pool.c.

int ib_flush_fmr_pool ( struct ib_fmr_pool pool)

ib_flush_fmr_pool - Invalidate all unmapped FMRs :FMR pool to flush

Ensure that all unmapped FMRs are fully invalidated.

Definition at line 397 of file fmr_pool.c.

struct ib_pool_fmr* ib_fmr_pool_map_phys ( struct ib_fmr_pool pool_handle,
u64 page_list,
int  list_len,
u64  io_virtual_address 
)
read

ib_fmr_pool_map_phys - :FMR pool to allocate FMR from :List of pages to map :Number of pages in :I/O virtual address for new FMR

Map an FMR from an FMR pool.

Definition at line 435 of file fmr_pool.c.

int ib_fmr_pool_unmap ( struct ib_pool_fmr fmr)

ib_fmr_pool_unmap - Unmap FMR :FMR to unmap

Unmap an FMR. The FMR mapping may remain valid until the FMR is reused (or until ib_flush_fmr_pool() is called).

Definition at line 513 of file fmr_pool.c.