Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
svc_rdma_transport.c File Reference
#include <linux/sunrpc/svc_xprt.h>
#include <linux/sunrpc/debug.h>
#include <linux/sunrpc/rpc_rdma.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/workqueue.h>
#include <rdma/ib_verbs.h>
#include <rdma/rdma_cm.h>
#include <linux/sunrpc/svc_rdma.h>
#include <linux/export.h>
#include "xprt_rdma.h"

Go to the source code of this file.

Macros

#define RPCDBG_FACILITY   RPCDBG_SVCXPRT
 

Functions

struct svc_rdma_op_ctxtsvc_rdma_get_context (struct svcxprt_rdma *xprt)
 
void svc_rdma_unmap_dma (struct svc_rdma_op_ctxt *ctxt)
 
void svc_rdma_put_context (struct svc_rdma_op_ctxt *ctxt, int free_pages)
 
struct svc_rdma_req_mapsvc_rdma_get_req_map (void)
 
void svc_rdma_put_req_map (struct svc_rdma_req_map *map)
 
struct pagesvc_rdma_get_page (void)
 
int svc_rdma_post_recv (struct svcxprt_rdma *xprt)
 
struct svc_rdma_fastreg_mrsvc_rdma_get_frmr (struct svcxprt_rdma *rdma)
 
void svc_rdma_put_frmr (struct svcxprt_rdma *rdma, struct svc_rdma_fastreg_mr *frmr)
 
int svc_rdma_fastreg (struct svcxprt_rdma *xprt, struct svc_rdma_fastreg_mr *frmr)
 
int svc_rdma_send (struct svcxprt_rdma *xprt, struct ib_send_wr *wr)
 
void svc_rdma_send_error (struct svcxprt_rdma *xprt, struct rpcrdma_msg *rmsgp, enum rpcrdma_errcode err)
 

Variables

struct svc_xprt_class svc_rdma_class
 

Macro Definition Documentation

#define RPCDBG_FACILITY   RPCDBG_SVCXPRT

Definition at line 56 of file svc_rdma_transport.c.

Function Documentation

int svc_rdma_fastreg ( struct svcxprt_rdma xprt,
struct svc_rdma_fastreg_mr frmr 
)

Definition at line 1221 of file svc_rdma_transport.c.

struct svc_rdma_op_ctxt* svc_rdma_get_context ( struct svcxprt_rdma xprt)
read

Definition at line 94 of file svc_rdma_transport.c.

struct svc_rdma_fastreg_mr* svc_rdma_get_frmr ( struct svcxprt_rdma rdma)
read

Definition at line 771 of file svc_rdma_transport.c.

struct page* svc_rdma_get_page ( void  )
read

Definition at line 474 of file svc_rdma_transport.c.

struct svc_rdma_req_map* svc_rdma_get_req_map ( void  )
read

Definition at line 153 of file svc_rdma_transport.c.

int svc_rdma_post_recv ( struct svcxprt_rdma xprt)

Definition at line 487 of file svc_rdma_transport.c.

void svc_rdma_put_context ( struct svc_rdma_op_ctxt ctxt,
int  free_pages 
)

Definition at line 133 of file svc_rdma_transport.c.

void svc_rdma_put_frmr ( struct svcxprt_rdma rdma,
struct svc_rdma_fastreg_mr frmr 
)

Definition at line 804 of file svc_rdma_transport.c.

void svc_rdma_put_req_map ( struct svc_rdma_req_map map)

Definition at line 167 of file svc_rdma_transport.c.

int svc_rdma_send ( struct svcxprt_rdma xprt,
struct ib_send_wr wr 
)

Definition at line 1245 of file svc_rdma_transport.c.

void svc_rdma_send_error ( struct svcxprt_rdma xprt,
struct rpcrdma_msg rmsgp,
enum rpcrdma_errcode  err 
)

Definition at line 1303 of file svc_rdma_transport.c.

void svc_rdma_unmap_dma ( struct svc_rdma_op_ctxt ctxt)

Definition at line 112 of file svc_rdma_transport.c.

Variable Documentation

struct svc_xprt_class svc_rdma_class
Initial value:
= {
.xcl_name = "rdma",
.xcl_owner = THIS_MODULE,
.xcl_ops = &svc_rdma_ops,
.xcl_max_payload = RPCSVC_MAXPAYLOAD_TCP,
}

Definition at line 87 of file svc_rdma_transport.c.