Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
nes.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/if_vlan.h>
#include <linux/crc32.h>
#include <linux/in.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/if_arp.h>
#include <linux/highmem.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/byteorder.h>
#include <rdma/ib_smi.h>
#include <rdma/ib_verbs.h>
#include <rdma/ib_pack.h>
#include <rdma/iw_cm.h>
#include "nes.h"
#include <net/netevent.h>
#include <net/neighbour.h>
#include <linux/route.h>
#include <net/ip_fib.h>

Go to the source code of this file.

Functions

 MODULE_AUTHOR ("NetEffect")
 
 MODULE_DESCRIPTION ("NetEffect RNIC Low-level iWARP Driver")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
 MODULE_VERSION (DRV_VERSION)
 
 module_param (mpa_version, int, 0644)
 
 MODULE_PARM_DESC (mpa_version,"MPA version to be used int MPA Req/Resp (0 or 1)")
 
 module_param (disable_mpa_crc, int, 0644)
 
 MODULE_PARM_DESC (disable_mpa_crc,"Disable checking of MPA CRC")
 
 module_param (nes_drv_opt, int, 0644)
 
 MODULE_PARM_DESC (nes_drv_opt,"Driver option parameters")
 
 module_param_named (debug_level, nes_debug_level, uint, 0644)
 
 MODULE_PARM_DESC (debug_level,"Enable debug output level")
 
 module_param (wqm_quanta, int, 0644)
 
 MODULE_PARM_DESC (wqm_quanta,"WQM quanta")
 
 module_param (limit_maxrdreqsz, bool, 0644)
 
 MODULE_PARM_DESC (limit_maxrdreqsz,"Limit max read request size to 256 Bytes")
 
 LIST_HEAD (nes_adapter_list)
 
 MODULE_DEVICE_TABLE (pci, nes_pci_table)
 
void nes_add_ref (struct ib_qp *ibqp)
 
void nes_rem_ref (struct ib_qp *ibqp)
 
struct ib_qpnes_get_qp (struct ib_device *device, int qpn)
 
 module_init (nes_init_module)
 
 module_exit (nes_exit_module)
 

Variables

int max_mtu = 9000
 
int interrupt_mod_interval = 0
 
int mpa_version = 1
 
int disable_mpa_crc = 0
 
unsigned int nes_drv_opt = NES_DRV_OPT_DISABLE_INT_MOD | NES_DRV_OPT_ENABLE_PAU
 
unsigned int nes_debug_level = 0
 
unsigned int wqm_quanta = 0x10000
 
atomic_t qps_destroyed
 

Function Documentation

LIST_HEAD ( nes_adapter_list  )
MODULE_AUTHOR ( "NetEffect"  )
MODULE_DESCRIPTION ( "NetEffect RNIC Low-level iWARP Driver"  )
MODULE_DEVICE_TABLE ( pci  ,
nes_pci_table   
)
module_exit ( nes_exit_module  )
module_init ( nes_init_module  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
module_param ( mpa_version  ,
int  ,
0644   
)
module_param ( disable_mpa_crc  ,
int  ,
0644   
)
module_param ( nes_drv_opt  ,
int  ,
0644   
)
module_param ( wqm_quanta  ,
int  ,
0644   
)
module_param ( limit_maxrdreqsz  ,
bool  ,
0644   
)
module_param_named ( debug_level  ,
nes_debug_level  ,
uint  ,
0644   
)
MODULE_PARM_DESC ( mpa_version  ,
"MPA version to be used int MPA Req/Resp (0 or 1)"   
)
MODULE_PARM_DESC ( disable_mpa_crc  ,
"Disable checking of MPA CRC  
)
MODULE_PARM_DESC ( nes_drv_opt  ,
"Driver option parameters  
)
MODULE_PARM_DESC ( debug_level  ,
"Enable debug output level  
)
MODULE_PARM_DESC ( wqm_quanta  ,
"WQM quanta"   
)
MODULE_PARM_DESC ( limit_maxrdreqsz  ,
"Limit max read request size to 256 Bytes"   
)
MODULE_VERSION ( DRV_VERSION  )
void nes_add_ref ( struct ib_qp ibqp)

nes_add_ref

Definition at line 254 of file nes.c.

struct ib_qp* nes_get_qp ( struct ib_device device,
int  qpn 
)
read

nes_get_qp

Definition at line 350 of file nes.c.

void nes_rem_ref ( struct ib_qp ibqp)

nes_rem_ref

Definition at line 297 of file nes.c.

Variable Documentation

int disable_mpa_crc = 0

Definition at line 78 of file nes.c.

int interrupt_mod_interval = 0

Definition at line 69 of file nes.c.

int max_mtu = 9000

Definition at line 68 of file nes.c.

int mpa_version = 1

Definition at line 73 of file nes.c.

unsigned int nes_debug_level = 0

Definition at line 86 of file nes.c.

Definition at line 82 of file nes.c.

atomic_t qps_destroyed

Definition at line 101 of file nes.c.

unsigned int wqm_quanta = 0x10000

Definition at line 90 of file nes.c.