Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
ipoib_main.c File Reference
#include "ipoib.h"
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/vmalloc.h>
#include <linux/if_arp.h>
#include <linux/ip.h>
#include <linux/in.h>
#include <linux/jhash.h>
#include <net/arp.h>

Go to the source code of this file.

Data Structures

struct  ipoib_path_iter
 

Functions

 MODULE_AUTHOR ("Roland Dreier")
 
 MODULE_DESCRIPTION ("IP-over-InfiniBand net driver")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
 module_param_named (send_queue_size, ipoib_sendq_size, int, 0444)
 
 MODULE_PARM_DESC (send_queue_size,"Number of descriptors in send queue")
 
 module_param_named (recv_queue_size, ipoib_recvq_size, int, 0444)
 
 MODULE_PARM_DESC (recv_queue_size,"Number of descriptors in receive queue")
 
int ipoib_open (struct net_device *dev)
 
int ipoib_set_mode (struct net_device *dev, const char *buf)
 
void ipoib_mark_paths_invalid (struct net_device *dev)
 
void ipoib_flush_paths (struct net_device *dev)
 
struct ipoib_neighipoib_neigh_get (struct net_device *dev, u8 *daddr)
 
struct ipoib_neighipoib_neigh_alloc (u8 *daddr, struct net_device *dev)
 
void ipoib_neigh_dtor (struct ipoib_neigh *neigh)
 
void ipoib_neigh_free (struct ipoib_neigh *neigh)
 
void ipoib_del_neighs_by_gid (struct net_device *dev, u8 *gid)
 
int ipoib_dev_init (struct net_device *dev, struct ib_device *ca, int port)
 
void ipoib_dev_cleanup (struct net_device *dev)
 
void ipoib_setup (struct net_device *dev)
 
struct ipoib_dev_privipoib_intf_alloc (const char *name)
 
void ipoib_set_umcast (struct net_device *ndev, int umcast_val)
 
int ipoib_add_umcast_attr (struct net_device *dev)
 
int ipoib_add_pkey_attr (struct net_device *dev)
 
int ipoib_set_dev_features (struct ipoib_dev_priv *priv, struct ib_device *hca)
 
 module_init (ipoib_init_module)
 
 module_exit (ipoib_cleanup_module)
 

Variables

int ipoib_sendq_size __read_mostly = IPOIB_TX_RING_SIZE
 
struct workqueue_structipoib_workqueue
 
struct ib_sa_client ipoib_sa_client
 

Function Documentation

int ipoib_add_pkey_attr ( struct net_device dev)

Definition at line 1489 of file ipoib_main.c.

int ipoib_add_umcast_attr ( struct net_device dev)

Definition at line 1439 of file ipoib_main.c.

void ipoib_del_neighs_by_gid ( struct net_device dev,
u8 gid 
)

Definition at line 1146 of file ipoib_main.c.

void ipoib_dev_cleanup ( struct net_device dev)

Definition at line 1293 of file ipoib_main.c.

int ipoib_dev_init ( struct net_device dev,
struct ib_device ca,
int  port 
)

Definition at line 1252 of file ipoib_main.c.

void ipoib_flush_paths ( struct net_device dev)

Definition at line 396 of file ipoib_main.c.

struct ipoib_dev_priv* ipoib_intf_alloc ( const char name)
read

Definition at line 1386 of file ipoib_main.c.

void ipoib_mark_paths_invalid ( struct net_device dev)

Definition at line 379 of file ipoib_main.c.

struct ipoib_neigh* ipoib_neigh_alloc ( u8 daddr,
struct net_device dev 
)
read

Definition at line 975 of file ipoib_main.c.

void ipoib_neigh_dtor ( struct ipoib_neigh neigh)

Definition at line 1031 of file ipoib_main.c.

void ipoib_neigh_free ( struct ipoib_neigh neigh)

Definition at line 1064 of file ipoib_main.c.

struct ipoib_neigh* ipoib_neigh_get ( struct net_device dev,
u8 daddr 
)
read

Definition at line 854 of file ipoib_main.c.

int ipoib_open ( struct net_device dev)

Definition at line 96 of file ipoib_main.c.

int ipoib_set_dev_features ( struct ipoib_dev_priv priv,
struct ib_device hca 
)

Definition at line 1494 of file ipoib_main.c.

int ipoib_set_mode ( struct net_device dev,
const char buf 
)

Definition at line 218 of file ipoib_main.c.

void ipoib_set_umcast ( struct net_device ndev,
int  umcast_val 
)

Definition at line 1415 of file ipoib_main.c.

void ipoib_setup ( struct net_device dev)

Definition at line 1337 of file ipoib_main.c.

MODULE_AUTHOR ( "Roland Dreier"  )
MODULE_DESCRIPTION ( "IP-over-InfiniBand net driver )
module_exit ( ipoib_cleanup_module  )
module_init ( ipoib_init_module  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
module_param_named ( send_queue_size  ,
ipoib_sendq_size  ,
int  ,
0444   
)
module_param_named ( recv_queue_size  ,
ipoib_recvq_size  ,
int  ,
0444   
)
MODULE_PARM_DESC ( send_queue_size  ,
"Number of descriptors in send queue  
)
MODULE_PARM_DESC ( recv_queue_size  ,
"Number of descriptors in receive queue  
)

Variable Documentation

Definition at line 56 of file ipoib_main.c.

struct ib_sa_client ipoib_sa_client

Definition at line 84 of file ipoib_main.c.

struct workqueue_struct* ipoib_workqueue

Definition at line 82 of file ipoib_main.c.