Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
svc_rdma.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/sysctl.h>
#include <linux/workqueue.h>
#include <linux/sunrpc/clnt.h>
#include <linux/sunrpc/sched.h>
#include <linux/sunrpc/svc_rdma.h>
#include "xprt_rdma.h"

Go to the source code of this file.

Macros

#define RPCDBG_FACILITY   RPCDBG_SVCXPRT
 

Functions

void svc_rdma_cleanup (void)
 
int svc_rdma_init (void)
 
 MODULE_AUTHOR ("Tom Tucker <[email protected]>")
 
 MODULE_DESCRIPTION ("SVC RDMA Transport")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
 module_init (svc_rdma_init)
 
 module_exit (svc_rdma_cleanup)
 

Variables

unsigned int svcrdma_ord = RPCRDMA_ORD
 
unsigned int svcrdma_max_requests = RPCRDMA_MAX_REQUESTS
 
unsigned int svcrdma_max_req_size = RPCRDMA_MAX_REQ_SIZE
 
atomic_t rdma_stat_recv
 
atomic_t rdma_stat_read
 
atomic_t rdma_stat_write
 
atomic_t rdma_stat_sq_starve
 
atomic_t rdma_stat_rq_starve
 
atomic_t rdma_stat_rq_poll
 
atomic_t rdma_stat_rq_prod
 
atomic_t rdma_stat_sq_poll
 
atomic_t rdma_stat_sq_prod
 
struct kmem_cachesvc_rdma_map_cachep
 
struct kmem_cachesvc_rdma_ctxt_cachep
 
struct workqueue_structsvc_rdma_wq
 

Macro Definition Documentation

#define RPCDBG_FACILITY   RPCDBG_SVCXPRT

Definition at line 52 of file svc_rdma.c.

Function Documentation

MODULE_AUTHOR ( "Tom Tucker <[email protected]>"  )
MODULE_DESCRIPTION ( "SVC RDMA Transport"  )
module_exit ( svc_rdma_cleanup  )
module_init ( svc_rdma_init  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
void svc_rdma_cleanup ( void  )

Definition at line 235 of file svc_rdma.c.

int svc_rdma_init ( void  )

Definition at line 248 of file svc_rdma.c.

Variable Documentation

atomic_t rdma_stat_read

Definition at line 66 of file svc_rdma.c.

atomic_t rdma_stat_recv

Definition at line 65 of file svc_rdma.c.

atomic_t rdma_stat_rq_poll

Definition at line 70 of file svc_rdma.c.

atomic_t rdma_stat_rq_prod

Definition at line 71 of file svc_rdma.c.

atomic_t rdma_stat_rq_starve

Definition at line 69 of file svc_rdma.c.

atomic_t rdma_stat_sq_poll

Definition at line 72 of file svc_rdma.c.

atomic_t rdma_stat_sq_prod

Definition at line 73 of file svc_rdma.c.

atomic_t rdma_stat_sq_starve

Definition at line 68 of file svc_rdma.c.

atomic_t rdma_stat_write

Definition at line 67 of file svc_rdma.c.

struct kmem_cache* svc_rdma_ctxt_cachep

Definition at line 77 of file svc_rdma.c.

struct kmem_cache* svc_rdma_map_cachep

Definition at line 76 of file svc_rdma.c.

struct workqueue_struct* svc_rdma_wq

Definition at line 79 of file svc_rdma.c.

unsigned int svcrdma_max_req_size = RPCRDMA_MAX_REQ_SIZE

Definition at line 61 of file svc_rdma.c.

unsigned int svcrdma_max_requests = RPCRDMA_MAX_REQUESTS

Definition at line 58 of file svc_rdma.c.

unsigned int svcrdma_ord = RPCRDMA_ORD

Definition at line 55 of file svc_rdma.c.