Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
iw.c File Reference
#include <linux/kernel.h>
#include <linux/in.h>
#include <linux/if.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/if_arp.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "rds.h"
#include "iw.h"

Go to the source code of this file.

Functions

 module_param (fastreg_pool_size, int, 0444)
 
 MODULE_PARM_DESC (fastreg_pool_size," Max number of fastreg MRs per device")
 
 module_param (fastreg_message_size, int, 0444)
 
 MODULE_PARM_DESC (fastreg_message_size," Max size of a RDMA transfer (fastreg MRs)")
 
 DEFINE_SPINLOCK (iw_nodev_conns_lock)
 
 LIST_HEAD (iw_nodev_conns)
 
void rds_iw_exit (void)
 
int rds_iw_init (void)
 
 MODULE_LICENSE ("GPL")
 

Variables

unsigned int fastreg_pool_size = RDS_FASTREG_POOL_SIZE
 
unsigned int fastreg_message_size = RDS_FASTREG_SIZE + 1
 
struct list_head rds_iw_devices
 
struct ib_client rds_iw_client
 
struct rds_transport rds_iw_transport
 

Function Documentation

DEFINE_SPINLOCK ( iw_nodev_conns_lock  )
LIST_HEAD ( iw_nodev_conns  )
MODULE_LICENSE ( "GPL"  )
module_param ( fastreg_pool_size  ,
int  ,
0444   
)
module_param ( fastreg_message_size  ,
int  ,
0444   
)
MODULE_PARM_DESC ( fastreg_pool_size  ,
" Max number of fastreg MRs per device  
)
MODULE_PARM_DESC ( fastreg_message_size  ,
" Max size of a RDMA transfer (fastreg MRs)"   
)
void rds_iw_exit ( void  )

Definition at line 254 of file iw.c.

int rds_iw_init ( void  )

Definition at line 291 of file iw.c.

Variable Documentation

unsigned int fastreg_message_size = RDS_FASTREG_SIZE + 1

Definition at line 47 of file iw.c.

unsigned int fastreg_pool_size = RDS_FASTREG_POOL_SIZE

Definition at line 46 of file iw.c.

struct ib_client rds_iw_client
Initial value:
= {
.name = "rds_iw",
.add = rds_iw_add_one,
.remove = rds_iw_remove_one
}

Definition at line 161 of file iw.c.

struct list_head rds_iw_devices

Definition at line 54 of file iw.c.

struct rds_transport rds_iw_transport
Initial value:
= {
.laddr_check = rds_iw_laddr_check,
.xmit_complete = rds_iw_xmit_complete,
.xmit = rds_iw_xmit,
.xmit_rdma = rds_iw_xmit_rdma,
.recv = rds_iw_recv,
.conn_alloc = rds_iw_conn_alloc,
.conn_free = rds_iw_conn_free,
.conn_connect = rds_iw_conn_connect,
.conn_shutdown = rds_iw_conn_shutdown,
.inc_copy_to_user = rds_iw_inc_copy_to_user,
.inc_free = rds_iw_inc_free,
.cm_initiate_connect = rds_iw_cm_initiate_connect,
.cm_handle_connect = rds_iw_cm_handle_connect,
.cm_connect_complete = rds_iw_cm_connect_complete,
.stats_info_copy = rds_iw_stats_info_copy,
.exit = rds_iw_exit,
.get_mr = rds_iw_get_mr,
.sync_mr = rds_iw_sync_mr,
.free_mr = rds_iw_free_mr,
.flush_mrs = rds_iw_flush_mrs,
.t_owner = THIS_MODULE,
.t_name = "iwarp",
.t_type = RDS_TRANS_IWARP,
.t_prefer_loopback = 1,
}

Definition at line 264 of file iw.c.