Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
trans_rdma.c File Reference
#include <linux/in.h>
#include <linux/module.h>
#include <linux/net.h>
#include <linux/ipv6.h>
#include <linux/kthread.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/un.h>
#include <linux/uaccess.h>
#include <linux/inet.h>
#include <linux/idr.h>
#include <linux/file.h>
#include <linux/parser.h>
#include <linux/semaphore.h>
#include <linux/slab.h>
#include <net/9p/9p.h>
#include <net/9p/client.h>
#include <net/9p/transport.h>
#include <rdma/ib_verbs.h>
#include <rdma/rdma_cm.h>

Go to the source code of this file.

Data Structures

struct  p9_trans_rdma
 
struct  p9_rdma_context
 
struct  p9_rdma_opts
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define P9_PORT   5640
 
#define P9_RDMA_SQ_DEPTH   32
 
#define P9_RDMA_RQ_DEPTH   32
 
#define P9_RDMA_SEND_SGE   4
 
#define P9_RDMA_RECV_SGE   4
 
#define P9_RDMA_IRD   0
 
#define P9_RDMA_ORD   0
 
#define P9_RDMA_TIMEOUT   30000 /* 30 seconds */
 
#define P9_RDMA_MAXSIZE
 

Enumerations

enum  {
  Opt_port, Opt_rq_depth, Opt_sq_depth, Opt_timeout,
  Opt_err
}
 

Functions

 module_init (p9_trans_rdma_init)
 
 module_exit (p9_trans_rdma_exit)
 
 MODULE_AUTHOR ("Tom Tucker <[email protected]>")
 
 MODULE_DESCRIPTION ("RDMA Transport for 9P")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 

Macro Definition Documentation

#define P9_PORT   5640

Definition at line 52 of file trans_rdma.c.

#define P9_RDMA_IRD   0

Definition at line 57 of file trans_rdma.c.

#define P9_RDMA_MAXSIZE
Value:
(4*4096) /* Min SGE is 4, so we can
* safely advertise a maxsize
* of 64k */

Definition at line 60 of file trans_rdma.c.

#define P9_RDMA_ORD   0

Definition at line 58 of file trans_rdma.c.

#define P9_RDMA_RECV_SGE   4

Definition at line 56 of file trans_rdma.c.

#define P9_RDMA_RQ_DEPTH   32

Definition at line 54 of file trans_rdma.c.

#define P9_RDMA_SEND_SGE   4

Definition at line 55 of file trans_rdma.c.

#define P9_RDMA_SQ_DEPTH   32

Definition at line 53 of file trans_rdma.c.

#define P9_RDMA_TIMEOUT   30000 /* 30 seconds */

Definition at line 59 of file trans_rdma.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 29 of file trans_rdma.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
Opt_port 
Opt_rq_depth 
Opt_sq_depth 
Opt_timeout 
Opt_err 

Definition at line 144 of file trans_rdma.c.

Function Documentation

MODULE_AUTHOR ( "Tom Tucker <[email protected]>"  )
MODULE_DESCRIPTION ( "RDMA Transport for 9P"  )
module_exit ( p9_trans_rdma_exit  )
module_init ( p9_trans_rdma_init  )
MODULE_LICENSE ( "Dual BSD/GPL"  )