Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
cm.c File Reference
#include <linux/module.h>
#include <linux/list.h>
#include <linux/workqueue.h>
#include <linux/skbuff.h>
#include <linux/timer.h>
#include <linux/notifier.h>
#include <linux/inetdevice.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <net/neighbour.h>
#include <net/netevent.h>
#include <net/route.h>
#include "iw_cxgb4.h"

Go to the source code of this file.

Functions

 module_param (dack_mode, int, 0644)
 
 MODULE_PARM_DESC (dack_mode,"Delayed ack mode (default=1)")
 
 module_param (c4iw_max_read_depth, int, 0644)
 
 MODULE_PARM_DESC (c4iw_max_read_depth,"Per-connection max ORD/IRD (default=8)")
 
 module_param (enable_tcp_timestamps, int, 0644)
 
 MODULE_PARM_DESC (enable_tcp_timestamps,"Enable tcp timestamps (default=0)")
 
 module_param (enable_tcp_sack, int, 0644)
 
 MODULE_PARM_DESC (enable_tcp_sack,"Enable tcp SACK (default=0)")
 
 module_param (enable_tcp_window_scaling, int, 0644)
 
 MODULE_PARM_DESC (enable_tcp_window_scaling,"Enable tcp window scaling (default=1)")
 
 module_param (c4iw_debug, int, 0644)
 
 MODULE_PARM_DESC (c4iw_debug,"Enable debug logging (default=0)")
 
 module_param (peer2peer, int, 0644)
 
 MODULE_PARM_DESC (peer2peer,"Support peer2peer ULPs (default=0)")
 
 module_param (p2p_type, int, 0644)
 
 MODULE_PARM_DESC (p2p_type,"RDMAP opcode to use for the RTR message: ""1=RDMA_READ 0=RDMA_WRITE (default 1)")
 
 module_param (ep_timeout_secs, int, 0644)
 
 MODULE_PARM_DESC (ep_timeout_secs,"CM Endpoint operation timeout ""in seconds (default=60)")
 
 module_param (mpa_rev, int, 0644)
 
 MODULE_PARM_DESC (mpa_rev,"MPA Revision, 0 supports amso1100, ""1 is RFC0544 spec compliant, 2 is IETF MPA Peer Connect Draft"" compliant (default=1)")
 
 module_param (markers_enabled, int, 0644)
 
 MODULE_PARM_DESC (markers_enabled,"Enable MPA MARKERS (default(0)=disabled)")
 
 module_param (crc_enabled, int, 0644)
 
 MODULE_PARM_DESC (crc_enabled,"Enable MPA CRC (default(1)=enabled)")
 
 module_param (rcv_win, int, 0644)
 
 MODULE_PARM_DESC (rcv_win,"TCP receive window in bytes (default=256KB)")
 
 module_param (snd_win, int, 0644)
 
 MODULE_PARM_DESC (snd_win,"TCP send window in bytes (default=128KB)")
 
int c4iw_ofld_send (struct c4iw_rdev *rdev, struct sk_buff *skb)
 
void _c4iw_free_ep (struct kref *kref)
 
int c4iw_reject_cr (struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len)
 
int c4iw_accept_cr (struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param)
 
int c4iw_connect (struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param)
 
int c4iw_create_listen (struct iw_cm_id *cm_id, int backlog)
 
int c4iw_destroy_listen (struct iw_cm_id *cm_id)
 
int c4iw_ep_disconnect (struct c4iw_ep *ep, int abrupt, gfp_t gfp)
 
int __init c4iw_cm_init (void)
 
void __exit c4iw_cm_term (void)
 

Variables

int c4iw_max_read_depth = 8
 
int c4iw_debug
 
c4iw_handler_func c4iw_handlers [NUM_CPL_CMDS]
 

Function Documentation

void _c4iw_free_ep ( struct kref kref)

Definition at line 259 of file cm.c.

int c4iw_accept_cr ( struct iw_cm_id cm_id,
struct iw_cm_conn_param conn_param 
)

Definition at line 2155 of file cm.c.

int __init c4iw_cm_init ( void  )

Definition at line 2730 of file cm.c.

void __exit c4iw_cm_term ( void  )

Definition at line 2742 of file cm.c.

int c4iw_connect ( struct iw_cm_id cm_id,
struct iw_cm_conn_param conn_param 
)

Definition at line 2250 of file cm.c.

int c4iw_create_listen ( struct iw_cm_id cm_id,
int  backlog 
)

Definition at line 2349 of file cm.c.

int c4iw_destroy_listen ( struct iw_cm_id cm_id)

Definition at line 2407 of file cm.c.

int c4iw_ep_disconnect ( struct c4iw_ep ep,
int  abrupt,
gfp_t  gfp 
)

Definition at line 2429 of file cm.c.

int c4iw_ofld_send ( struct c4iw_rdev rdev,
struct sk_buff skb 
)

Definition at line 179 of file cm.c.

int c4iw_reject_cr ( struct iw_cm_id cm_id,
const void pdata,
u8  pdata_len 
)

Definition at line 2134 of file cm.c.

module_param ( dack_mode  ,
int  ,
0644   
)
module_param ( c4iw_max_read_depth  ,
int  ,
0644   
)
module_param ( enable_tcp_timestamps  ,
int  ,
0644   
)
module_param ( enable_tcp_sack  ,
int  ,
0644   
)
module_param ( enable_tcp_window_scaling  ,
int  ,
0644   
)
module_param ( c4iw_debug  ,
int  ,
0644   
)
module_param ( peer2peer  ,
int  ,
0644   
)
module_param ( p2p_type  ,
int  ,
0644   
)
module_param ( ep_timeout_secs  ,
int  ,
0644   
)
module_param ( mpa_rev  ,
int  ,
0644   
)
module_param ( markers_enabled  ,
int  ,
0644   
)
module_param ( crc_enabled  ,
int  ,
0644   
)
module_param ( rcv_win  ,
int  ,
0644   
)
module_param ( snd_win  ,
int  ,
0644   
)
MODULE_PARM_DESC ( dack_mode  ,
"Delayed ack mode (default=1)"   
)
MODULE_PARM_DESC ( c4iw_max_read_depth  ,
"Per-connection max ORD/IRD (default=8)"   
)
MODULE_PARM_DESC ( enable_tcp_timestamps  ,
"Enable tcp timestamps (default=0)"   
)
MODULE_PARM_DESC ( enable_tcp_sack  ,
"Enable tcp SACK (default=0)"   
)
MODULE_PARM_DESC ( enable_tcp_window_scaling  ,
"Enable tcp window scaling (default=1)"   
)
MODULE_PARM_DESC ( c4iw_debug  ,
"Enable debug logging (default=0)"   
)
MODULE_PARM_DESC ( peer2peer  ,
"Support peer2peer ULPs (default=0)"   
)
MODULE_PARM_DESC ( p2p_type  )
MODULE_PARM_DESC ( ep_timeout_secs  ,
"CM Endpoint operation timeout ""in seconds (default=60)"   
)
MODULE_PARM_DESC ( mpa_rev  ,
"MPA  Revision,
0 supports  amso1100,
""1 is RFC0544 spec  compliant,
2 is IETF MPA Peer Connect Draft""compliant(default=1)"   
)
MODULE_PARM_DESC ( markers_enabled  ,
"Enable MPA MARKERS (default(0)=disabled)"   
)
MODULE_PARM_DESC ( crc_enabled  ,
"Enable MPA CRC (default(1)=enabled)"   
)
MODULE_PARM_DESC ( rcv_win  ,
"TCP receive window in bytes (default=256KB)"   
)
MODULE_PARM_DESC ( snd_win  ,
"TCP send window in bytes (default=128KB)"   
)

Variable Documentation

int c4iw_debug

Definition at line 85 of file cm.c.

int c4iw_max_read_depth = 8

Definition at line 68 of file cm.c.